Merge pull request #842 from pahen/master
Fixed typo in text.js plugin that caused r.js to fail building
This commit is contained in:
commit
1af02ea4eb
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ define(function (require, exports, module) {
|
|||
exports.load = function (name, req, onLoad, config) {
|
||||
//Using special require.nodeRequire, something added by r.js.
|
||||
if (globalRequire && globalRequire.nodeRequire)
|
||||
onLoad(('fs').readFileSync(req.toUrl(name), 'utf8'));
|
||||
onLoad(fs.readFileSync(req.toUrl(name), 'utf8'));
|
||||
else
|
||||
require("ace/lib/net").get(req.toUrl(name), onLoad);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue