move lib/term.js to src/term.js.

This commit is contained in:
Christopher Jeffrey
2013-08-13 09:51:58 -05:00
parent 3b322929c6
commit 6e375ccc33
6 changed files with 6 additions and 4 deletions
+1
View File
@@ -7,3 +7,4 @@ Makefile.gyp
*.Makefile
*.target.gyp.mk
*.node
example/*.log
+1
View File
@@ -9,3 +9,4 @@ node_modules/
img/
test/
*.node
example/*.log
+1 -1
View File
@@ -1,5 +1,5 @@
all:
@cp lib/term.js term.js
@cp src/term.js term.js
@uglifyjs -o term.min.js term.js
clean:
+2 -2
View File
@@ -31,7 +31,7 @@ term.middleware = function(options) {
};
};
term.path = __dirname + '/term.js';
term.path = __dirname + '/../src/term.js';
term.__defineGetter__('script', function() {
if (term._script) return term._script;
@@ -41,7 +41,7 @@ term.__defineGetter__('script', function() {
term.__defineGetter__('Terminal', function() {
if (term._Terminal) return term._Terminal;
return term._Terminal = require('./term');
return term._Terminal = require('../src/term');
});
/**
View File
+1 -1
View File
@@ -21,7 +21,7 @@ window.document.body = element;
element.ownerDocument = window.document;
window.document.defaultView = window;
var Terminal = require('../lib/term');
var Terminal = require('../src/term');
Terminal.cursorBlink = false;
var data = require('./data').data;