ArgueJS
ArgueJS copied to clipboard
give example of the require line
Probably my js noobness, but thought it might help :)
Hello,
I uses something like...
var getArguments = require('arguejs');
var signature = {myParameterName: String};
var _args = getArguments(signature, arguments);
console.log(_args.myParameterName);
In the examples of this project he uses...
var __ = require('arguejs');
var signature = {myParameterName: String};
var _args = __(signature, arguments);
console.log(_args.myParameterName);
Hope that helps...
Hi,
Thanks for that - I am adding i18n, and I just noticed that they use double underscore too - so I will be changing my arguejs calls as you suggest.
~kimptoc