Skip to content

Instantly share code, notes, and snippets.

Eric Ferraiuolo ericf

Block or report user

Report or block ericf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:53406
YUI().use("node", "compat", function(Y){
Y.Lang.isValue( YAHOO && YAHOO.util.Dom && YAHOO.util.Event ) // true
});
View test.html
<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>
View gist:76385
var lis = Y.all('#test li'), index = 0;
lis.each(function(li){
Y.log( index );
Y.log( lis.item(index).compareTo(li) ); // true
index ++;
});
View gist:153853
/**
* SimpleTabs
* Eric Ferraiuolo — http://eric.ferraiuolo.name
*/
var SimpleTabs,
SIMPLETABS = 'simpletabs',
BOUNDING_BOX = 'boundingBox',
CONTENT_BOX = 'contentBox',
View gist:199914
/**
* 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,
View gist:209358
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
*/
View gist:209363
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
View logismo.js
YUI.add('logismo', function(Y) {
/**
* Logismo
*/
var Logismo,
LOGISMO = 'logismo',
EVENTS_RESOURCE_PATH = 'eventsResourcePath',
View gist:246588
renderer : function () {
var spr = MyOtherWidget.superclass;
spr.renderUI.call(this);
this.renderUI();
spr.bindUI.call(this);
this.bindUI();
spr.syncUI.call(this);
this.syncUI();
View simple markup for gallery-node-accordion module in yui3
You can’t perform that action at this time.