Skip to content

Commit

Permalink
removed unsafe references to local_settings.js
Browse files Browse the repository at this point in the history
  • Loading branch information
thatcher committed Feb 2, 2010
1 parent b4bfb5d commit 74c27c4
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 13 deletions.
8 changes: 1 addition & 7 deletions README.Refactor.txt
Expand Up @@ -69,13 +69,7 @@
port is also being widely used, and we hope to integrate into the main branch
or as a github plugin.

If your platform isn't supported:

* try to use the same command with a different platform
> ant ...
> make ....
> rake ...
* If your platform isn't supported please volunteer to provide one if you can!




Expand Down
Empty file added src/env/johnson/placeholder.txt
Empty file.
6 changes: 5 additions & 1 deletion test/specs/env/spec.js
Expand Up @@ -37,7 +37,11 @@ _load('dist/platform/core.js');
_load('dist/platform/rhino.js');
_load('dist/console.js');
_load('src/common/__extend__.js');
_load('local_settings.js');
try{
_load('local_settings.js');
}catch(e){
_load('settings.js');
}

module('rhino');

Expand Down
1 change: 0 additions & 1 deletion test/specs/event/spec.js
Expand Up @@ -17,7 +17,6 @@ try{
_load = _start = function(){};
}


QUnit.log = function(result, message){
if(console)console.log('(' + (_count++) + ')[' +
((!!result) ? 'PASS' : 'FAIL') + '] ' + message);
Expand Down
1 change: 0 additions & 1 deletion test/specs/html/spec.js
Expand Up @@ -17,7 +17,6 @@ try{
_load = _start = function(){};
}


QUnit.log = function(result, message){
if(console)console.log('(' + (_count++) + ')[' +
((!!result) ? 'PASS' : 'FAIL') + '] ' + message);
Expand Down
1 change: 0 additions & 1 deletion test/specs/parser/spec.js
Expand Up @@ -17,7 +17,6 @@ try{
_load = _start = function(){};
}


QUnit.log = function(result, message){
if(console)console.log('(' + (_count++) + ')[' +
((!!result) ? 'PASS' : 'FAIL') + '] ' + message);
Expand Down
7 changes: 6 additions & 1 deletion test/specs/window/spec.js
Expand Up @@ -24,7 +24,12 @@ try{
_load('dist/parser.js');
_load('dist/xhr.js');
_load('dist/window.js');
_load('local_settings.js');

try{
_load('local_settings.js');
}catch(e){
_load('settings.js');
}

//mock the window and document in envjs
new Window(__this__, __this__);
Expand Down
6 changes: 5 additions & 1 deletion test/specs/xhr/spec.js
Expand Up @@ -42,7 +42,11 @@ _load('dist/html.js');
_load('dist/timer.js');
_load('dist/parser.js');
_load('dist/xhr.js');
_load('local_settings.js');
try{
_load('local_settings.js');
}catch(e){
_load('settings.js');
}

module('xhr');

Expand Down

0 comments on commit 74c27c4

Please sign in to comment.