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
/** | |
* | |
* | |
* | |
* | |
* mediaViewScrollview | |
* | |
* | |
* | |
* |
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("arraySet", function (Y) { | |
"use strict"; | |
var A = Y.Array, | |
L = Y.Lang, | |
iO = A.indexOf; | |
/** |
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.ArrayListEvents fires some events for ArrayList. | |
* 8/10/10: update - Added events for everything, pretty much, | |
* and added nicer signatures for subscribers | |
* Also changed the name slightly (from Y.ArrayListEventProvider) | |
*/ | |
Y.ArrayListEvents = Y.Base.create( | |
'arraylistevents', | |
Y.Plugin.Base, |
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
// A rough idea for a RecordSetIndex plugin | |
// Filtering, searching, sorting on the host RecordSet could use the index if | |
// it's available (possibly creating it the first time someone does a sort or whatever) | |
// So RecordSet.filter() should be something like: | |
/* | |
filter: function(k,v) { | |
if (this.hasIndex(k)) { | |
return this.getIndex(k).find(v); | |
} else { | |
// proceed as normal! |
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('fielddef', function (Y) { | |
/** | |
* A field definition sets up everything except the actual value of a field. | |
* | |
*/ | |
Y.FieldDef = Y.Base.create( |
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
// Note that _disabledRules is also added to constructor. | |
// These are the public API methods. | |
/** | |
* Enable a particular rule (or several) that's previously been disabled. | |
* The selector parameter can be a RegExp; each rule matching the pattern | |
* will be enabled | |
* @param sel {String} String or RegExp to match to selectors to enable | |
* @method enableRule |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<!-- @(#) $Id$ --> | |
<head> | |
<title>Extension of sortable lists as a tree view</title> | |
<!-- Dependency --> | |
<link type="text/css" rel="stylesheet" href="http://yui.yahooapis.com/3.1.0/build/cssfonts/fonts-min.css" /> | |
<script type="text/javascript" src="http://yui.yahooapis.com/3.1.0/build/yui/yui.js"></script> | |
<!-- |