mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Fixes for comments on push'ed code:
1. MultiRangeInlineEditor.js: simplified conditional, as requested. 2. ScopeManager.js: move function getResolvedPath before its use, to make JSLint happy. 3. QuickEdit/main.js: move functionName null check to calling routine for cleanliness. Things not yet done: 1. QuickEdit/main.js: consolidation of fallback paths. 2. QuickEditHelper: communication between extensions. Short vs. long term solutions.
This commit is contained in:
1 parent
7a86aad095
commit
706d72d395
3 files changed
+25
-32
No files matched your search
@@ -399,6 +399,14 @@ define(function (require, exports, module) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} file a relative path
|
||||
* @return {string} returns the path we resolved when we tried to parse the file, or undefined
|
||||
*/
|
||||
function getResolvedPath(file) {
|
||||
return resolvedFiles[file];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a Promise for the definition from TernJS, for the file & offset passed in.
|
||||
* @return {jQuery.Promise} - a promise that will resolve to definition when
|
||||
@@ -619,14 +627,6 @@ define(function (require, exports, module) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} file a relative path
|
||||
* @return {string} returns the path we resolved when we tried to parse the file, or undefined
|
||||
*/
|
||||
function getResolvedPath(file) {
|
||||
return resolvedFiles[file];
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle a request from the worker for text of a file
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user