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
topher@macbook:~/Documents/Development/Angelic/public/angelic$ bpm add sproutcore -v 2.0.beta.3.1 | |
Fetching packages from remote... | |
Unfortunately, a fatal error has occurred. Please report this error to the BPM issue tracker at https://github.com/bpm/bpm/issues so that we can fix it. Thanks! | |
/Users/topher/.rvm/gems/ruby-1.9.2-p180/gems/libgems-0.1.3/lib/libgems/requirement.rb:145:in `block in satisfied_by?': undefined method `call' for nil:NilClass (NoMethodError) | |
from /Users/topher/.rvm/gems/ruby-1.9.2-p180/gems/libgems-0.1.3/lib/libgems/requirement.rb:145:in `each' | |
from /Users/topher/.rvm/gems/ruby-1.9.2-p180/gems/libgems-0.1.3/lib/libgems/requirement.rb:145:in `all?' | |
from /Users/topher/.rvm/gems/ruby-1.9.2-p180/gems/libgems-0.1.3/lib/libgems/requirement.rb:145:in `satisfied_by?' | |
from /Users/topher/.rvm/gems/ruby-1.9.2-p180/gems/libgems-0.1.3/lib/libgems/source_index.rb:325:in `block in search' | |
from /Users/topher/.rvm/gems/ruby-1.9.2-p180/gems/libgems-0.1.3/lib/libgems |
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
topher@macbook:~/Documents/Development/Angelic/public/angelic$ bpm list | |
spade (1.0.2) | |
sproutcore-metal (2.0.beta.3) | |
sproutcore-runtime (2.0.beta.3) | |
jquery (1.6.2) | |
sproutcore-views (2.0.beta.3) | |
handlebars (1.0.0.beta.3) | |
sproutcore-handlebars-format (2.0.beta.3) | |
sproutcore-handlebars (2.0.beta.3) | |
sproutcore (2.0.beta.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
var App = SC.Application.create(); | |
App.myVar = 'test'; | |
App.BasicTextView = SC.View.extend({ | |
textValue: null, | |
textValueDidChange: function() { | |
var jQuery = this.$(); |
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
<body> | |
<script src="assets/bpm_libs.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
spade.require('Planitly'); | |
</script> | |
<script type="text/x-handlebars"> | |
<div class='container_16'> |
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
{ | |
"name": "planitly", | |
"version": "0.0.1", | |
"bpm": "1.0.0", | |
"description": "DESCRIPTION HERE", | |
"author": "YOUR NAME HERE", | |
"homepage": "URL", | |
"directories": { | |
"lib": "./lib", | |
"tests": "./tests" |
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
MyApp.Project = SC.Record.create({ | |
tasks: SC.Record.toMany(...), | |
tasksNeedUpdate: 0, | |
tasksDidUpdate: function() { | |
this.set('tasksNeedUpate', this.get('tasksNeedUpdate') + 1); | |
}.observes('*tasks.@each.isComplete'), | |
allTasksCompleted: function() { |
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
selectAllClicked: function(evt) { | |
/* | |
* Go ahead and deselect all objects first so that we don't confuse the user | |
*/ | |
Pharos360.studentsController.selectObject(); | |
/* | |
* Now, select only those students that aren't currently selected | |
*/ | |
var students = Pharos360.filteredStudentsController.get('arrangedObjects'); |
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
MyApp.myPopoverView = SC.PickerPane.create({ | |
layout: { width: 300, height: 150 }, | |
themeName: 'popover', | |
contentView: SC.WorkspaceView.extend({ | |
topToolbar: null, | |
bottomToolbar: null, | |
contentView: SC.View.extend({ |
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
... | |
editingPane: MyApp.editingPane.extend({}), | |
... |