mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
The fix is to cutoff the leading slash on a module name. Test is not working due to issues with the ProjectManager and the missing projectRoot
This commit is contained in:
1 parent
b408b51706
commit
b856768671
4 files changed
+62
-4
No files matched your search
+24
@@ -0,0 +1,24 @@
|
||||
/*jslint vars: true, plusplus: true, devel: true, browser: true, nomen: true, indent: 4, maxerr: 50 */
|
||||
/*global define, $ */
|
||||
define(function (require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
function Cup() {
|
||||
this.empty = true;
|
||||
}
|
||||
|
||||
Cup.prototype.fill = function () {
|
||||
this.empty = false;
|
||||
};
|
||||
|
||||
Cup.prototype.emptyIt = function () {
|
||||
};
|
||||
|
||||
Cup.prototype.full = function () {
|
||||
};
|
||||
|
||||
Cup.prototype.empty = function () {
|
||||
};
|
||||
|
||||
exports.Cup = Cup;
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*jslint vars: true, plusplus: true, devel: true, browser: true, nomen: true, indent: 4, maxerr: 50 */
|
||||
/*global define, $ */
|
||||
define(function (require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
var Cup = require('china/Cup').Cup;
|
||||
|
||||
var coffeeCup = new Cup(false);
|
||||
coffeeCup.
|
||||
});
|
||||
Reference in new issue
Block a user