Skip to content

Commit

Permalink
Symlink jsinfer into cloud9 local
Browse files Browse the repository at this point in the history
  • Loading branch information
zefhemel committed May 9, 2012
1 parent 82da6ea commit 1c08bf9
Show file tree
Hide file tree
Showing 9 changed files with 1,037 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ worker:
ln -s `pwd`/plugins-client/ext.language /tmp/c9_worker_build/ext/language
ln -s `pwd`/plugins-client/ext.codecomplete /tmp/c9_worker_build/ext/codecomplete
ln -s `pwd`/plugins-client/ext.jslanguage /tmp/c9_worker_build/ext/jslanguage
ln -s `pwd`/plugins-client/ext.jsinfer /tmp/c9_worker_build/ext/jsinfer
./Makefile.dryice.js worker
cp node_modules/ace/build/src/worker* plugins-client/lib.ace/www/worker

Expand Down
4 changes: 3 additions & 1 deletion Makefile.dryice.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ function worker(project) {
'ext/jslanguage/parse',
'ext/jslanguage/scope_analyzer',
'ext/jslanguage/narcissus_jshint',
'ext/jslanguage/debugger'
'ext/jslanguage/narcissus_jshint',
'ext/jslanguage/debugger',
'ext/jsinfer/complete'
]
})
],
Expand Down
3 changes: 2 additions & 1 deletion configs/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ var config = {
"ext/codetools/codetools",
"ext/colorpicker/colorpicker",
"ext/revisions/revisions",
"ext/language/liveinspect"
"ext/language/liveinspect",
"ext/jsinfer/jsinfer"
//"ext/splitview/splitview"
//"ext/minimap/minimap"
//"ext/acebugs/acebugs"
Expand Down
1 change: 1 addition & 0 deletions plugins-client/ext.jsinfer
3 changes: 3 additions & 0 deletions plugins-client/lib.ace/www/worker/worker-coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ define('ace/lib/regexp', ['require', 'exports', 'module' ], function(require, ex
return !x.lastIndex;
}();

if (compliantLastIndexIncrement && compliantExecNpcg)
return;

//---------------------------------
// Overriden native methods
//---------------------------------
Expand Down
3 changes: 3 additions & 0 deletions plugins-client/lib.ace/www/worker/worker-css.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ define('ace/lib/regexp', ['require', 'exports', 'module' ], function(require, ex
return !x.lastIndex;
}();

if (compliantLastIndexIncrement && compliantExecNpcg)
return;

//---------------------------------
// Overriden native methods
//---------------------------------
Expand Down
3 changes: 3 additions & 0 deletions plugins-client/lib.ace/www/worker/worker-javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ define('ace/lib/regexp', ['require', 'exports', 'module' ], function(require, ex
return !x.lastIndex;
}();

if (compliantLastIndexIncrement && compliantExecNpcg)
return;

//---------------------------------
// Overriden native methods
//---------------------------------
Expand Down
3 changes: 3 additions & 0 deletions plugins-client/lib.ace/www/worker/worker-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ define('ace/lib/regexp', ['require', 'exports', 'module' ], function(require, ex
return !x.lastIndex;
}();

if (compliantLastIndexIncrement && compliantExecNpcg)
return;

//---------------------------------
// Overriden native methods
//---------------------------------
Expand Down
Loading

0 comments on commit 1c08bf9

Please sign in to comment.