Last active
December 21, 2015 03:39
-
-
Save shoaibuddin/6243614 to your computer and use it in GitHub Desktop.
CanJS Skeleton
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
/** | |
* This CanJS Skeleton module file. | |
* This file is uses requireJS, JQuery. | |
* | |
* @author Shoaib Ud-Din | |
* @version 20140513 | |
* @requires requireJS, JQuery | |
*/ | |
define(['jquery','can','maskedinput','domReady!'], function($, can){ | |
//CanControl | |
var widgetName = can.Control.extend({ | |
defaults: { | |
'variable' : value, | |
'variable' : null | |
} | |
},{ | |
//Init | |
init: function() { | |
}, | |
//Function | |
'selector click': function() { | |
}, | |
} | |
); | |
return widgetName; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment