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
/*global module:false*/ | |
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
/** | |
* Watching | |
* ======== |
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
Y.delegate( | |
"contextmenu", | |
function (e) { | |
// prevent the browser's own context menu | |
e.preventDefault(); | |
var record = this._data_table.getRecord( e.target.get("id") ); | |
// build a list of menu items based on the _options data in the record | |
var menu_items = ""; |
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
YUI.add( | |
"!!!", | |
function(Y, NAME) { | |
var Clazz = Y.namespace("!!!").!!! = Y.Base.create( | |
NAME, | |
!!!, | |
[], | |
{ | |
initializer: function (config) { | |
Y.log("initializer", "debug", Clazz.NAME); |
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
YUI.add( | |
"lw-table_wrapper", | |
function(Y) { | |
var Clazz = Y.namespace("LW").TableWrapper = Y.Base.create( | |
"lw_table_wrapper", | |
Y.Base, | |
[], | |
{ | |
_data_table: null, |
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
YUI.use( | |
"lw-table-wrapper", | |
function (Y) { | |
var myDT = new Y.LW.TableWrapper (....); | |
} | |
); |
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
/* | |
* Validator Attribute | |
* | |
* @attribute validators | |
* @type {object} | |
* @default {isNumber & customVal} | |
* @since 1.0.0 | |
*/ | |
validators : { | |
value : { |
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
//input.yui3-aclist-input-loading { | |
// background-image: url(spinner.gif); | |
// background-repeat: no-repeat; | |
// background-position: right; | |
//} | |
desc_node.ac.on( | |
"query", | |
function (e) { |
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
YUI.add( | |
"ep-data-user", | |
function (Y) { | |
var DataUser = Y.namespace("EP").DataUser = function (config) { | |
//Y.log("DataUser constructor"); | |
this.after("initializedChange", this.post_initialization, this); | |
}; | |
// | |
// these values should be overridden with defaults in the class |
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
UserTag delayed_query Order list | |
UserTag delayed_query addAttr | |
UserTag delayed_query attrAlias args list | |
UserTag delayed_query attrAlias arg list | |
UserTag delayed_query hasEndTag | |
UserTag delayed_query PosNumber 1 | |
UserTag delayed_query Routine <<EOF | |
sub { | |
# This function operates as a wrapper for the [loop] coretag; the loop tag doesn't work very | |
# well with the scan/more-list functionality if the list it has is the formatted output of the |
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
Y.Node.prototype.setNumberSignClass = function (value) { | |
var POSITIVE = 'positive', | |
NEGATIVE = 'negative'; | |
if (value < 0) { | |
this.replaceClass(POSITIVE, NEGATIVE); | |
} | |
else if (value > 0) { | |
this.replaceClass(NEGATIVE, POSITIVE); | |
} |
OlderNewer