This file has been truncated, but you can view the full file.
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<table cellspacing="0" cellpadding="4" rules="rows" border="0" id="myDataGrid" style="color:Black;background-color:White;border-color:White;border-width:0px;border-style:None;font-family:Verdana;font-size:10px;width:336px;border-collapse:collapse;"> | |
<tbody><tr class="brickborder" style="color:#666666;background-color:White;font-weight:bold;"> | |
<td class="brickborder"> </td><td class="brickborder" style="color:#666666;">Brick Name</td><td class="brickborder" align="right" style="color:#666666;">Price</td><td class="brickborder"> </td><td class="brickborder"> </td> |
This file contains hidden or 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> | |
(function onLoad() { | |
var io; | |
Object.defineProperty(window, 'io', { | |
get: function get() { | |
return io; | |
}, | |
set: function set(value) { | |
var sails; | |
io = value; |
This file contains hidden or 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
/** | |
* Bar.js | |
* | |
* @description :: Model for the Bar Collection | |
* @docs :: http://sailsjs.org/#!documentation/models | |
*/ | |
module.exports = { | |
attributes: { |
This file contains hidden or 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
Storage.prototype._setItem = Storage.prototype.setItem; | |
Storage.prototype.setItem = function(key, value, type, name) { | |
var eventName = name || 'storage'; | |
var eventObject = { | |
"target": window, | |
"type": "storage", | |
"bubbles": false, | |
"cancelable": false, |
This file contains hidden or 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
App.Member = DS.Model.extend({ | |
username: DS.attr('string'), | |
type: DS.attr('string'), | |
createdAt: DS.attr('date'), | |
updatedAt: DS.attr('date') | |
}); |
This file contains hidden or 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
App.ApplicationAdapter = DS.SailsSocketAdapter.extend({ | |
host: 'http://localhost:1337' | |
}); |
This file contains hidden or 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
(function() { | |
/*global Ember*/ | |
/*global DS*/ | |
/*global io*/ | |
'use strict'; | |
var RSVP = Ember.RSVP; | |
var get = Ember.get; | |
DS.SailsRESTAdapter = DS.RESTAdapter.extend({ |
This file contains hidden or 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
App.ApplicationSerializer = DS.JSONSerializer.extend({ | |
serializeIntoHash: function(hash, type, record, options) { | |
Ember.merge(hash, this.serialize(record, options)); | |
} | |
}); |
This file contains hidden or 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
App.Member = DS.Model.extend({ | |
username: DS.attr('string'), | |
type: DS.attr('string'), | |
createdAt: DS.attr('date'), | |
updatedAt: DS.attr('date'), | |
}); |
This file contains hidden or 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
/* Put your CSS here */ | |
html, body { | |
margin: 20px; | |
} | |
.active {font-weight: bold;} |