Skip to content

Instantly share code, notes, and snippets.

Custom View: This works
Todos.ScrollingList = SC.View.extend(
/** @scope Todos.ScrollingList.prototype */ {
render: function(context){
var template = SC.TEMPLATES['todos']();
Rapid.checkDataDefinitionController = SC.ObjectController.create(
SC.CollectionViewDelegate,{
nestedStore: null,
checkStore: function(){
if (this.get('nestedStore')){
//nestedStore is not null
}else{
this.nestedStore = Rapid.store.chain();
//this.set('nestedStore', nestedStore);
}
@MikailCliftov
MikailCliftov / yui uild error
Created February 17, 2011 18:58
yui build error
INFO ~ Building entries for /sproutcore:en...
INFO ~ stylesheet.css -> tmp/build/static/sproutcore/en/fd023b819af08483bbc471
14fc5388626b7a390c/stylesheet.css
INFO ~ javascript.js -> tmp/build/static/sproutcore/en/fd023b819af08483bbc4711
4fc5388626b7a390c/javascript.js
INFO ~ javascript-packed.js -> tmp/build/static/sproutcore/en/fd023b819af08483
bbc47114fc5388626b7a390c/javascript-packed.js
INFO ~ stylesheet-packed.css -> tmp/build/static/sproutcore/en/fd023b819af0848
3bbc47114fc5388626b7a390c/stylesheet-packed.css
FATAL ~ Invalid argument - ./tmp/chance/c: