Skip to content

Commit

Permalink
move lib/term.js to src/term.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Aug 13, 2013
1 parent 3b32292 commit 6e375cc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Makefile.gyp
*.Makefile
*.target.gyp.mk
*.node
example/*.log
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ node_modules/
img/
test/
*.node
example/*.log
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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');
});

/**
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6e375cc

Please sign in to comment.