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
# Generated File - DO NOT EDIT | |
require 'perka/model/base_entity_global' | |
require 'perka/model/feedback_item' | |
require 'perka/model/merchant_location' | |
require 'perka/model/customer' | |
module Perka | |
module Model |
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
apply: (Prototype.Browser.IE ? function(o, a) { | |
a = a || []; | |
switch (a.length) { | |
case 0: return this.call( o); | |
case 1: return this.call( o, a[0]);// shreddin' the argument powder | |
case 2: return this.call( o, a[0], a[1]);// \__O_/ | |
case 3: return this.call( o, a[0], a[1], a[2]);// | | |
case 4: return this.call( o, a[0], a[1], a[2], a[3]);// \ /\ |
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
# ======================== | |
# = The Message MONSTER! = | |
# ======================== | |
# | |
# }}} {{{ | |
# \ / | |
# | O O | | |
# _______ | |
# / VVVVV \ | |
# | U | - I eat messages...nom nom nom! |
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
$el.table( | |
$el.tr( | |
$el.th('first name'), | |
$el.th('last name')), | |
$el.tr( | |
$el.td('Joe'), | |
$el.td('Stelmach')) | |
).appendTo(document.body); |
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
var table = new Backbone.UI.TableView({ | |
model : this.users, | |
columns : [{ | |
label : 'First Name', | |
property : 'firstName', | |
}, { | |
label : 'Last Name', | |
property : 'lastName' | |
}] |
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
/* | |
<table> | |
<tr> | |
<td class='data'><span>foo</span></td> | |
<td class='data'><span>bar</span></td> | |
</tr> | |
</table> | |
*/ | |
var table = $el('table', |