src/document/DocumentCommandHandlers.js
function createWithSuggestedName(suggestedName) {
            return ProjectManager.createNewItem(baseDirEntry, suggestedName, false, isFolder)
                .always(function () { fileNewInProgress = false; });
        }
function createWithSuggestedName(suggestedName) {
            return ProjectManager.createNewItem(baseDirEntry, suggestedName, false, isFolder)
                .always(function () { fileNewInProgress = false; });
        }
function createWithSuggestedName ( suggestedName ) { return ProjectManager . createNewItem ( baseDirEntry , suggestedName , false , isFolder ) . always ( function ( ) { fileNewInProgress = false ; } ) ; }
Create the new node. The createNewItem function does all the heavy work of validating file name, creating the new file and selecting.
Create the new node . The createNewItem function does all the heavy work of validating file name creating the new file and selecting .