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().use("node", "compat", function(Y){ | |
| Y.Lang.isValue( YAHOO && YAHOO.util.Dom && YAHOO.util.Event ) // true | |
| }); |
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
| <html> | |
| <head><title>testing gist</title></head> | |
| <body> | |
| <script type="text/javascript" src="http://gist.github.com/raw/68197/0599a2f57e5626b606a35bd0e65136da2e1742f0/test.js"></script> | |
| <script type="text/javascript" src="http://gist.github.com/raw/68197/49951505cda6e4d30c49ffd387f0e4464a2bb437/test2.js"></script> | |
| </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
| var lis = Y.all('#test li'), index = 0; | |
| lis.each(function(li){ | |
| Y.log( index ); | |
| Y.log( lis.item(index).compareTo(li) ); // true | |
| index ++; | |
| }); |
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
| /** | |
| * SimpleTabs | |
| * Eric Ferraiuolo — http://eric.ferraiuolo.name | |
| */ | |
| var SimpleTabs, | |
| SIMPLETABS = 'simpletabs', | |
| BOUNDING_BOX = 'boundingBox', | |
| CONTENT_BOX = 'contentBox', |
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
| /** | |
| * Overlay Modal Extension | |
| * | |
| * Oddnut Software | |
| * Copyright (c) 2009 Eric Ferraiuolo - http://eric.ferraiuolo.name | |
| * MIT License - http://www.opensource.org/licenses/mit-license.php | |
| */ | |
| var Modal, | |
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('overlay-modal', function(Y) { | |
| /** | |
| * Overlay Modal Extension | |
| * | |
| * Oddnut Software | |
| * Copyright (c) 2009 Eric Ferraiuolo - http://eric.ferraiuolo.name | |
| * MIT License - http://www.opensource.org/licenses/mit-license.php | |
| */ | |
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().use('overlay', 'overlay-modal', function(Y){ | |
| var FancyOverlay = Y.Base.build('fancyoverlay', Y.Overlay, [Y.OverlayModal]); | |
| var myFancyOverlay = new FancyOverlay({ | |
| modal : true, | |
| mask : true, | |
| centered : true, | |
| width : 500 | |
| height : 300 |
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('logismo', function(Y) { | |
| /** | |
| * Logismo | |
| */ | |
| var Logismo, | |
| LOGISMO = 'logismo', | |
| EVENTS_RESOURCE_PATH = 'eventsResourcePath', |
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
| renderer : function () { | |
| var spr = MyOtherWidget.superclass; | |
| spr.renderUI.call(this); | |
| this.renderUI(); | |
| spr.bindUI.call(this); | |
| this.bindUI(); | |
| spr.syncUI.call(this); | |
| this.syncUI(); |
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
| <ul class="yui-accordion"> | |
| <li class="yui-accordion-item yui-accordion-item-active"> | |
| <h3 class="yui-accordion-item-hd yui-accordion-item-trigger">item 1</h3> | |
| <div class="yui-accordion-item-bd">content</div> | |
| </li> | |
| </ul> |
OlderNewer