This file contains hidden or 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!!!!!!!!!!!! |
This file contains hidden or 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
| YUI({ | |
| modules: { | |
| 'fc_player': { | |
| fullpath: 'path/to/files', | |
| requires: ['modules', 'fc_player', 'requires'] | |
| } | |
| } | |
| }).use('fc_player', function(Y) { | |
| // modules are loaded and ready to use | |
| }); |
This file contains hidden or 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
| Y.namespace('Xarno').Model = Y.Base.create('my-model', Y.Model, [], { | |
| initializer: function() { | |
| this._bind(); | |
| }, | |
| _bind: function() { | |
| this.after('someEvent', this._afterSomeEvent, this); | |
| }, |
This file contains hidden or 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
| {% set legend = { | |
| "new-user": { "value": "new-user", "display": "New Users", "uri": "/users", "active": False }, | |
| } %} | |
| {% for category in activeCategories|default(['new-user']) %} | |
| {% if category in legend %} | |
| {% set legend[category]['active'] = True %} | |
| {% endif %} | |
| {% endfor %} |
This file contains hidden or 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
| Mockingbird:build apipkin$ curl -v 'http://yui.yahooapis.com/combo?3.4.1/build/oop/oop-min.js&3.4.1/build/event-custom-base/event-custom-base-min.js&3.4.1/build/event-custom-complex/event-custom-complex-min.js&3.4.1/build/attribute-base/attribute-base-min.js&3.4.1/build/attribute-complex/attribute-complex-min.js&3.4.1/build/base-base/base-base-min.js&3.4.1/build/base-build/base-build-min.js&3.4.1/build/arraylist/arraylist-min.js&3.4.1/build/dom-core/dom-core-min.js&3.4.1/build/dom-base/dom-base-min.js&3.4.1/build/selector-native/selector-native-min.js&3.4.1/build/selector/selector-min.js&3.4.1/build/node-core/node-core-min.js&3.4.1/build/node-base/node-base-min.js&3.4.1/build/event-base/event-base-min.js&3.4.1/build/event-synthetic/event-synthetic-min.js&3.4.1/build/event-focus/event-focus-min.js&3.4.1/build/pluginhost-base/pluginhost-base-min.js&3.4.1/build/pluginhost-config/pluginhost-config-min.js&3.4.1/build/base-pluginhost/base-pluginhost-min.js&3.4.1/build/dom-style/dom-style-min.js&3.4.1/build/node-sty |
This file contains hidden or 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
| _setDragTicks: function (axis, numberOfSegments) { | |
| var rail = this.get('contentBox'), | |
| railWidth = rail.get('region').width, | |
| segmentWidth = railWidth / numberOfSegments, | |
| ticksArr = [], | |
| i = 0; | |
| for ( ; i <= numberOfSegments; i++ ) { | |
| ticksArr.push(i * segmentWidth); | |
| } |
This file contains hidden or 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
| /* | |
| * @class AMS.Calendar | |
| * @extends Widget | |
| * @version 1.0.0 | |
| * | |
| */ | |
| YUI.add("ams-calendar", function (Y) { | |
| Y.log('ams-calendar is loaded', 'info'); | |
| var YAHOO = Y.YUI2; |
This file contains hidden or 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
| http://yui.yahooapis.com/combo?3.4.1/build/yui/yui.js&3.4.1/build/oop/oop-min.js&3.4.1/build/event-custom-base/event-custom-base-min.js&3.4.1/build/dom-core/dom-core-min.js&3.4.1/build/dom-base/dom-base-min.js&3.4.1/build/selector-native/selector-native-min.js&3.4.1/build/selector/selector-min.js&3.4.1/build/node-core/node-core-min.js&3.4.1/build/node-base/node-base-min.js&3.4.1/build/event-base/event-base-min.js&3.4.1/build/event-delegate/event-delegate-min.js&3.4.1/build/node-event-delegate/node-event-delegate-min.js&3.4.1/build/pluginhost-base/pluginhost-base-min.js&3.4.1/build/pluginhost-config/pluginhost-config-min.js&3.4.1/build/node-pluginhost/node-pluginhost-min.js&3.4.1/build/dom-style/dom-style-min.js&3.4.1/build/dom-screen/dom-screen-min.js&3.4.1/build/node-screen/node-screen-min.js&3.4.1/build/node-style/node-style-min.js&3.4.1/build/event-custom-complex/event-custom-complex-min.js&3.4.1/build/intl/intl-min.js |
This file contains hidden or 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
| <head> | |
| <script src="http://yui.yahooapis.com/3.4.1/build/yui/yui-min.js"></script> | |
| <script src="/js/main.js"></script> | |
| </head> | |
| <body> | |
| ... | |
| </body> |
This file contains hidden or 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
| YUI.add('date-fields', function(Y) { | |
| Y.namespace('Xarno').DateFields = Y.Base.create('date-fields', Y.Widget, [], { | |
| _date: null, | |
| _yearNode: null, | |
| _monthNode: null, |