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
class Person | |
hi: -> | |
console.log "hi" | |
bye: -> | |
console.log "bye" | |
return this | |
steve = new Person |
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: Cloud | |
// Copyright: @2011 My Company, Inc. | |
// ========================================================================== | |
/*globals Cloud */ | |
Cloud = SC.Application.create(); | |
SC.ready(function() { | |
Cloud.mainPane = SC.TemplatePane.append({ |
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 | |
Pain = SC.Application.create(); | |
SC.ready(function() { | |
Pain.mainPane = SC.TemplatePane.append({ | |
layerId: 'pain', | |
templateName: 'pain', | |
toolbarView: SC.ToolbarView.design({}) | |
}); |
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
$theme.header{ | |
background-color: #ff0000; | |
height: 200px; | |
} |
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
Guernica.Theme = SC.AceTheme.create({ | |
name: 'guernica' | |
}); | |
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: Builder - mainPage | |
// Copyright: @2011 My Company, Inc. | |
// ========================================================================== | |
/*globals Builder */ | |
// This page describes the main user interface for your application. | |
Builder.mainPage = SC.Page.design({ | |
// The main pane is made visible on screen as soon as your app is loaded. |
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: Builder - mainPage | |
// Copyright: @2011 My Company, Inc. | |
// ========================================================================== | |
/*globals Builder */ | |
// This page describes the main user interface for your application. | |
Builder.mainPage = SC.Page.design({ | |
// The main pane is made visible on screen as soon as your app is loaded. |
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: Builder.KpiLibrarySidebarView | |
// Copyright: @2011 My Company, Inc. | |
// ========================================================================== | |
/*globals Builder */ | |
/** @class | |
(Document Your View Here) |
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
/* In Core */ | |
store: SC.Store.create().from(SC.Record.fixtures) | |
/* fixtures/kpi_model_fixtures.js */ | |
sc_require('models/kpi_model'); | |
Builder.Kpi.FIXTURES = [ | |
{ | |
"guid": "1", |