Skip to content

Instantly share code, notes, and snippets.

@publickeating
publickeating / main.js
Created March 6, 2012 16:04 — forked from cronco/main.js
sproutcore issue - availableList contentBinding crashes app
/* ... */
var items = Items.store.find('Items.Item');
// Don't need this
//Items.selectedItemsController.set('content',[]);
Items.mainItemsController.set('content', items);
/* ... */
# ruby phonegap-sc.rb -a alfresco -o ../output/path
require 'fileutils'
require 'pathname'
require 'optparse'
config = {}
argparser = OptionParser.new {|opts|
opts.on('-a', '--application-name [name]', "The application name (required)"){|name|
config[:app_name] = name
}