Merge pull request #240 from applelam/master

Some minor typo
This commit is contained in:
Walter Higgins 2015-04-29 07:33:32 +01:00
commit bca637ea48
2 changed files with 2 additions and 2 deletions

View file

@ -4836,7 +4836,7 @@ The following example illustrates how to use http.request to make a request to a
```javascript ```javascript
var jsResponse; var jsResponse;
var http = require('request'); var http = require('http');
http.request('http://scriptcraftjs.org/sample.json',function(responseCode, responseBody){ http.request('http://scriptcraftjs.org/sample.json',function(responseCode, responseBody){
jsResponse = JSON.parse( responseBody ); jsResponse = JSON.parse( responseBody );
}); });

View file

@ -68,7 +68,7 @@ function paramsToString( params ) {
} }
function invokeNow( fn ){ function invokeNow( fn ){
if (__plugin.bukkit){ if (__plugin.bukkit){
server.schedule.runTask( __plugin, fn); server.scheduler.runTask( __plugin, fn);
return; return;
} }
if (__plugin.canary){ if (__plugin.canary){