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) { | |
Y.AMS.MyPlugin = Y.Base.create( | |
.... | |
); | |
Y.AMS.MyPlugin.plugAllCalendars = function () { | |
.... | |
}; |
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( | |
"custom-manage-parcel_manager", | |
function(Y) { | |
var PACKAGE_TEMPLATE = '<li>{variant_sku} ({label})<input type="hidden" name="package-{id}" value="{parcel_id}" /></li>'; | |
var Clazz = Y.namespace("Bikes.Manage").ParcelManager = Y.Base.create( | |
"custom_manage_parcel_manager", | |
Y.IC.RendererBase, | |
[], | |
{ |
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
<script type="text/javascript"> | |
YUI_config = { | |
filter: "raw", | |
comboBase: "/combo?", | |
root: "vendor/yui3/build/", | |
base: "/vendor/yui3/build/", | |
combine: true, | |
insertBefore: "styleoverrides", | |
groups: { | |
// set up for locally served gallery |
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
{ "IC::Manage::_class_ui_meta_struct_config" : 1, | |
"IC::Manage::class_ui_meta_struct_config" : 1, | |
"actions" : { | |
"Create" : { "Bikes::Manage::Orders::Create::ui_meta_struct(augment)" : 1, | |
"IC::Manage::ui_meta_struct" : 1, | |
"label" : "Create", | |
"renderer" : { "config" : { "action" : "/manage/Orders/action/Create/save", | |
"content" : { "config" : { }, | |
"type" : "Bikes.Manage.Orders.Create" | |
} |
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
my $st = Rose::DB::Object::QueryBuilder::build_select( | |
query_is_sql => 1, | |
db => $self->db, | |
select => 'status_code, COUNT(*) AS tally', | |
tables => [ Bikes::M::Inventory->meta->table ], | |
columns => { Bikes::M::Inventory->meta->table => [ qw( variant_id status_code ) ] }, | |
group_by => 'status_code', | |
query => [ | |
variant_id => $self->id, | |
], |
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( | |
"custom-manage-cart_builder", | |
function(Y) { | |
var base_new_line_config = { | |
qty: 0, | |
subtotal: 0, | |
display_sku: '', | |
product_desc: '', | |
variant_id: null, | |
variant_price: 0, |
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); | |
} |
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
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
//input.yui3-aclist-input-loading { | |
// background-image: url(spinner.gif); | |
// background-repeat: no-repeat; | |
// background-position: right; | |
//} | |
desc_node.ac.on( | |
"query", | |
function (e) { |