Skip to content

Instantly share code, notes, and snippets.

View geojeff's full-sized avatar

Jeff Pittman geojeff

View GitHub Profile
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
// Portions ©2008-2010 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
/*globals TestControls Forms*/
TestControls.textFieldPage = SC.View.design({
childViews: "form".w(),
vertical1: SC.FormView.row(SC.View.extend(SC.FlowedLayout, {
60 title: "Vertical, canWrap NO",
61 layout: { height: 100 },
62 childViews: "a b c d".w(),
63 isSpacer: YES,
64 canWrap: NO,
65
66 layoutDirection: SC.LAYOUT_VERTICAL,
67 align: SC.ALIGN_CENTER,
68 defaultFlowSpacing: {
categories controller:
/*globals PhoneControls */
/** @class
@extends SC.CategoriesController
*/
PhoneControls.groups = [
SC.Object.create({
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
// Portions ©2008-2010 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
/*globals PhoneControls*/
PhoneControls.GroupsList = SC.ScrollView.extend({
topToolbar: SC.NavigationBarView.design({
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
// Portions ©2008-2010 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
/*globals PhoneControls*/
PhoneControls.START = SC.Responder.create({
didBecomeFirstResponder: function() {
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
// Portions ©2008-2010 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
/*globals PhoneControls*/
PhoneControls.START = SC.Responder.create({
didBecomeFirstResponder: function() {
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
// Portions ©2008-2010 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
/*globals PhoneControls */
PhoneControls.groupController = SC.ObjectController.create(
/** @scope PhoneControls.groupController.prototype */ {
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
// Portions ©2008-2010 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
/*global PhoneControls tile Forms */
require("resources/progress_page");
require("resources/buttons_page");
1 # ===========================================================================
2 # Project: RaphaelPlay
3 # Copyright: ©2010 My Company, Inc.
4 # ===========================================================================
5
6 #config :all, :required => [:sproutcore, :raphael]
7 config :raphaelplay, :required => [:sproutcore"]
8 config :test_controls, :required => [:sproutcore, "sproutcore/forms", "sproutcore/animation"]
9 config :phone_controls, :required => [:sproutcore, "sproutcore/forms", "sproutcore/animation"]
~
# ===========================================================================
# Project: RaphaelPlay
# Copyright: ©2010 My Company, Inc.
# ===========================================================================
config :raphaelplay, :required => [:sproutcore, :raphael]
config :test_controls, :required => [:sproutcore, "sproutcore/forms", "sproutcore/animation", "sproutcore/ace"]
config :phone_controls, :required => [:sproutcore, "sproutcore/forms", "sproutcore/animation", "sproutcore/ace"]