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
{ "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
<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
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
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
Y.namespace('tnsg5').Tile = Y.Base.create("tile", Y.Widget,[], { | |
initializer: function () { | |
this.dataSource = this.getDataSourceInstance(); | |
var dsCfg = { | |
request: "cb={}", | |
callback: { | |
//HERE IS WHERE THE FUNCTION IS ADDED | |
success: Y.bind(this.onSuccessfulLoad, this) |
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( | |
"ui-window-tile", | |
function(Y) { | |
var Tile = Y.Base.create( | |
"ui_window_tile", | |
Y.Overlay, | |
[], | |
{ | |
// TODO: make this a child of the window parent | |
_window: 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
// Y.IC.AutoComplete source: https://github.com/Wiggins/interchange_mvc/blob/master/share/ic/js/autocomplete.js | |
return new Y.IC.AutoComplete ( | |
{ | |
inputNode: input_node, | |
queryDelay: 300, | |
minQueryLength: 6, | |
resultListLocator: "results", | |
source: "/manage/LogisticsZoneServiceMaps/ac?_format=json&service_kind=delivery&", | |
requestTemplate: function (query) { |
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.io( | |
"/manage/Countries/options?_format=json", | |
{ | |
on: { | |
success: Y.bind( | |
function (txnId, response) { | |
var new_data; | |
try { | |
new_data = Y.JSON.parse(response.responseText); | |
} |
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
" include other paths to look for config files | |
:set runtimepath=~/.vim,$VIMRUNTIME | |
" some basic options | |
:set nocompatible | |
:set showmatch | |
:set nowrap | |
:set ruler | |
:set showmode | |
:set backspace=2 |