mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-16 08:01:53 +00:00
add node_modules
This commit is contained in:
13
node_modules/xml2js/att.js
generated
vendored
Normal file
13
node_modules/xml2js/att.js
generated
vendored
Normal 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);
|
||||
});
|
Reference in New Issue
Block a user