add node_modules

This commit is contained in:
life
2015-09-24 13:31:53 +08:00
parent 69b27ef5f0
commit 6eba2b2924
646 changed files with 82380 additions and 6 deletions

13
node_modules/xml2js/att.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
var xml2js = require('xml2js');
var uppercasing = function (name) {
console.log("called this function");
return name.toUpperCase();
};
var parser = new xml2js.Parser({attrNameProcessors: [uppercasing]});
parser.parseString('<tagname attribute="value">content</tagname>',
function(err, jsonResult){
console.log(jsonResult);
});