Closed alexsad closed 8 years ago
Support to amd format format=amd
define(["exports",'incremental-dom'], function (exports,IncrementalDOM) { "use strict"; var myWidget = (function () { function myWidget(data) { IncrementalDOM.elementOpen('div'); IncrementalDOM.text('welcome, '+data.name); IncrementalDOM.elementClose('div'); } return myWidget; }()); exports.myWidget = myWidget; });
Thanks, to accept the merge request!!! A question, when we can get the version in npm with that new feature ?
No problem - thanks for the PR!
Just published to npm@2.0.1.
Cheers
Dave
thanks, again great job!!!
Support to amd format format=amd