This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/wsdl.js b/lib/wsdl.js | |
index 63da2d9..a827ba9 100644 | |
--- a/lib/wsdl.js | |
+++ b/lib/wsdl.js | |
@@ -366,7 +366,8 @@ DefinitionsElement.prototype.addChild = function(child) { | |
self.portTypes[child.$name] = child; | |
} | |
else if (child instanceof BindingElement) { | |
- if (child.transport === 'http://schemas.xmlsoap.org/soap/http') | |
+ if (child.transport === 'http://schemas.xmlsoap.org/soap/http' || |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var net = require('net'), | |
events = require('events'), | |
util = require('util'), | |
port = 8124, | |
localhost = "127.0.0.1", | |
Server, Client; | |
Client = function(id, socket) { | |
Client.super_.call(this); | |
this.id = id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var C = function() {}; | |
C.prototype.myFunctionName = function() { | |
var method, name; | |
for( method in this) { | |
if(!this.hasOwnProperty(method)){ | |
if(this[method].toString() === arguments.callee.toString()){ | |
name = method; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git submodule update --init --recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = { | |
loadDir: { | |
base: __dirname + '/', | |
dirs: [ 'modules/' ] | |
} | |
}; | |
require('yui3').YUI( config ).use('loader', 'dump', function(Y) { | |
Y.log("app starts", 'info'); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user@machine nodejs-yui3/examples/express $ node express.js | |
info: (get): URL: /usr/lib64/node/.npm/yui3-core/3.3.0/package/build/loader/loader-debug.js | |
info: (get): Loaded: /usr/lib64/node/.npm/yui3-core/3.3.0/package/build/loader/loader-debug.js | |
info: (loader): attempting to load oop, /usr/lib64/node/.npm/yui3-core/3.3.0/package/build/ | |
info: (get): URL: /usr/lib64/node/.npm/yui3-core/3.3.0/package/build/oop/oop-min.js | |
info: (get): Loaded: /usr/lib64/node/.npm/yui3-core/3.3.0/package/build/oop/oop-min.js | |
info: (loader): attempting to load parallel, /usr/lib64/node/.npm/yui3-core/3.3.0/package/build/ | |
info: (get): URL: /usr/lib64/node/.npm/yui3/0.5.33/package/lib/yui3-parallel.js | |
info: (get): Loaded: /usr/lib64/node/.npm/yui3/0.5.33/package/lib/yui3-parallel.js | |
info: (loader): attempting to load nodejs-dom, /usr/lib64/node/.npm/yui3-core/3.3.0/package/build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/simple/test-http-agent2.js b/test/simple/test-http-agent2.js | |
index eed1cb9..83e5670 100644 | |
--- a/test/simple/test-http-agent2.js | |
+++ b/test/simple/test-http-agent2.js | |
@@ -5,9 +5,6 @@ var http = require('http'); | |
var reqEndCount = 0; | |
var server = http.Server(function(req, res) { | |
- res.writeHead(200); | |
- res.end("hello world\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YUI().use('event', 'event-custom', 'yui2-dragdrop', 'yui2-datatable', function (Y) { | |
var YAHOO = Y.YUI2, | |
eventName = '"page:dataTableCreated'; | |
Y.on(eventName, function(oDS, oDT){ | |
Y.log(oDS); | |
Y.log(oDT); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env node | |
var util = require('util'), | |
http = require('http'); | |
var Foo = function () { | |
Foo.super_.apply(this, arguments); | |
this._name = 'foo'; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bin/uglifyjs b/bin/uglifyjs | |
index ad3866f..02f0268 100755 | |
--- a/bin/uglifyjs | |
+++ b/bin/uglifyjs | |
@@ -105,7 +105,11 @@ out: while (args.length > 0) { | |
if (filename) { | |
fs.readFile(filename, "utf8", function(err, text){ | |
- output(squeeze_it(text)); | |
+ if(err) { |