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.MakeNode.prototype._templateHandlers["@@"] = function (args) { | |
args = this._parseMakeNodeArgs(args); | |
if (args.length !== 2 || args[0] === "" || args[1] === "") { | |
return; | |
} | |
var av = this.get(args[0]); | |
if (! av) { | |
return; | |
} | |
return av.get(args[1]); |
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
Per System: | |
open iptables to camp port ranges | |
set up Interchange::Deployment | |
set up camps | |
git clone | |
useradd camp | |
groupadd camp | |
createuser -PE camp | |
createdb camp |
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
{ | |
"filter":"raw", | |
"comboBase":"/combo?", | |
"root":"ic/vendor/yui3/build/", | |
"base":"/ic/vendor/yui3/build/", | |
"combine":true, | |
"insertBefore":"styleoverrides", | |
"groups":{ | |
"gallery":{ | |
"combine":true, |
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
Management Area | |
{ | |
"comboBase":"/combo?", | |
"root":"ic/vendor/yui3/build/", | |
"base":"/ic/vendor/yui3/build/", | |
"combine":true, | |
"insertBefore":"styleoverrides", | |
"groups":{ | |
"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
# | |
# given an array of hash refs return a structure that is designed to used | |
# by one of IC's looping tags via the "list" attribute | |
# | |
sub make_itl_loop_struct { | |
my $self = shift; | |
my $data = shift; | |
unless (defined $data) { | |
Vend::Exception::ArgumentMissing->throw('data arg not provided'); |
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 |
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
// 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
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.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) |