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.Router.map (match) -> | |
match("/").to "finances" | |
match("/finances").to "finances", (match) -> | |
match("/").to "listFinancialEvents" | |
match("/:financial_event_id").to "financialEvent" |
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.Router = Ember.Router.extend | |
enableLogging: yes | |
showFinancialTransfers: Ember.State.transitionTo "finances" |
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
{ | |
"name": "boot", | |
"description": "Lisa's website", | |
"version": "0.0.1", | |
"private": true, | |
"dependencies": { | |
"enyo/opentip": "*", | |
"enyo/dropzone": "*" | |
}, | |
"scripts": [ |
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
var myCoolFunc = require("my-mod"); | |
myCoolFunc("yeah"); |
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
Shop.jsonProducts = [{"_id":"50145602d71fe6bdb0000003","descriptionHtml":"","descriptionSource":null,"name":"",ect....] | |
Shop.store.loadMany Shop.Product, Shop.jsonProducts |
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.Model = DS.Model.extend | |
namingConvention: | |
keyToJSONKey: (key) -> key | |
foreignKey: (key) -> key | |
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
elements = [ ] | |
className = "boa" | |
elements.push """<div class="#{className}">bli</div>""" | |
elements.push """<div class="#{className}">bli</div>""" | |
elements.push """<div class="#{className}">bli</div>""" | |
$("#container").html elements.join "" |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(60deg, #f06, yellow); | |
min-height: 100%; |
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
// Setting the tags | |
var tagGroups = Inc.store.find(Inc.ALL_TAG_GROUPS_QUERY); | |
Inc.allTagGroupsController.set('content', tagGroups); | |
// The controller in question |
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
// ========================================================================== | |
// Project: Inc.CheckboxListItemView | |
// Copyright: ©2010 My Company, Inc. | |
// ========================================================================== | |
/*globals Inc */ | |
/** @class | |
(Document Your View Here) |