spade 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +0 -9
- data/Gemfile +1 -17
- data/Gemfile.lock +16 -11
- data/lib/spade.rb +1 -0
- data/lib/spade/cli/base.rb +18 -0
- data/lib/spade/package.rb +21 -13
- data/lib/spade/remote.rb +7 -0
- data/lib/spade/version.rb +1 -1
- data/spade.gemspec +14 -1
- data/spec/cli/build_spec.rb +7 -7
- data/spec/cli/install_spec.rb +14 -0
- data/spec/cli/yank_spec.rb +68 -0
- data/spec/fixtures/core-test/bin/cot +1 -0
- data/spec/fixtures/core-test/lib/main.js +1 -0
- data/spec/fixtures/{coffee/bin/cake → core-test/resources/runner.css} +0 -0
- data/spec/fixtures/core-test/tests/test.js +1 -0
- data/spec/fixtures/package.json +28 -23
- data/spec/gauntlet_spec.rb +0 -3
- data/spec/package_spec.rb +32 -22
- data/spec/support/core_test.rb +19 -12
- data/spec/support/fake.rb +3 -1
- data/spec/support/fake_gem_server.rb +27 -11
- data/spec/support/fake_gemcutter.rb +8 -0
- metadata +101 -1650
- data/packages/core-test/.gitignore +0 -2
- data/packages/core-test/Buildfile +0 -15
- data/packages/core-test/CHANGELOG.md +0 -24
- data/packages/core-test/__preamble__.js +0 -34
- data/packages/core-test/bin/cot +0 -3
- data/packages/core-test/lib/assert.js +0 -306
- data/packages/core-test/lib/cli.js +0 -258
- data/packages/core-test/lib/core.js +0 -311
- data/packages/core-test/lib/loggers/browser.js +0 -390
- data/packages/core-test/lib/loggers/console.js +0 -235
- data/packages/core-test/lib/loggers/default.js +0 -272
- data/packages/core-test/lib/loggers/dummy.js +0 -168
- data/packages/core-test/lib/main.js +0 -22
- data/packages/core-test/lib/private/jquery.js +0 -6079
- data/packages/core-test/lib/qunit.js +0 -159
- data/packages/core-test/lib/runner.js +0 -65
- data/packages/core-test/lib/spec.js +0 -302
- data/packages/core-test/lib/sync.js +0 -64
- data/packages/core-test/lib/system/dump.js +0 -208
- data/packages/core-test/lib/system/equiv.js +0 -199
- data/packages/core-test/lib/system/ext.js +0 -62
- data/packages/core-test/lib/system/module.js +0 -162
- data/packages/core-test/lib/system/plan.js +0 -223
- data/packages/core-test/lib/system/stub.js +0 -98
- data/packages/core-test/lib/system/test.js +0 -373
- data/packages/core-test/lib/test.js +0 -69
- data/packages/core-test/lib/utils.js +0 -256
- data/packages/core-test/package.json +0 -10
- data/packages/core-test/resources/additions.css +0 -8
- data/packages/core-test/resources/runner.css +0 -177
- data/packages/core-test/tests/apis/commonjs-test.js +0 -102
- data/packages/core-test/tests/apis/core-test.js +0 -154
- data/packages/core-test/tests/apis/qunit-test.js +0 -244
- data/packages/core-test/tests/apis/spec-test.js +0 -344
- data/packages/core-test/tests/system/equiv/qunit-test.js +0 -1400
- data/packages/core-test/tests/system/test/assert-test.js +0 -86
- data/packages/core-test/tests/system/test/error-test.js +0 -62
- data/packages/core-test/tests/system/test/schedule-test.js +0 -210
- data/packages/core-test/tests/utils/fmt-test.js +0 -24
- data/packages/handlebars/Gemfile +0 -4
- data/packages/handlebars/README.markdown +0 -205
- data/packages/handlebars/Rakefile +0 -65
- data/packages/handlebars/lib/handlebars.js +0 -19
- data/packages/handlebars/lib/handlebars/ast.js +0 -88
- data/packages/handlebars/lib/handlebars/compiler.js +0 -116
- data/packages/handlebars/lib/handlebars/debug.js +0 -25
- data/packages/handlebars/lib/handlebars/printer.js +0 -114
- data/packages/handlebars/lib/handlebars/runtime.js +0 -280
- data/packages/handlebars/lib/handlebars/utils.js +0 -61
- data/packages/handlebars/lib/handlebars/visitor.js +0 -14
- data/packages/handlebars/lib/handlebars/vm.js +0 -634
- data/packages/handlebars/spec/acceptance_spec.rb +0 -100
- data/packages/handlebars/spec/parser_spec.rb +0 -181
- data/packages/handlebars/spec/qunit_spec.js +0 -497
- data/packages/handlebars/spec/spec_helper.rb +0 -107
- data/packages/handlebars/spec/tokenizer_spec.rb +0 -145
- data/packages/handlebars/src/handlebars.l +0 -27
- data/packages/handlebars/src/handlebars.yy +0 -79
- data/packages/handlebars/test.js +0 -56
- data/packages/jquery-core/lib/main.js +0 -897
- data/packages/jquery-core/package.json +0 -9
- data/packages/sproutcore-bootstrap/lib/main.js +0 -11
- data/packages/sproutcore-bootstrap/package.json +0 -15
- data/packages/sproutcore-corefoundation/lib/main.js +0 -66
- data/packages/sproutcore-corefoundation/lib/tests.js +0 -74
- data/packages/sproutcore-corefoundation/package.json +0 -27
- data/packages/sproutcore-corefoundation/tests.html +0 -12
- data/packages/sproutcore-datastore/lib/main.js +0 -23
- data/packages/sproutcore-datastore/package.json +0 -16
- data/packages/sproutcore-datetime/lib/main.js +0 -6
- data/packages/sproutcore-datetime/package.json +0 -16
- data/packages/sproutcore-handlebars/lib/handlebars.js +0 -5
- data/packages/sproutcore-handlebars/lib/main.js +0 -15
- data/packages/sproutcore-handlebars/package.json +0 -17
- data/packages/sproutcore-jquery/lib/main.js +0 -10
- data/packages/sproutcore-jquery/package.json +0 -12
- data/packages/sproutcore-preprocessor/bin/chance +0 -64
- data/packages/sproutcore-preprocessor/lib/css.js +0 -21
- data/packages/sproutcore-preprocessor/lib/main.js +0 -1
- data/packages/sproutcore-preprocessor/lib/preprocessor.js +0 -12
- data/packages/sproutcore-preprocessor/lib/sc_static.js +0 -9
- data/packages/sproutcore-preprocessor/package.json +0 -18
- data/packages/sproutcore-runtime/lib/main.js +0 -37
- data/packages/sproutcore-runtime/package.json +0 -21
- data/spec/fixtures/coffee/bin/coffee +0 -0
- data/spec/fixtures/coffee/lib/coffee.js +0 -0
- data/spec/fixtures/coffee/lib/coffee.png +0 -0
- data/spec/fixtures/coffee/lib/coffee/base.js +0 -0
- data/spec/fixtures/coffee/lib/coffee/mocha/chai.js +0 -0
- data/spec/fixtures/coffee/qunit/coffee/test.js +0 -0
- data/spec/fixtures/coffee/qunit/test.js +0 -0
- data/spec/fixtures/coffee/qunit/test.log +0 -0
- data/sproutcore/.gitignore +0 -13
- data/sproutcore/Buildfile +0 -112
- data/sproutcore/CHANGELOG.md +0 -232
- data/sproutcore/README.md +0 -68
- data/sproutcore/apps/docs/core.js +0 -27
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/QuickLook/Preview.pdf +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/QuickLook/Thumbnail.tiff +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/data.plist +0 -14378
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image10.png +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image11.png +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image13.png +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image14.png +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image8.png +0 -0
- data/sproutcore/apps/docs/design/Doc Viewer.graffle/image9.tiff +0 -0
- data/sproutcore/apps/docs/english.lproj/loading.rhtml +0 -9
- data/sproutcore/apps/docs/english.lproj/main_page.js +0 -22
- data/sproutcore/apps/docs/english.lproj/strings.js +0 -15
- data/sproutcore/apps/docs/main.js +0 -30
- data/sproutcore/apps/greenhouse/README +0 -18
- data/sproutcore/apps/greenhouse/TODO +0 -56
- data/sproutcore/apps/greenhouse/beautify.js +0 -1058
- data/sproutcore/apps/greenhouse/controllers/design.js +0 -20
- data/sproutcore/apps/greenhouse/controllers/file.js +0 -35
- data/sproutcore/apps/greenhouse/controllers/files.js +0 -40
- data/sproutcore/apps/greenhouse/controllers/layout.js +0 -53
- data/sproutcore/apps/greenhouse/controllers/library.js +0 -194
- data/sproutcore/apps/greenhouse/controllers/page.js +0 -18
- data/sproutcore/apps/greenhouse/controllers/property.js +0 -19
- data/sproutcore/apps/greenhouse/controllers/property_editor.js +0 -17
- data/sproutcore/apps/greenhouse/controllers/target.js +0 -20
- data/sproutcore/apps/greenhouse/controllers/targets.js +0 -43
- data/sproutcore/apps/greenhouse/controllers/view_configs.js +0 -100
- data/sproutcore/apps/greenhouse/core.js +0 -65
- data/sproutcore/apps/greenhouse/core_file.js +0 -124
- data/sproutcore/apps/greenhouse/data_source.js +0 -250
- data/sproutcore/apps/greenhouse/english.lproj/app_page.js +0 -399
- data/sproutcore/apps/greenhouse/english.lproj/css/app-selector.css +0 -107
- data/sproutcore/apps/greenhouse/english.lproj/css/button.css +0 -314
- data/sproutcore/apps/greenhouse/english.lproj/css/dock.css +0 -90
- data/sproutcore/apps/greenhouse/english.lproj/css/general.css +0 -51
- data/sproutcore/apps/greenhouse/english.lproj/css/main-page.css +0 -93
- data/sproutcore/apps/greenhouse/english.lproj/css/menu.css +0 -49
- data/sproutcore/apps/greenhouse/english.lproj/css/modal.css +0 -41
- data/sproutcore/apps/greenhouse/english.lproj/css/picker.css +0 -195
- data/sproutcore/apps/greenhouse/english.lproj/css/search.css +0 -60
- data/sproutcore/apps/greenhouse/english.lproj/css/text-field.css +0 -67
- data/sproutcore/apps/greenhouse/english.lproj/dialogs.js +0 -303
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500.eot +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500.otf +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500.woff +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500_italic.eot +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500_italic.otf +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/fonts/museosans_500_italic.woff +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/app-selector/choose-app.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/app-selector/list-item-sel.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/active-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/regular-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/regular-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule-xl/regular-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/regular-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/regular-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/capsule/sel-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/active-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-sel-active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-sel-active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-sel-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/cap-sel-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/disabled-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/regular-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/regular-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/regular-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-active-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-disabled-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/dark/sel-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/active-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/disabled-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/regular-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/sel-active-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/sel-disabled-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/shared/sel-m.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/regular-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/regular-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-active-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-active-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-disabled-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-disabled-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/buttons/square/sel-r.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/actions-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/actions.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/inspector-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/inspector.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/library-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/library.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/projects-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/projects.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/run-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/run.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/save-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/icons/save.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/logos/greenhouse-l.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/logos/greenhouse-s.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/logos/sproutcore.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/main-bg.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/bottom-left.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/bottom-right.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/bottom.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/close-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/close.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/left.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/pointer-bottom.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/pointer-left.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/pointer-right.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/pointer-top.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/right.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/search-active.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/search.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/top-left.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/top-right.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/picker/top.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/images/toolbar-bg.png +0 -0
- data/sproutcore/apps/greenhouse/english.lproj/inspectors.js +0 -365
- data/sproutcore/apps/greenhouse/english.lproj/loading.rhtml +0 -9
- data/sproutcore/apps/greenhouse/english.lproj/main_page.js +0 -95
- data/sproutcore/apps/greenhouse/english.lproj/strings.js +0 -93
- data/sproutcore/apps/greenhouse/fixtures/file.js +0 -35
- data/sproutcore/apps/greenhouse/main.js +0 -28
- data/sproutcore/apps/greenhouse/mixins/drop_down.js +0 -97
- data/sproutcore/apps/greenhouse/models/design.js +0 -26
- data/sproutcore/apps/greenhouse/models/dir.js +0 -93
- data/sproutcore/apps/greenhouse/models/file.js +0 -51
- data/sproutcore/apps/greenhouse/models/target.js +0 -82
- data/sproutcore/apps/greenhouse/models/view_config.js +0 -49
- data/sproutcore/apps/greenhouse/resources/test_page.js +0 -37
- data/sproutcore/apps/greenhouse/states/inspector.js +0 -152
- data/sproutcore/apps/greenhouse/states/library.js +0 -142
- data/sproutcore/apps/greenhouse/states/main.js +0 -283
- data/sproutcore/apps/greenhouse/states/modals.js +0 -299
- data/sproutcore/apps/greenhouse/states/ready.js +0 -235
- data/sproutcore/apps/greenhouse/tests/controllers/design.js +0 -15
- data/sproutcore/apps/greenhouse/tests/controllers/designs.js +0 -15
- data/sproutcore/apps/greenhouse/tests/controllers/file.js +0 -15
- data/sproutcore/apps/greenhouse/tests/controllers/files.js +0 -15
- data/sproutcore/apps/greenhouse/tests/models/file.js +0 -15
- data/sproutcore/apps/greenhouse/tests/models/view_config.js +0 -15
- data/sproutcore/apps/greenhouse/tests/views/list_item.js +0 -16
- data/sproutcore/apps/greenhouse/tests/views/plist_item.js +0 -20
- data/sproutcore/apps/greenhouse/theme.js +0 -25
- data/sproutcore/apps/greenhouse/views/anchor.js +0 -277
- data/sproutcore/apps/greenhouse/views/application_list_item.js +0 -19
- data/sproutcore/apps/greenhouse/views/event_blocker.js +0 -32
- data/sproutcore/apps/greenhouse/views/label_designer.js +0 -16
- data/sproutcore/apps/greenhouse/views/list_item.js +0 -42
- data/sproutcore/apps/greenhouse/views/plist_item.js +0 -178
- data/sproutcore/apps/greenhouse/views/simple_button.js +0 -157
- data/sproutcore/apps/greenhouse/views/tear_off_picker.js +0 -56
- data/sproutcore/apps/greenhouse/views/web.js +0 -44
- data/sproutcore/apps/test_controls/Buildfile +0 -0
- data/sproutcore/apps/test_controls/controllers/buttons.js +0 -21
- data/sproutcore/apps/test_controls/controllers/categories.js +0 -108
- data/sproutcore/apps/test_controls/controllers/category.js +0 -36
- data/sproutcore/apps/test_controls/core.js +0 -29
- data/sproutcore/apps/test_controls/main.js +0 -14
- data/sproutcore/apps/test_controls/resources/buttons_page.js +0 -142
- data/sproutcore/apps/test_controls/resources/checkboxes_page.js +0 -45
- data/sproutcore/apps/test_controls/resources/flow_layout_page.js +0 -84
- data/sproutcore/apps/test_controls/resources/list_page.js +0 -40
- data/sproutcore/apps/test_controls/resources/loading.rhtml +0 -9
- data/sproutcore/apps/test_controls/resources/main_page.css +0 -60
- data/sproutcore/apps/test_controls/resources/main_page.js +0 -145
- data/sproutcore/apps/test_controls/resources/progress_page.js +0 -32
- data/sproutcore/apps/test_controls/resources/radio_page.js +0 -48
- data/sproutcore/apps/test_controls/resources/scroll_page.js +0 -76
- data/sproutcore/apps/test_controls/resources/segmented_page.js +0 -98
- data/sproutcore/apps/test_controls/resources/select_page.js +0 -60
- data/sproutcore/apps/test_controls/resources/sliders_page.js +0 -53
- data/sproutcore/apps/test_controls/resources/strings.js +0 -50
- data/sproutcore/apps/test_controls/resources/tab_page.js +0 -44
- data/sproutcore/apps/test_controls/resources/text_field_page.js +0 -41
- data/sproutcore/apps/test_controls/theme.js +0 -34
- data/sproutcore/apps/tests/controllers/detail.js +0 -25
- data/sproutcore/apps/tests/controllers/source.js +0 -29
- data/sproutcore/apps/tests/controllers/target.js +0 -26
- data/sproutcore/apps/tests/controllers/targets.js +0 -86
- data/sproutcore/apps/tests/controllers/tests.js +0 -33
- data/sproutcore/apps/tests/core.js +0 -133
- data/sproutcore/apps/tests/english.lproj/loading.rhtml +0 -9
- data/sproutcore/apps/tests/english.lproj/main_page.css +0 -48
- data/sproutcore/apps/tests/english.lproj/main_page.js +0 -233
- data/sproutcore/apps/tests/english.lproj/strings.js +0 -26
- data/sproutcore/apps/tests/main.js +0 -27
- data/sproutcore/apps/tests/states/no_targets.js +0 -26
- data/sproutcore/apps/tests/states/ready.js +0 -56
- data/sproutcore/apps/tests/states/ready_detail.js +0 -41
- data/sproutcore/apps/tests/states/ready_empty.js +0 -48
- data/sproutcore/apps/tests/states/ready_list.js +0 -41
- data/sproutcore/apps/tests/states/ready_loading.js +0 -44
- data/sproutcore/apps/tests/states/ready_no_tests.js +0 -31
- data/sproutcore/apps/tests/states/start.js +0 -39
- data/sproutcore/apps/tests/tests/controllers/detail.js +0 -15
- data/sproutcore/apps/tests/tests/controllers/source.js +0 -15
- data/sproutcore/apps/tests/tests/controllers/target.js +0 -15
- data/sproutcore/apps/tests/tests/controllers/targets.js +0 -15
- data/sproutcore/apps/tests/tests/controllers/tests.js +0 -15
- data/sproutcore/apps/tests/tests/models/target.js +0 -15
- data/sproutcore/apps/tests/tests/models/test.js +0 -15
- data/sproutcore/apps/tests/tests/views/offset_checkbox.js +0 -15
- data/sproutcore/apps/tests/views/offset_checkbox.js +0 -26
- data/sproutcore/apps/welcome/controllers/targets.js +0 -56
- data/sproutcore/apps/welcome/core.js +0 -30
- data/sproutcore/apps/welcome/english.lproj/images/main-bg.png +0 -0
- data/sproutcore/apps/welcome/english.lproj/loading.rhtml +0 -10
- data/sproutcore/apps/welcome/english.lproj/main_page.css +0 -25
- data/sproutcore/apps/welcome/english.lproj/main_page.js +0 -67
- data/sproutcore/apps/welcome/english.lproj/strings.js +0 -15
- data/sproutcore/apps/welcome/main.js +0 -19
- data/sproutcore/apps/welcome/tests/controllers/targets.js +0 -15
- data/sproutcore/design/CollectionView State Charts.graffle +0 -4848
- data/sproutcore/design/Design Charts.graffle +0 -16845
- data/sproutcore/design/Record State Table.numbers +0 -0
- data/sproutcore/design/SproutCore Datastore Design.graffle/QuickLook/Preview.pdf +0 -0
- data/sproutcore/design/SproutCore Datastore Design.graffle/QuickLook/Thumbnail.tiff +0 -0
- data/sproutcore/design/SproutCore Datastore Design.graffle/data.plist +0 -19588
- data/sproutcore/design/SproutCore Datastore Design.graffle/image8.png +0 -0
- data/sproutcore/design/SproutCore Design Template.graffle/QuickLook/Preview.pdf +0 -0
- data/sproutcore/design/SproutCore Design Template.graffle/QuickLook/Thumbnail.tiff +0 -0
- data/sproutcore/design/SproutCore Design Template.graffle/data.plist +0 -1452
- data/sproutcore/design/SproutCore Design Template.graffle/image8.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/QuickLook/Preview.pdf +0 -0
- data/sproutcore/design/TestRunner Design.graffle/QuickLook/Thumbnail.tiff +0 -0
- data/sproutcore/design/TestRunner Design.graffle/data.plist +0 -24187
- data/sproutcore/design/TestRunner Design.graffle/image10.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image11.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image13.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image15.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image16.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image17.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image18.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image19.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image22.tiff +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image23.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image24.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image25.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image30.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image31.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image8.png +0 -0
- data/sproutcore/design/TestRunner Design.graffle/image9.png +0 -0
- data/sproutcore/design/greenhouse-statechart.graffle +0 -9025
- data/sproutcore/design/greenhouse-statechart.pdf +0 -0
- data/sproutcore/design/iphone-webapp-loading.psd +0 -0
- data/sproutcore/frameworks/animation/Buildfile +0 -3
- data/sproutcore/frameworks/animation/LICENSE +0 -25
- data/sproutcore/frameworks/animation/README.md +0 -79
- data/sproutcore/frameworks/animation/core.js +0 -1206
- data/sproutcore/frameworks/animation/tests/core.js +0 -152
- data/sproutcore/frameworks/bootstrap/README +0 -9
- data/sproutcore/frameworks/bootstrap/core.js +0 -7
- data/sproutcore/frameworks/bootstrap/setup_body_class_names.js +0 -10
- data/sproutcore/frameworks/bootstrap/system/bench.js +0 -14
- data/sproutcore/frameworks/bootstrap/system/browser.js +0 -65
- data/sproutcore/frameworks/bootstrap/system/loader.js +0 -50
- data/sproutcore/frameworks/bootstrap/tests/system/browser.js +0 -187
- data/sproutcore/frameworks/core_foundation/.greenhouseconf +0 -33
- data/sproutcore/frameworks/core_foundation/controllers/array.js +0 -498
- data/sproutcore/frameworks/core_foundation/controllers/controller.js +0 -44
- data/sproutcore/frameworks/core_foundation/controllers/object.js +0 -342
- data/sproutcore/frameworks/core_foundation/core.js +0 -201
- data/sproutcore/frameworks/core_foundation/ext/object.js +0 -83
- data/sproutcore/frameworks/core_foundation/ext/run_loop.js +0 -163
- data/sproutcore/frameworks/core_foundation/mixins/delegate_support.js +0 -110
- data/sproutcore/frameworks/core_foundation/mixins/responder_context.js +0 -269
- data/sproutcore/frameworks/core_foundation/mixins/selection_support.js +0 -250
- data/sproutcore/frameworks/core_foundation/mixins/string.js +0 -163
- data/sproutcore/frameworks/core_foundation/panes/keyboard.js +0 -68
- data/sproutcore/frameworks/core_foundation/panes/layout.js +0 -108
- data/sproutcore/frameworks/core_foundation/panes/main.js +0 -52
- data/sproutcore/frameworks/core_foundation/panes/manipulation.js +0 -27
- data/sproutcore/frameworks/core_foundation/panes/pane.js +0 -672
- data/sproutcore/frameworks/core_foundation/panes/template.js +0 -24
- data/sproutcore/frameworks/core_foundation/panes/visibility.js +0 -11
- data/sproutcore/frameworks/core_foundation/protocols/observable_protocol.js +0 -40
- data/sproutcore/frameworks/core_foundation/protocols/sparse_array_delegate.js +0 -131
- data/sproutcore/frameworks/core_foundation/resources/core.css +0 -371
- data/sproutcore/frameworks/core_foundation/resources/view.css +0 -57
- data/sproutcore/frameworks/core_foundation/system/application.js +0 -35
- data/sproutcore/frameworks/core_foundation/system/browser.js +0 -36
- data/sproutcore/frameworks/core_foundation/system/builder.js +0 -210
- data/sproutcore/frameworks/core_foundation/system/core_query.js +0 -141
- data/sproutcore/frameworks/core_foundation/system/cursor.js +0 -131
- data/sproutcore/frameworks/core_foundation/system/device.js +0 -210
- data/sproutcore/frameworks/core_foundation/system/event.js +0 -914
- data/sproutcore/frameworks/core_foundation/system/json.js +0 -515
- data/sproutcore/frameworks/core_foundation/system/locale.js +0 -293
- data/sproutcore/frameworks/core_foundation/system/page.js +0 -108
- data/sproutcore/frameworks/core_foundation/system/platform.js +0 -399
- data/sproutcore/frameworks/core_foundation/system/ready.js +0 -77
- data/sproutcore/frameworks/core_foundation/system/render_context.js +0 -1063
- data/sproutcore/frameworks/core_foundation/system/responder.js +0 -124
- data/sproutcore/frameworks/core_foundation/system/root_responder.js +0 -2173
- data/sproutcore/frameworks/core_foundation/system/selection_set.js +0 -695
- data/sproutcore/frameworks/core_foundation/system/sparse_array.js +0 -393
- data/sproutcore/frameworks/core_foundation/system/theme.js +0 -316
- data/sproutcore/frameworks/core_foundation/system/timer.js +0 -553
- data/sproutcore/frameworks/core_foundation/system/utils.js +0 -151
- data/sproutcore/frameworks/core_foundation/system/utils/rect.js +0 -98
- data/sproutcore/frameworks/core_foundation/tests/controllers/array/array_case.js +0 -218
- data/sproutcore/frameworks/core_foundation/tests/controllers/array/enum_case.js +0 -206
- data/sproutcore/frameworks/core_foundation/tests/controllers/array/null_case.js +0 -64
- data/sproutcore/frameworks/core_foundation/tests/controllers/array/selection_support.js +0 -344
- data/sproutcore/frameworks/core_foundation/tests/controllers/array/single_case.js +0 -136
- data/sproutcore/frameworks/core_foundation/tests/controllers/object/empty_case.js +0 -82
- data/sproutcore/frameworks/core_foundation/tests/controllers/object/multiple_case.js +0 -111
- data/sproutcore/frameworks/core_foundation/tests/controllers/object/single_case.js +0 -193
- data/sproutcore/frameworks/core_foundation/tests/controllers/object/single_enumerable_case.js +0 -265
- data/sproutcore/frameworks/core_foundation/tests/mixins/responder_context.js +0 -75
- data/sproutcore/frameworks/core_foundation/tests/mixins/string.js +0 -55
- data/sproutcore/frameworks/core_foundation/tests/panes/template.js +0 -14
- data/sproutcore/frameworks/core_foundation/tests/system/builder.js +0 -42
- data/sproutcore/frameworks/core_foundation/tests/system/core_query/within.js +0 -65
- data/sproutcore/frameworks/core_foundation/tests/system/json.js +0 -14
- data/sproutcore/frameworks/core_foundation/tests/system/locale.js +0 -134
- data/sproutcore/frameworks/core_foundation/tests/system/ready/done.js +0 -32
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/begin.js +0 -47
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/element.js +0 -44
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/end.js +0 -124
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/get.js +0 -51
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_attr.js +0 -50
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_basic.js +0 -28
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_className.js +0 -177
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_style.js +0 -109
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/init.js +0 -55
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/join.js +0 -28
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/push_text.js +0 -74
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/tag.js +0 -46
- data/sproutcore/frameworks/core_foundation/tests/system/render_context/update.js +0 -218
- data/sproutcore/frameworks/core_foundation/tests/system/root_responder/makeKeyPane.js +0 -124
- data/sproutcore/frameworks/core_foundation/tests/system/root_responder/makeMainPane.js +0 -68
- data/sproutcore/frameworks/core_foundation/tests/system/root_responder/makeMenuPane.js +0 -48
- data/sproutcore/frameworks/core_foundation/tests/system/root_responder/root_responder.js +0 -101
- data/sproutcore/frameworks/core_foundation/tests/system/root_responder/targetForAction.js +0 -288
- data/sproutcore/frameworks/core_foundation/tests/system/selection_set/add.js +0 -92
- data/sproutcore/frameworks/core_foundation/tests/system/selection_set/copy.js +0 -17
- data/sproutcore/frameworks/core_foundation/tests/system/selection_set/indexSetForSource.js +0 -98
- data/sproutcore/frameworks/core_foundation/tests/system/selection_set/isEqual.js +0 -60
- data/sproutcore/frameworks/core_foundation/tests/system/selection_set/remove.js +0 -111
- data/sproutcore/frameworks/core_foundation/tests/system/sparse_array.js +0 -194
- data/sproutcore/frameworks/core_foundation/tests/system/theme.js +0 -77
- data/sproutcore/frameworks/core_foundation/tests/system/timer/invalidate.js +0 -38
- data/sproutcore/frameworks/core_foundation/tests/system/timer/invokeLater.js +0 -203
- data/sproutcore/frameworks/core_foundation/tests/system/timer/isPaused.js +0 -71
- data/sproutcore/frameworks/core_foundation/tests/system/timer/performAction.js +0 -69
- data/sproutcore/frameworks/core_foundation/tests/system/timer/schedule.js +0 -170
- data/sproutcore/frameworks/core_foundation/tests/system/utils/normalizeURL.js +0 -18
- data/sproutcore/frameworks/core_foundation/tests/system/utils/offset.js +0 -271
- data/sproutcore/frameworks/core_foundation/tests/system/utils/rect.js +0 -99
- data/sproutcore/frameworks/core_foundation/tests/views/main_pane.js +0 -43
- data/sproutcore/frameworks/core_foundation/tests/views/pane/append_remove.js +0 -218
- data/sproutcore/frameworks/core_foundation/tests/views/pane/child_view.js +0 -20
- data/sproutcore/frameworks/core_foundation/tests/views/pane/firstResponder.js +0 -148
- data/sproutcore/frameworks/core_foundation/tests/views/pane/keyPane.js +0 -133
- data/sproutcore/frameworks/core_foundation/tests/views/pane/layout.js +0 -31
- data/sproutcore/frameworks/core_foundation/tests/views/pane/sendEvent.js +0 -206
- data/sproutcore/frameworks/core_foundation/tests/views/template/checkbox_support.js +0 -32
- data/sproutcore/frameworks/core_foundation/tests/views/template/text_field_support.js +0 -73
- data/sproutcore/frameworks/core_foundation/tests/views/template_view/collection.js +0 -111
- data/sproutcore/frameworks/core_foundation/tests/views/template_view/core.js +0 -100
- data/sproutcore/frameworks/core_foundation/tests/views/template_view/handlebars.js +0 -580
- data/sproutcore/frameworks/core_foundation/tests/views/view/animation.js +0 -376
- data/sproutcore/frameworks/core_foundation/tests/views/view/build.js +0 -85
- data/sproutcore/frameworks/core_foundation/tests/views/view/build_children.js +0 -89
- data/sproutcore/frameworks/core_foundation/tests/views/view/clippingFrame.js +0 -117
- data/sproutcore/frameworks/core_foundation/tests/views/view/convertFrames.js +0 -248
- data/sproutcore/frameworks/core_foundation/tests/views/view/convertLayouts.js +0 -145
- data/sproutcore/frameworks/core_foundation/tests/views/view/createChildViews.js +0 -132
- data/sproutcore/frameworks/core_foundation/tests/views/view/createLayer.js +0 -97
- data/sproutcore/frameworks/core_foundation/tests/views/view/destroyLayer.js +0 -83
- data/sproutcore/frameworks/core_foundation/tests/views/view/didAppendToDocument.js +0 -51
- data/sproutcore/frameworks/core_foundation/tests/views/view/findLayerInParentLayer.js +0 -50
- data/sproutcore/frameworks/core_foundation/tests/views/view/init.js +0 -50
- data/sproutcore/frameworks/core_foundation/tests/views/view/insertBefore.js +0 -217
- data/sproutcore/frameworks/core_foundation/tests/views/view/isVisible.js +0 -79
- data/sproutcore/frameworks/core_foundation/tests/views/view/isVisibleInWindow.js +0 -116
- data/sproutcore/frameworks/core_foundation/tests/views/view/keyboard.js +0 -22
- data/sproutcore/frameworks/core_foundation/tests/views/view/layer.js +0 -150
- data/sproutcore/frameworks/core_foundation/tests/views/view/layoutChildViews.js +0 -162
- data/sproutcore/frameworks/core_foundation/tests/views/view/layoutDidChange.js +0 -180
- data/sproutcore/frameworks/core_foundation/tests/views/view/layoutStyle.js +0 -735
- data/sproutcore/frameworks/core_foundation/tests/views/view/parentViewDidChange.js +0 -67
- data/sproutcore/frameworks/core_foundation/tests/views/view/prepareContext.js +0 -203
- data/sproutcore/frameworks/core_foundation/tests/views/view/removeChild.js +0 -189
- data/sproutcore/frameworks/core_foundation/tests/views/view/render.js +0 -125
- data/sproutcore/frameworks/core_foundation/tests/views/view/render_delegate_support.js +0 -163
- data/sproutcore/frameworks/core_foundation/tests/views/view/replaceChild.js +0 -29
- data/sproutcore/frameworks/core_foundation/tests/views/view/static_layout.js +0 -21
- data/sproutcore/frameworks/core_foundation/tests/views/view/theme.js +0 -43
- data/sproutcore/frameworks/core_foundation/tests/views/view/updateLayer.js +0 -148
- data/sproutcore/frameworks/core_foundation/tests/views/view/updateLayerLocation.js +0 -213
- data/sproutcore/frameworks/core_foundation/tests/views/view/view.js +0 -64
- data/sproutcore/frameworks/core_foundation/tests/views/view/viewDidResize.js +0 -202
- data/sproutcore/frameworks/core_foundation/views/template.js +0 -77
- data/sproutcore/frameworks/core_foundation/views/template/checkbox_support.js +0 -20
- data/sproutcore/frameworks/core_foundation/views/template/collection.js +0 -106
- data/sproutcore/frameworks/core_foundation/views/template/text_field_support.js +0 -35
- data/sproutcore/frameworks/core_foundation/views/view.js +0 -1458
- data/sproutcore/frameworks/core_foundation/views/view/animation.js +0 -181
- data/sproutcore/frameworks/core_foundation/views/view/base.js +0 -1
- data/sproutcore/frameworks/core_foundation/views/view/cursor.js +0 -48
- data/sproutcore/frameworks/core_foundation/views/view/enabled.js +0 -57
- data/sproutcore/frameworks/core_foundation/views/view/keyboard.js +0 -223
- data/sproutcore/frameworks/core_foundation/views/view/layout.js +0 -1087
- data/sproutcore/frameworks/core_foundation/views/view/layout_style.js +0 -618
- data/sproutcore/frameworks/core_foundation/views/view/manipulation.js +0 -426
- data/sproutcore/frameworks/core_foundation/views/view/theming.js +0 -362
- data/sproutcore/frameworks/core_foundation/views/view/touch.js +0 -67
- data/sproutcore/frameworks/core_foundation/views/view/visibility.js +0 -118
- data/sproutcore/frameworks/core_tools/core.js +0 -20
- data/sproutcore/frameworks/core_tools/data_source.js +0 -99
- data/sproutcore/frameworks/core_tools/english.lproj/strings.js +0 -15
- data/sproutcore/frameworks/core_tools/fixtures/target.js +0 -87
- data/sproutcore/frameworks/core_tools/fixtures/test.js +0 -44
- data/sproutcore/frameworks/core_tools/models/target.js +0 -108
- data/sproutcore/frameworks/core_tools/models/test.js +0 -48
- data/sproutcore/frameworks/datastore/core.js +0 -8
- data/sproutcore/frameworks/datastore/data_sources/cascade.js +0 -180
- data/sproutcore/frameworks/datastore/data_sources/data_source.js +0 -583
- data/sproutcore/frameworks/datastore/data_sources/fixtures.js +0 -393
- data/sproutcore/frameworks/datastore/debug/json.js +0 -71
- data/sproutcore/frameworks/datastore/debug/standard_setup.js +0 -96
- data/sproutcore/frameworks/datastore/fixtures/author_fixtures.js +0 -2503
- data/sproutcore/frameworks/datastore/fixtures/sample.js +0 -17
- data/sproutcore/frameworks/datastore/models/child_attribute.js +0 -96
- data/sproutcore/frameworks/datastore/models/children_attribute.js +0 -75
- data/sproutcore/frameworks/datastore/models/fetched_attribute.js +0 -100
- data/sproutcore/frameworks/datastore/models/many_attribute.js +0 -154
- data/sproutcore/frameworks/datastore/models/record.js +0 -1318
- data/sproutcore/frameworks/datastore/models/record_attribute.js +0 -567
- data/sproutcore/frameworks/datastore/models/single_attribute.js +0 -159
- data/sproutcore/frameworks/datastore/system/child_array.js +0 -222
- data/sproutcore/frameworks/datastore/system/many_array.js +0 -418
- data/sproutcore/frameworks/datastore/system/nested_store.js +0 -609
- data/sproutcore/frameworks/datastore/system/query.js +0 -1599
- data/sproutcore/frameworks/datastore/system/record_array.js +0 -710
- data/sproutcore/frameworks/datastore/system/store.js +0 -2860
- data/sproutcore/frameworks/datastore/tests/data_sources/cascade.js +0 -133
- data/sproutcore/frameworks/datastore/tests/data_sources/fixtures.js +0 -122
- data/sproutcore/frameworks/datastore/tests/integration/contact_model.js +0 -131
- data/sproutcore/frameworks/datastore/tests/integration/cyclical_relationship.js +0 -119
- data/sproutcore/frameworks/datastore/tests/integration/mail_model.js +0 -91
- data/sproutcore/frameworks/datastore/tests/integration/test_runner_model.js +0 -56
- data/sproutcore/frameworks/datastore/tests/models/datetime_recordattribute.js +0 -73
- data/sproutcore/frameworks/datastore/tests/models/many_attribute.js +0 -423
- data/sproutcore/frameworks/datastore/tests/models/nested_records/data_store.js +0 -180
- data/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record.js +0 -309
- data/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_array.js +0 -363
- data/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_array_complex.js +0 -421
- data/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_complex.js +0 -304
- data/sproutcore/frameworks/datastore/tests/models/record/core_methods.js +0 -55
- data/sproutcore/frameworks/datastore/tests/models/record/destroy.js +0 -92
- data/sproutcore/frameworks/datastore/tests/models/record/error_methods.js +0 -56
- data/sproutcore/frameworks/datastore/tests/models/record/normalize.js +0 -336
- data/sproutcore/frameworks/datastore/tests/models/record/readAttribute.js +0 -53
- data/sproutcore/frameworks/datastore/tests/models/record/refresh.js +0 -48
- data/sproutcore/frameworks/datastore/tests/models/record/storeDidChangeProperties.js +0 -170
- data/sproutcore/frameworks/datastore/tests/models/record/unknownProperty.js +0 -66
- data/sproutcore/frameworks/datastore/tests/models/record/writeAttribute.js +0 -112
- data/sproutcore/frameworks/datastore/tests/models/record_attribute.js +0 -252
- data/sproutcore/frameworks/datastore/tests/models/single_attribute.js +0 -284
- data/sproutcore/frameworks/datastore/tests/system/many_array/core_methods.js +0 -204
- data/sproutcore/frameworks/datastore/tests/system/nested_store/chain.js +0 -180
- data/sproutcore/frameworks/datastore/tests/system/nested_store/commitChanges.js +0 -173
- data/sproutcore/frameworks/datastore/tests/system/nested_store/commitChangesFromNestedStore.js +0 -158
- data/sproutcore/frameworks/datastore/tests/system/nested_store/core_methods.js +0 -70
- data/sproutcore/frameworks/datastore/tests/system/nested_store/dataHashDidChange.js +0 -113
- data/sproutcore/frameworks/datastore/tests/system/nested_store/discardChanges.js +0 -102
- data/sproutcore/frameworks/datastore/tests/system/nested_store/readDataHash.js +0 -180
- data/sproutcore/frameworks/datastore/tests/system/nested_store/readEditableDataHash.js +0 -126
- data/sproutcore/frameworks/datastore/tests/system/nested_store/removeDataHash.js +0 -163
- data/sproutcore/frameworks/datastore/tests/system/nested_store/writeDataHash.js +0 -166
- data/sproutcore/frameworks/datastore/tests/system/query/builders.js +0 -219
- data/sproutcore/frameworks/datastore/tests/system/query/compare.js +0 -144
- data/sproutcore/frameworks/datastore/tests/system/query/contains.js +0 -131
- data/sproutcore/frameworks/datastore/tests/system/query/containsRecordTypes.js +0 -81
- data/sproutcore/frameworks/datastore/tests/system/query/copy.js +0 -30
- data/sproutcore/frameworks/datastore/tests/system/query/evaluation.js +0 -197
- data/sproutcore/frameworks/datastore/tests/system/query/evaluation_of_records.js +0 -92
- data/sproutcore/frameworks/datastore/tests/system/query/expandedRecordTypes.js +0 -64
- data/sproutcore/frameworks/datastore/tests/system/query/parse.js +0 -216
- data/sproutcore/frameworks/datastore/tests/system/query/queryWithScope.js +0 -57
- data/sproutcore/frameworks/datastore/tests/system/query/record_type_is.js +0 -47
- data/sproutcore/frameworks/datastore/tests/system/query/registered_comparisons.js +0 -70
- data/sproutcore/frameworks/datastore/tests/system/query/registered_query_extensions.js +0 -71
- data/sproutcore/frameworks/datastore/tests/system/record_array/core_methods.js +0 -177
- data/sproutcore/frameworks/datastore/tests/system/record_array/error_methods.js +0 -50
- data/sproutcore/frameworks/datastore/tests/system/record_array/flush.js +0 -214
- data/sproutcore/frameworks/datastore/tests/system/store/cancelRecord.js +0 -54
- data/sproutcore/frameworks/datastore/tests/system/store/commitChangesFromNestedStore.js +0 -137
- data/sproutcore/frameworks/datastore/tests/system/store/commitRecord.js +0 -221
- data/sproutcore/frameworks/datastore/tests/system/store/core_methods.js +0 -156
- data/sproutcore/frameworks/datastore/tests/system/store/createRecord.js +0 -76
- data/sproutcore/frameworks/datastore/tests/system/store/dataHashDidChange.js +0 -157
- data/sproutcore/frameworks/datastore/tests/system/store/dataSourceCallbacks.js +0 -278
- data/sproutcore/frameworks/datastore/tests/system/store/destroyRecord.js +0 -110
- data/sproutcore/frameworks/datastore/tests/system/store/error_methods.js +0 -62
- data/sproutcore/frameworks/datastore/tests/system/store/find.js +0 -530
- data/sproutcore/frameworks/datastore/tests/system/store/init.js +0 -23
- data/sproutcore/frameworks/datastore/tests/system/store/loadRecord.js +0 -64
- data/sproutcore/frameworks/datastore/tests/system/store/pushChanges.js +0 -61
- data/sproutcore/frameworks/datastore/tests/system/store/readDataHash.js +0 -74
- data/sproutcore/frameworks/datastore/tests/system/store/readEditableDataHash.js +0 -74
- data/sproutcore/frameworks/datastore/tests/system/store/recordDidChange.js +0 -76
- data/sproutcore/frameworks/datastore/tests/system/store/removeDataHash.js +0 -144
- data/sproutcore/frameworks/datastore/tests/system/store/retrieveRecord.js +0 -200
- data/sproutcore/frameworks/datastore/tests/system/store/unloadRecords.js +0 -41
- data/sproutcore/frameworks/datastore/tests/system/store/writeDataHash.js +0 -125
- data/sproutcore/frameworks/datetime/resources/strings.js +0 -14
- data/sproutcore/frameworks/datetime/system/datetime.js +0 -1111
- data/sproutcore/frameworks/datetime/tests/system/datetime.js +0 -383
- data/sproutcore/frameworks/debug/core.js +0 -114
- data/sproutcore/frameworks/debug/invoke_once_last_debugging.js +0 -259
- data/sproutcore/frameworks/designer/coders/design.js +0 -20
- data/sproutcore/frameworks/designer/coders/object.js +0 -347
- data/sproutcore/frameworks/designer/controllers/controllers.js +0 -16
- data/sproutcore/frameworks/designer/controllers/design.js +0 -37
- data/sproutcore/frameworks/designer/controllers/designs.js +0 -133
- data/sproutcore/frameworks/designer/controllers/page_design.js +0 -170
- data/sproutcore/frameworks/designer/controllers/page_files.js +0 -22
- data/sproutcore/frameworks/designer/core.js +0 -26
- data/sproutcore/frameworks/designer/css/css_rule.js +0 -22
- data/sproutcore/frameworks/designer/css/css_style.js +0 -29
- data/sproutcore/frameworks/designer/css/css_style_sheet.js +0 -201
- data/sproutcore/frameworks/designer/designers/button.js +0 -21
- data/sproutcore/frameworks/designer/designers/label.js +0 -16
- data/sproutcore/frameworks/designer/designers/object_designer.js +0 -296
- data/sproutcore/frameworks/designer/designers/tab.js +0 -18
- data/sproutcore/frameworks/designer/designers/text_field.js +0 -15
- data/sproutcore/frameworks/designer/designers/view_designer.js +0 -1267
- data/sproutcore/frameworks/designer/english.lproj/css/designer.css +0 -96
- data/sproutcore/frameworks/designer/english.lproj/design_page.js +0 -55
- data/sproutcore/frameworks/designer/english.lproj/high_light.css +0 -10
- data/sproutcore/frameworks/designer/english.lproj/images/controller.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/dock-bg.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/dock-item-bg.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/dock-item-divider.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/dock-item-sel-bg.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/dock-item-sel-divider.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/main-bg.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/page.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/pane.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/images/view.png +0 -0
- data/sproutcore/frameworks/designer/english.lproj/selection_handles.css +0 -58
- data/sproutcore/frameworks/designer/ext/binding.js +0 -33
- data/sproutcore/frameworks/designer/ext/object.js +0 -26
- data/sproutcore/frameworks/designer/ext/page.js +0 -58
- data/sproutcore/frameworks/designer/ext/view.js +0 -27
- data/sproutcore/frameworks/designer/mixins/button.js +0 -11
- data/sproutcore/frameworks/designer/mixins/snap_lines.js +0 -221
- data/sproutcore/frameworks/designer/tests/coders/page.js +0 -54
- data/sproutcore/frameworks/designer/tests/designers/view_designer.js +0 -47
- data/sproutcore/frameworks/designer/views/designer_drop_target.js +0 -144
- data/sproutcore/frameworks/designer/views/drawing.js +0 -219
- data/sproutcore/frameworks/designer/views/high_light.js +0 -66
- data/sproutcore/frameworks/designer/views/page_item_view.js +0 -130
- data/sproutcore/frameworks/designer/views/selection_handles.js +0 -78
- data/sproutcore/frameworks/desktop/.greenhouseconf +0 -218
- data/sproutcore/frameworks/desktop/core.js +0 -18
- data/sproutcore/frameworks/desktop/debug/drag.js +0 -41
- data/sproutcore/frameworks/desktop/english.lproj/alert.css +0 -56
- data/sproutcore/frameworks/desktop/english.lproj/debug/a_sample_image.jpg +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/debug/apple-logo1.jpeg +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/debug/iframe.html +0 -23
- data/sproutcore/frameworks/desktop/english.lproj/disclosure.css +0 -74
- data/sproutcore/frameworks/desktop/english.lproj/drag.css +0 -7
- data/sproutcore/frameworks/desktop/english.lproj/icons.css +0 -943
- data/sproutcore/frameworks/desktop/english.lproj/images/cap.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/downbutton.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/icons/shared.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/thumb-bottom.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/thumb-center.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/thumb-top.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/track.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/images/upbutton.png +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/list_item.css +0 -185
- data/sproutcore/frameworks/desktop/english.lproj/menu.css +0 -12
- data/sproutcore/frameworks/desktop/english.lproj/menu_item_view.css +0 -109
- data/sproutcore/frameworks/desktop/english.lproj/modal.css +0 -9
- data/sproutcore/frameworks/desktop/english.lproj/panel.css +0 -91
- data/sproutcore/frameworks/desktop/english.lproj/picker.css +0 -35
- data/sproutcore/frameworks/desktop/english.lproj/progress.css +0 -33
- data/sproutcore/frameworks/desktop/english.lproj/radio.css +0 -10
- data/sproutcore/frameworks/desktop/english.lproj/segmented.css +0 -132
- data/sproutcore/frameworks/desktop/english.lproj/separator.css +0 -19
- data/sproutcore/frameworks/desktop/english.lproj/slider.css +0 -66
- data/sproutcore/frameworks/desktop/english.lproj/split.css +0 -0
- data/sproutcore/frameworks/desktop/english.lproj/split_divider.css +0 -6
- data/sproutcore/frameworks/desktop/english.lproj/strings.js +0 -14
- data/sproutcore/frameworks/desktop/english.lproj/tab.css +0 -7
- data/sproutcore/frameworks/desktop/english.lproj/toolbar.css +0 -5
- data/sproutcore/frameworks/desktop/english.lproj/touch-scroller.css +0 -196
- data/sproutcore/frameworks/desktop/english.lproj/well.css +0 -71
- data/sproutcore/frameworks/desktop/mixins/border.js +0 -151
- data/sproutcore/frameworks/desktop/mixins/collection_fast_path.js +0 -694
- data/sproutcore/frameworks/desktop/mixins/collection_group.js +0 -22
- data/sproutcore/frameworks/desktop/mixins/collection_row_delegate.js +0 -95
- data/sproutcore/frameworks/desktop/mixins/collection_view_delegate.js +0 -295
- data/sproutcore/frameworks/desktop/mixins/navigation_builder.js +0 -130
- data/sproutcore/frameworks/desktop/mixins/scrollable.js +0 -253
- data/sproutcore/frameworks/desktop/panes/alert.js +0 -457
- data/sproutcore/frameworks/desktop/panes/menu.js +0 -1141
- data/sproutcore/frameworks/desktop/panes/modal.js +0 -71
- data/sproutcore/frameworks/desktop/panes/palette.js +0 -74
- data/sproutcore/frameworks/desktop/panes/panel.js +0 -207
- data/sproutcore/frameworks/desktop/panes/picker.js +0 -796
- data/sproutcore/frameworks/desktop/panes/select_button.js +0 -895
- data/sproutcore/frameworks/desktop/panes/sheet.js +0 -214
- data/sproutcore/frameworks/desktop/protocols/drag_data_source.js +0 -39
- data/sproutcore/frameworks/desktop/protocols/drag_source.js +0 -81
- data/sproutcore/frameworks/desktop/protocols/drop_target.js +0 -175
- data/sproutcore/frameworks/desktop/protocols/responder.js +0 -299
- data/sproutcore/frameworks/desktop/render_delegates/button.js +0 -105
- data/sproutcore/frameworks/desktop/render_delegates/checkbox.js +0 -100
- data/sproutcore/frameworks/desktop/render_delegates/collection.js +0 -24
- data/sproutcore/frameworks/desktop/render_delegates/disclosure.js +0 -69
- data/sproutcore/frameworks/desktop/render_delegates/helpers/slicing.js +0 -34
- data/sproutcore/frameworks/desktop/render_delegates/image_button.js +0 -30
- data/sproutcore/frameworks/desktop/render_delegates/master_detail.js +0 -28
- data/sproutcore/frameworks/desktop/render_delegates/menu.js +0 -47
- data/sproutcore/frameworks/desktop/render_delegates/panel.js +0 -28
- data/sproutcore/frameworks/desktop/render_delegates/picker.js +0 -43
- data/sproutcore/frameworks/desktop/render_delegates/progress.js +0 -187
- data/sproutcore/frameworks/desktop/render_delegates/radio.js +0 -95
- data/sproutcore/frameworks/desktop/render_delegates/radio_group.js +0 -109
- data/sproutcore/frameworks/desktop/render_delegates/segment.js +0 -55
- data/sproutcore/frameworks/desktop/render_delegates/segmented.js +0 -77
- data/sproutcore/frameworks/desktop/render_delegates/slider.js +0 -58
- data/sproutcore/frameworks/desktop/render_delegates/source_list.js +0 -8
- data/sproutcore/frameworks/desktop/render_delegates/toolbar.js +0 -18
- data/sproutcore/frameworks/desktop/render_delegates/well.js +0 -27
- data/sproutcore/frameworks/desktop/render_delegates/workspace.js +0 -18
- data/sproutcore/frameworks/desktop/system/drag.js +0 -974
- data/sproutcore/frameworks/desktop/system/key_bindings.js +0 -40
- data/sproutcore/frameworks/desktop/system/undo_manager.js +0 -187
- data/sproutcore/frameworks/desktop/tests/integration/dialog.js +0 -48
- data/sproutcore/frameworks/desktop/tests/mixins/border.js +0 -97
- data/sproutcore/frameworks/desktop/tests/panes/alert/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/panes/alert/ui.js +0 -158
- data/sproutcore/frameworks/desktop/tests/panes/menu/methods.js +0 -135
- data/sproutcore/frameworks/desktop/tests/panes/menu/ui.js +0 -258
- data/sproutcore/frameworks/desktop/tests/panes/palette/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/panes/palette/ui.js +0 -35
- data/sproutcore/frameworks/desktop/tests/panes/pane_page.js +0 -41
- data/sproutcore/frameworks/desktop/tests/panes/panel/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/panes/panel/ui.js +0 -83
- data/sproutcore/frameworks/desktop/tests/panes/picker/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/panes/picker/ui.js +0 -92
- data/sproutcore/frameworks/desktop/tests/panes/select_button/methods.js +0 -194
- data/sproutcore/frameworks/desktop/tests/panes/select_button/ui.js +0 -220
- data/sproutcore/frameworks/desktop/tests/panes/sheet/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/panes/sheet/ui.js +0 -44
- data/sproutcore/frameworks/desktop/tests/views/button/methods.js +0 -166
- data/sproutcore/frameworks/desktop/tests/views/button/ui.js +0 -236
- data/sproutcore/frameworks/desktop/tests/views/checkbox/methods.js +0 -126
- data/sproutcore/frameworks/desktop/tests/views/checkbox/ui.js +0 -124
- data/sproutcore/frameworks/desktop/tests/views/collection/content.js +0 -249
- data/sproutcore/frameworks/desktop/tests/views/collection/deleteSelection.js +0 -82
- data/sproutcore/frameworks/desktop/tests/views/collection/deselect.js +0 -215
- data/sproutcore/frameworks/desktop/tests/views/collection/displayProperties.js +0 -31
- data/sproutcore/frameworks/desktop/tests/views/collection/itemViewForContentIndex.js +0 -300
- data/sproutcore/frameworks/desktop/tests/views/collection/layerIdFor.js +0 -65
- data/sproutcore/frameworks/desktop/tests/views/collection/length.js +0 -88
- data/sproutcore/frameworks/desktop/tests/views/collection/mouse.js +0 -240
- data/sproutcore/frameworks/desktop/tests/views/collection/nowShowing.js +0 -121
- data/sproutcore/frameworks/desktop/tests/views/collection/reload.js +0 -177
- data/sproutcore/frameworks/desktop/tests/views/collection/select.js +0 -240
- data/sproutcore/frameworks/desktop/tests/views/collection/selectNextItem.js +0 -205
- data/sproutcore/frameworks/desktop/tests/views/collection/selectPreviousItem.js +0 -211
- data/sproutcore/frameworks/desktop/tests/views/collection/selection.js +0 -141
- data/sproutcore/frameworks/desktop/tests/views/collection/ui_diagram.js +0 -188
- data/sproutcore/frameworks/desktop/tests/views/date_field/methods.js +0 -76
- data/sproutcore/frameworks/desktop/tests/views/date_field/ui.js +0 -456
- data/sproutcore/frameworks/desktop/tests/views/disclosure/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/disclosure/ui.js +0 -104
- data/sproutcore/frameworks/desktop/tests/views/grid/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/grid/ui.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/image_button/ui.js +0 -25
- data/sproutcore/frameworks/desktop/tests/views/list/render.js +0 -92
- data/sproutcore/frameworks/desktop/tests/views/list/rowDelegate.js +0 -183
- data/sproutcore/frameworks/desktop/tests/views/list/rowHeightForContentIndex.js +0 -133
- data/sproutcore/frameworks/desktop/tests/views/list/rowOffsetForContentIndex.js +0 -131
- data/sproutcore/frameworks/desktop/tests/views/list/ui_alternatingrows.js +0 -130
- data/sproutcore/frameworks/desktop/tests/views/list/ui_outline.js +0 -56
- data/sproutcore/frameworks/desktop/tests/views/list/ui_row_heights.js +0 -205
- data/sproutcore/frameworks/desktop/tests/views/list/ui_simple.js +0 -127
- data/sproutcore/frameworks/desktop/tests/views/list_item.js +0 -396
- data/sproutcore/frameworks/desktop/tests/views/menu_item/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/menu_item/ui.js +0 -46
- data/sproutcore/frameworks/desktop/tests/views/progress/methods.js +0 -128
- data/sproutcore/frameworks/desktop/tests/views/progress/ui.js +0 -421
- data/sproutcore/frameworks/desktop/tests/views/radio/methods.js +0 -119
- data/sproutcore/frameworks/desktop/tests/views/radio/ui.js +0 -349
- data/sproutcore/frameworks/desktop/tests/views/scroll/methods.js +0 -143
- data/sproutcore/frameworks/desktop/tests/views/scroll/ui.js +0 -162
- data/sproutcore/frameworks/desktop/tests/views/scroller.js +0 -118
- data/sproutcore/frameworks/desktop/tests/views/segmented/methods.js +0 -108
- data/sproutcore/frameworks/desktop/tests/views/segmented/ui.js +0 -457
- data/sproutcore/frameworks/desktop/tests/views/select/methods.js +0 -144
- data/sproutcore/frameworks/desktop/tests/views/select/ui.js +0 -224
- data/sproutcore/frameworks/desktop/tests/views/select_field/methods.js +0 -163
- data/sproutcore/frameworks/desktop/tests/views/select_field/ui.js +0 -117
- data/sproutcore/frameworks/desktop/tests/views/separator.js +0 -44
- data/sproutcore/frameworks/desktop/tests/views/source_list/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/source_list/ui.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/split/methods.js +0 -60
- data/sproutcore/frameworks/desktop/tests/views/split/ui.js +0 -59
- data/sproutcore/frameworks/desktop/tests/views/stacked/ui_comments.js +0 -238
- data/sproutcore/frameworks/desktop/tests/views/static_content.js +0 -46
- data/sproutcore/frameworks/desktop/tests/views/tab/methods.js +0 -54
- data/sproutcore/frameworks/desktop/tests/views/tab/ui.js +0 -92
- data/sproutcore/frameworks/desktop/tests/views/toolbar/method.js +0 -33
- data/sproutcore/frameworks/desktop/tests/views/toolbar/ui.js +0 -29
- data/sproutcore/frameworks/desktop/tests/views/web/methods.js +0 -10
- data/sproutcore/frameworks/desktop/tests/views/web/ui.js +0 -110
- data/sproutcore/frameworks/desktop/tests/views/well/ui.js +0 -54
- data/sproutcore/frameworks/desktop/views/button.js +0 -564
- data/sproutcore/frameworks/desktop/views/checkbox.js +0 -110
- data/sproutcore/frameworks/desktop/views/collection.js +0 -3090
- data/sproutcore/frameworks/desktop/views/date_field.js +0 -319
- data/sproutcore/frameworks/desktop/views/disclosure.js +0 -68
- data/sproutcore/frameworks/desktop/views/file.js +0 -112
- data/sproutcore/frameworks/desktop/views/grid.js +0 -207
- data/sproutcore/frameworks/desktop/views/image_button.js +0 -74
- data/sproutcore/frameworks/desktop/views/list.js +0 -637
- data/sproutcore/frameworks/desktop/views/list_item.js +0 -923
- data/sproutcore/frameworks/desktop/views/master_detail.js +0 -257
- data/sproutcore/frameworks/desktop/views/menu_item.js +0 -704
- data/sproutcore/frameworks/desktop/views/menu_scroll.js +0 -615
- data/sproutcore/frameworks/desktop/views/navigation.js +0 -237
- data/sproutcore/frameworks/desktop/views/navigation_bar.js +0 -181
- data/sproutcore/frameworks/desktop/views/popup_button.js +0 -299
- data/sproutcore/frameworks/desktop/views/progress.js +0 -197
- data/sproutcore/frameworks/desktop/views/radio.js +0 -347
- data/sproutcore/frameworks/desktop/views/scene.js +0 -204
- data/sproutcore/frameworks/desktop/views/scroll.js +0 -1824
- data/sproutcore/frameworks/desktop/views/scroller.js +0 -917
- data/sproutcore/frameworks/desktop/views/segment.js +0 -104
- data/sproutcore/frameworks/desktop/views/segmented.js +0 -1002
- data/sproutcore/frameworks/desktop/views/select.js +0 -809
- data/sproutcore/frameworks/desktop/views/select_field.js +0 -344
- data/sproutcore/frameworks/desktop/views/separator.js +0 -36
- data/sproutcore/frameworks/desktop/views/slider.js +0 -291
- data/sproutcore/frameworks/desktop/views/source_list.js +0 -49
- data/sproutcore/frameworks/desktop/views/source_list_group.js +0 -169
- data/sproutcore/frameworks/desktop/views/split.js +0 -891
- data/sproutcore/frameworks/desktop/views/split_divider.js +0 -52
- data/sproutcore/frameworks/desktop/views/stacked.js +0 -110
- data/sproutcore/frameworks/desktop/views/static_content.js +0 -134
- data/sproutcore/frameworks/desktop/views/tab.js +0 -186
- data/sproutcore/frameworks/desktop/views/thumb.js +0 -53
- data/sproutcore/frameworks/desktop/views/toolbar.js +0 -88
- data/sproutcore/frameworks/desktop/views/web.js +0 -87
- data/sproutcore/frameworks/desktop/views/well.js +0 -65
- data/sproutcore/frameworks/desktop/views/workspace.js +0 -251
- data/sproutcore/frameworks/documentation/core.js +0 -0
- data/sproutcore/frameworks/experimental/README.md +0 -23
- data/sproutcore/frameworks/experimental/frameworks/device_motion/README.md +0 -11
- data/sproutcore/frameworks/experimental/frameworks/device_motion/device.js +0 -215
- data/sproutcore/frameworks/experimental/frameworks/device_motion/platform.js +0 -67
- data/sproutcore/frameworks/experimental/frameworks/polymorphism/README.md +0 -34
- data/sproutcore/frameworks/experimental/frameworks/polymorphism/models/polymorphic_single_attribute.js +0 -183
- data/sproutcore/frameworks/experimental/frameworks/polymorphism/models/record.js +0 -23
- data/sproutcore/frameworks/experimental/frameworks/polymorphism/tests/models/polymorphic/single.js +0 -124
- data/sproutcore/frameworks/forms/english.lproj/default_styles.css +0 -5
- data/sproutcore/frameworks/forms/english.lproj/strings.js +0 -15
- data/sproutcore/frameworks/forms/mixins/edit_mode.js +0 -43
- data/sproutcore/frameworks/forms/mixins/emptiness.js +0 -95
- data/sproutcore/frameworks/forms/renderer_delegates/form.js +0 -22
- data/sproutcore/frameworks/forms/renderer_delegates/form_row.js +0 -21
- data/sproutcore/frameworks/forms/tests/views/form.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_checkbox_field.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_field.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_label.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_radio_field.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_row.js +0 -15
- data/sproutcore/frameworks/forms/tests/views/form_text_field.js +0 -15
- data/sproutcore/frameworks/forms/views/form.js +0 -282
- data/sproutcore/frameworks/forms/views/form_row.js +0 -183
- data/sproutcore/frameworks/foundation/.greenhouseconf +0 -35
- data/sproutcore/frameworks/foundation/TESTING +0 -46
- data/sproutcore/frameworks/foundation/controllers/tree.js +0 -127
- data/sproutcore/frameworks/foundation/core.js +0 -0
- data/sproutcore/frameworks/foundation/debug/control_test_pane.js +0 -191
- data/sproutcore/frameworks/foundation/english.lproj/benchmark.css +0 -146
- data/sproutcore/frameworks/foundation/english.lproj/blank.gif +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/bootstrap.rhtml +0 -67
- data/sproutcore/frameworks/foundation/english.lproj/button_view.css +0 -40
- data/sproutcore/frameworks/foundation/english.lproj/debug/control-test-pane.css +0 -9
- data/sproutcore/frameworks/foundation/english.lproj/images/favicon.ico +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-logo.png +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-landscape.jpg +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-landscape.png +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-portrait.jpg +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup-portrait.png +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore-startup.png +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/images/sproutcore.png +0 -0
- data/sproutcore/frameworks/foundation/english.lproj/inline_editor.css +0 -12
- data/sproutcore/frameworks/foundation/english.lproj/label.css +0 -47
- data/sproutcore/frameworks/foundation/english.lproj/static_layout.css +0 -5
- data/sproutcore/frameworks/foundation/english.lproj/text_field.css +0 -146
- data/sproutcore/frameworks/foundation/fixtures/file_exists.json +0 -1
- data/sproutcore/frameworks/foundation/fixtures/malformed.json +0 -11
- data/sproutcore/frameworks/foundation/gestures/pinch.js +0 -81
- data/sproutcore/frameworks/foundation/gestures/swipe.js +0 -144
- data/sproutcore/frameworks/foundation/gestures/tap.js +0 -113
- data/sproutcore/frameworks/foundation/license.js +0 -28
- data/sproutcore/frameworks/foundation/mixins/auto_mixin.js +0 -39
- data/sproutcore/frameworks/foundation/mixins/auto_resize.js +0 -233
- data/sproutcore/frameworks/foundation/mixins/button.js +0 -360
- data/sproutcore/frameworks/foundation/mixins/collection_content.js +0 -178
- data/sproutcore/frameworks/foundation/mixins/content_display.js +0 -114
- data/sproutcore/frameworks/foundation/mixins/control.js +0 -422
- data/sproutcore/frameworks/foundation/mixins/editable.js +0 -158
- data/sproutcore/frameworks/foundation/mixins/flowed_layout.js +0 -628
- data/sproutcore/frameworks/foundation/mixins/gestureable.js +0 -214
- data/sproutcore/frameworks/foundation/mixins/inline_editable.js +0 -89
- data/sproutcore/frameworks/foundation/mixins/inline_editor_delegate.js +0 -139
- data/sproutcore/frameworks/foundation/mixins/inline_text_field.js +0 -589
- data/sproutcore/frameworks/foundation/mixins/inner_frame.js +0 -184
- data/sproutcore/frameworks/foundation/mixins/static_layout.js +0 -77
- data/sproutcore/frameworks/foundation/mixins/string.js +0 -391
- data/sproutcore/frameworks/foundation/mixins/tree_item_content.js +0 -160
- data/sproutcore/frameworks/foundation/mixins/validatable.js +0 -189
- data/sproutcore/frameworks/foundation/private/tree_item_observer.js +0 -914
- data/sproutcore/frameworks/foundation/render_delegates/canvas_image.js +0 -110
- data/sproutcore/frameworks/foundation/render_delegates/container.js +0 -18
- data/sproutcore/frameworks/foundation/render_delegates/image.js +0 -97
- data/sproutcore/frameworks/foundation/render_delegates/label.js +0 -139
- data/sproutcore/frameworks/foundation/render_delegates/render_delegate.js +0 -17
- data/sproutcore/frameworks/foundation/system/benchmark.js +0 -718
- data/sproutcore/frameworks/foundation/system/chance.js +0 -64
- data/sproutcore/frameworks/foundation/system/cookie.js +0 -171
- data/sproutcore/frameworks/foundation/system/core_query.js +0 -56
- data/sproutcore/frameworks/foundation/system/exception_handler.js +0 -88
- data/sproutcore/frameworks/foundation/system/gesture.js +0 -363
- data/sproutcore/frameworks/foundation/system/image_queue.js +0 -433
- data/sproutcore/frameworks/foundation/system/math.js +0 -57
- data/sproutcore/frameworks/foundation/system/module.js +0 -583
- data/sproutcore/frameworks/foundation/system/request.js +0 -596
- data/sproutcore/frameworks/foundation/system/response.js +0 -550
- data/sproutcore/frameworks/foundation/system/routes.js +0 -519
- data/sproutcore/frameworks/foundation/system/staticqueue.js +0 -53
- data/sproutcore/frameworks/foundation/system/task_queue.js +0 -153
- data/sproutcore/frameworks/foundation/system/text_selection.js +0 -103
- data/sproutcore/frameworks/foundation/system/time.js +0 -473
- data/sproutcore/frameworks/foundation/system/user_defaults.js +0 -392
- data/sproutcore/frameworks/foundation/system/utils/colors.js +0 -80
- data/sproutcore/frameworks/foundation/system/utils/misc.js +0 -137
- data/sproutcore/frameworks/foundation/system/utils/range.js +0 -64
- data/sproutcore/frameworks/foundation/system/utils/string_measurement.js +0 -247
- data/sproutcore/frameworks/foundation/tasks/preload_bundle.js +0 -41
- data/sproutcore/frameworks/foundation/tasks/task.js +0 -17
- data/sproutcore/frameworks/foundation/tests/controllers/tree/outline_case.js +0 -108
- data/sproutcore/frameworks/foundation/tests/controllers/tree/selection_support.js +0 -340
- data/sproutcore/frameworks/foundation/tests/debug/control_test_pane/methods.js +0 -10
- data/sproutcore/frameworks/foundation/tests/debug/control_test_pane/ui.js +0 -113
- data/sproutcore/frameworks/foundation/tests/integration/creating_views.js +0 -118
- data/sproutcore/frameworks/foundation/tests/mixins/button/content.js +0 -195
- data/sproutcore/frameworks/foundation/tests/mixins/button/displayProperties.js +0 -89
- data/sproutcore/frameworks/foundation/tests/mixins/button/keyEquivalents.js +0 -57
- data/sproutcore/frameworks/foundation/tests/mixins/button/ui.js +0 -69
- data/sproutcore/frameworks/foundation/tests/mixins/content_display.js +0 -51
- data/sproutcore/frameworks/foundation/tests/mixins/control/content.js +0 -168
- data/sproutcore/frameworks/foundation/tests/mixins/control/displayProperties.js +0 -89
- data/sproutcore/frameworks/foundation/tests/mixins/editable/ui.js +0 -44
- data/sproutcore/frameworks/foundation/tests/mixins/inline_text_field/api.js +0 -52
- data/sproutcore/frameworks/foundation/tests/mixins/inline_text_field/beginEditing.js +0 -238
- data/sproutcore/frameworks/foundation/tests/mixins/inline_text_field/ui.js +0 -64
- data/sproutcore/frameworks/foundation/tests/mixins/staticLayout.js +0 -144
- data/sproutcore/frameworks/foundation/tests/mixins/string.js +0 -28
- data/sproutcore/frameworks/foundation/tests/mixins/validatable/ui.js +0 -74
- data/sproutcore/frameworks/foundation/tests/private/tree_item_observer/flat_case.js +0 -325
- data/sproutcore/frameworks/foundation/tests/private/tree_item_observer/group_case.js +0 -718
- data/sproutcore/frameworks/foundation/tests/private/tree_item_observer/outline_case.js +0 -484
- data/sproutcore/frameworks/foundation/tests/system/cookie.js +0 -179
- data/sproutcore/frameworks/foundation/tests/system/core_query/setClass.js +0 -59
- data/sproutcore/frameworks/foundation/tests/system/math.js +0 -39
- data/sproutcore/frameworks/foundation/tests/system/request.js +0 -273
- data/sproutcore/frameworks/foundation/tests/system/routes.js +0 -356
- data/sproutcore/frameworks/foundation/tests/system/task_queue.js +0 -43
- data/sproutcore/frameworks/foundation/tests/system/user_defaults.js +0 -24
- data/sproutcore/frameworks/foundation/tests/system/utils/pointInElement.js +0 -235
- data/sproutcore/frameworks/foundation/tests/system/utils/range.js +0 -62
- data/sproutcore/frameworks/foundation/tests/validators/credit_card.js +0 -35
- data/sproutcore/frameworks/foundation/tests/validators/date.js +0 -26
- data/sproutcore/frameworks/foundation/tests/validators/not_empty.js +0 -56
- data/sproutcore/frameworks/foundation/tests/validators/number.js +0 -47
- data/sproutcore/frameworks/foundation/tests/validators/password.js +0 -13
- data/sproutcore/frameworks/foundation/tests/validators/validator.js +0 -20
- data/sproutcore/frameworks/foundation/tests/views/container/methods.js +0 -18
- data/sproutcore/frameworks/foundation/tests/views/container/ui.js +0 -145
- data/sproutcore/frameworks/foundation/tests/views/image/ui.js +0 -492
- data/sproutcore/frameworks/foundation/tests/views/label/ui.js +0 -179
- data/sproutcore/frameworks/foundation/tests/views/text_field/methods.js +0 -87
- data/sproutcore/frameworks/foundation/tests/views/text_field/nextValidKeyView.js +0 -110
- data/sproutcore/frameworks/foundation/tests/views/text_field/ui.js +0 -577
- data/sproutcore/frameworks/foundation/validators/credit_card.js +0 -125
- data/sproutcore/frameworks/foundation/validators/date.js +0 -52
- data/sproutcore/frameworks/foundation/validators/date_time.js +0 -48
- data/sproutcore/frameworks/foundation/validators/email.js +0 -45
- data/sproutcore/frameworks/foundation/validators/not_empty.js +0 -37
- data/sproutcore/frameworks/foundation/validators/number.js +0 -99
- data/sproutcore/frameworks/foundation/validators/password.js +0 -86
- data/sproutcore/frameworks/foundation/validators/positive_integer.js +0 -84
- data/sproutcore/frameworks/foundation/validators/validator.js +0 -326
- data/sproutcore/frameworks/foundation/views/container.js +0 -140
- data/sproutcore/frameworks/foundation/views/field.js +0 -337
- data/sproutcore/frameworks/foundation/views/image.js +0 -381
- data/sproutcore/frameworks/foundation/views/label.js +0 -219
- data/sproutcore/frameworks/foundation/views/text_field.js +0 -1073
- data/sproutcore/frameworks/handlebars/extensions.js +0 -44
- data/sproutcore/frameworks/handlebars/extensions/bind.js +0 -156
- data/sproutcore/frameworks/handlebars/extensions/collection.js +0 -75
- data/sproutcore/frameworks/handlebars/extensions/localization.js +0 -5
- data/sproutcore/frameworks/handlebars/extensions/view.js +0 -115
- data/sproutcore/frameworks/handlebars/handlebars.js +0 -1401
- data/sproutcore/frameworks/jquery/jquery-buffer.js +0 -376
- data/sproutcore/frameworks/jquery/jquery-buffered.js +0 -205
- data/sproutcore/frameworks/jquery/jquery-sc.js +0 -7
- data/sproutcore/frameworks/jquery/jquery.js +0 -7179
- data/sproutcore/frameworks/media/.greenhouseconf +0 -29
- data/sproutcore/frameworks/media/resources/controls.png +0 -0
- data/sproutcore/frameworks/media/resources/playeras3.fla +0 -0
- data/sproutcore/frameworks/media/resources/video.css +0 -124
- data/sproutcore/frameworks/media/resources/videoCanvas.swf +0 -0
- data/sproutcore/frameworks/media/views/audio.js +0 -741
- data/sproutcore/frameworks/media/views/controls.js +0 -88
- data/sproutcore/frameworks/media/views/media_slider.js +0 -243
- data/sproutcore/frameworks/media/views/mini_controls.js +0 -63
- data/sproutcore/frameworks/media/views/simple_controls.js +0 -54
- data/sproutcore/frameworks/media/views/video.js +0 -832
- data/sproutcore/frameworks/mini/license.js +0 -29
- data/sproutcore/frameworks/runtime/README +0 -12
- data/sproutcore/frameworks/runtime/core.js +0 -1102
- data/sproutcore/frameworks/runtime/debug/test_suites/array.js +0 -14
- data/sproutcore/frameworks/runtime/debug/test_suites/array/base.js +0 -397
- data/sproutcore/frameworks/runtime/debug/test_suites/array/indexOf.js +0 -33
- data/sproutcore/frameworks/runtime/debug/test_suites/array/insertAt.js +0 -121
- data/sproutcore/frameworks/runtime/debug/test_suites/array/objectAt.js +0 -34
- data/sproutcore/frameworks/runtime/debug/test_suites/array/popObject.js +0 -50
- data/sproutcore/frameworks/runtime/debug/test_suites/array/pushObject.js +0 -46
- data/sproutcore/frameworks/runtime/debug/test_suites/array/rangeObserver.js +0 -371
- data/sproutcore/frameworks/runtime/debug/test_suites/array/removeAt.js +0 -100
- data/sproutcore/frameworks/runtime/debug/test_suites/array/removeObject.js +0 -49
- data/sproutcore/frameworks/runtime/debug/test_suites/array/replace.js +0 -94
- data/sproutcore/frameworks/runtime/debug/test_suites/array/shiftObject.js +0 -50
- data/sproutcore/frameworks/runtime/debug/test_suites/array/unshiftObject.js +0 -47
- data/sproutcore/frameworks/runtime/license.js +0 -29
- data/sproutcore/frameworks/runtime/mixins/array.js +0 -658
- data/sproutcore/frameworks/runtime/mixins/comparable.js +0 -45
- data/sproutcore/frameworks/runtime/mixins/copyable.js +0 -72
- data/sproutcore/frameworks/runtime/mixins/enumerable.js +0 -1426
- data/sproutcore/frameworks/runtime/mixins/freezable.js +0 -110
- data/sproutcore/frameworks/runtime/mixins/observable.js +0 -1408
- data/sproutcore/frameworks/runtime/private/chain_observer.js +0 -178
- data/sproutcore/frameworks/runtime/private/observer_queue.js +0 -178
- data/sproutcore/frameworks/runtime/private/observer_set.js +0 -123
- data/sproutcore/frameworks/runtime/system/binding.js +0 -1000
- data/sproutcore/frameworks/runtime/system/enumerator.js +0 -107
- data/sproutcore/frameworks/runtime/system/error.js +0 -157
- data/sproutcore/frameworks/runtime/system/index_set.js +0 -1199
- data/sproutcore/frameworks/runtime/system/logger.js +0 -1582
- data/sproutcore/frameworks/runtime/system/object.js +0 -947
- data/sproutcore/frameworks/runtime/system/range_observer.js +0 -270
- data/sproutcore/frameworks/runtime/system/run_loop.js +0 -308
- data/sproutcore/frameworks/runtime/system/set.js +0 -536
- data/sproutcore/frameworks/runtime/tests/core/IsEqual.js +0 -30
- data/sproutcore/frameworks/runtime/tests/core/beget.js +0 -23
- data/sproutcore/frameworks/runtime/tests/core/clone.js +0 -108
- data/sproutcore/frameworks/runtime/tests/core/compare.js +0 -44
- data/sproutcore/frameworks/runtime/tests/core/console.js +0 -16
- data/sproutcore/frameworks/runtime/tests/core/guidFor.js +0 -109
- data/sproutcore/frameworks/runtime/tests/core/inspect.js +0 -27
- data/sproutcore/frameworks/runtime/tests/core/itemType.js +0 -71
- data/sproutcore/frameworks/runtime/tests/core/keys.js +0 -20
- data/sproutcore/frameworks/runtime/tests/core/makeArray.js +0 -44
- data/sproutcore/frameworks/runtime/tests/core/objectForPropertyPath.js +0 -19
- data/sproutcore/frameworks/runtime/tests/core/tupleForPropertyPath.js +0 -37
- data/sproutcore/frameworks/runtime/tests/mixins/array.js +0 -59
- data/sproutcore/frameworks/runtime/tests/mixins/comparable.js +0 -44
- data/sproutcore/frameworks/runtime/tests/mixins/enumerable.js +0 -658
- data/sproutcore/frameworks/runtime/tests/mixins/observable/chained.js +0 -37
- data/sproutcore/frameworks/runtime/tests/mixins/observable/observable.js +0 -733
- data/sproutcore/frameworks/runtime/tests/mixins/observable/propertyChanges.js +0 -155
- data/sproutcore/frameworks/runtime/tests/mixins/observable/registerDependentKeys.js +0 -79
- data/sproutcore/frameworks/runtime/tests/mixins/propertyChanges.js +0 -81
- data/sproutcore/frameworks/runtime/tests/private/observer_queue/isObservingSuspended.js +0 -55
- data/sproutcore/frameworks/runtime/tests/system/binding.js +0 -395
- data/sproutcore/frameworks/runtime/tests/system/error.js +0 -53
- data/sproutcore/frameworks/runtime/tests/system/index_set/add.js +0 -212
- data/sproutcore/frameworks/runtime/tests/system/index_set/addEach.js +0 -49
- data/sproutcore/frameworks/runtime/tests/system/index_set/clone.js +0 -43
- data/sproutcore/frameworks/runtime/tests/system/index_set/contains.js +0 -74
- data/sproutcore/frameworks/runtime/tests/system/index_set/create.js +0 -42
- data/sproutcore/frameworks/runtime/tests/system/index_set/indexAfter.js +0 -38
- data/sproutcore/frameworks/runtime/tests/system/index_set/indexBefore.js +0 -38
- data/sproutcore/frameworks/runtime/tests/system/index_set/intersects.js +0 -74
- data/sproutcore/frameworks/runtime/tests/system/index_set/max.js +0 -40
- data/sproutcore/frameworks/runtime/tests/system/index_set/min.js +0 -50
- data/sproutcore/frameworks/runtime/tests/system/index_set/rangeStartForIndex.js +0 -36
- data/sproutcore/frameworks/runtime/tests/system/index_set/remove.js +0 -189
- data/sproutcore/frameworks/runtime/tests/system/index_set/removeEach.js +0 -49
- data/sproutcore/frameworks/runtime/tests/system/index_set/without.js +0 -89
- data/sproutcore/frameworks/runtime/tests/system/logger.js +0 -260
- data/sproutcore/frameworks/runtime/tests/system/object/base.js +0 -195
- data/sproutcore/frameworks/runtime/tests/system/object/bindings.js +0 -374
- data/sproutcore/frameworks/runtime/tests/system/object/concatenated_properties.js +0 -71
- data/sproutcore/frameworks/runtime/tests/system/object/enhance.js +0 -177
- data/sproutcore/frameworks/runtime/tests/system/observer_set.js +0 -50
- data/sproutcore/frameworks/runtime/tests/system/range_observer/create.js +0 -59
- data/sproutcore/frameworks/runtime/tests/system/range_observer/destroy.js +0 -75
- data/sproutcore/frameworks/runtime/tests/system/range_observer/objectPropertyDidChange.js +0 -117
- data/sproutcore/frameworks/runtime/tests/system/range_observer/rangeDidChange.js +0 -110
- data/sproutcore/frameworks/runtime/tests/system/range_observer/update.js +0 -65
- data/sproutcore/frameworks/runtime/tests/system/run_loop.js +0 -120
- data/sproutcore/frameworks/runtime/tests/system/set.js +0 -318
- data/sproutcore/frameworks/statechart/core.js +0 -5
- data/sproutcore/frameworks/statechart/debug/monitor.js +0 -136
- data/sproutcore/frameworks/statechart/system/state.js +0 -713
- data/sproutcore/frameworks/statechart/system/statechart.js +0 -951
- data/sproutcore/frameworks/statechart/tests/async.js +0 -94
- data/sproutcore/frameworks/statechart/tests/event_handling/advanced_event_handling.js +0 -310
- data/sproutcore/frameworks/statechart/tests/namespace/access_substates.js +0 -252
- data/sproutcore/frameworks/statechart/tests/state/is_current_state.js +0 -64
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_history_state.js +0 -88
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_advanced.js +0 -234
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_async.js +0 -123
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_basic.js +0 -139
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_intermediate.js +0 -119
- data/sproutcore/frameworks/statechart/tests/with_concurrent_states/send_event.js +0 -183
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/default_responder.js +0 -90
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/goto_history_state.js +0 -200
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/goto_state.js +0 -256
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/goto_state_async.js +0 -187
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/send_event.js +0 -122
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/state_plugin.js +0 -99
- data/sproutcore/frameworks/statechart/tests/without_concurrent_states/transient.js +0 -162
- data/sproutcore/frameworks/table/mixins/table_delegate.js +0 -41
- data/sproutcore/frameworks/table/system/table_column.js +0 -125
- data/sproutcore/frameworks/table/views/table.js +0 -440
- data/sproutcore/frameworks/table/views/table_cell.js +0 -63
- data/sproutcore/frameworks/table/views/table_head.js +0 -158
- data/sproutcore/frameworks/table/views/table_header.js +0 -214
- data/sproutcore/frameworks/table/views/table_row.js +0 -155
- data/sproutcore/frameworks/testing/core.js +0 -196
- data/sproutcore/frameworks/testing/english.lproj/additions.css +0 -8
- data/sproutcore/frameworks/testing/english.lproj/runner.css +0 -128
- data/sproutcore/frameworks/testing/english.lproj/testsuite.css +0 -136
- data/sproutcore/frameworks/testing/extras.js +0 -17
- data/sproutcore/frameworks/testing/jquery.js +0 -3559
- data/sproutcore/frameworks/testing/qunit.js +0 -827
- data/sproutcore/frameworks/testing/system/dump.js +0 -205
- data/sproutcore/frameworks/testing/system/equiv.js +0 -201
- data/sproutcore/frameworks/testing/system/plan.js +0 -703
- data/sproutcore/frameworks/testing/system/runner.js +0 -220
- data/sproutcore/frameworks/testing/system/suite.js +0 -228
- data/sproutcore/frameworks/testing/utils.js +0 -62
- data/sproutcore/lib/index.rhtml +0 -164
- data/sproutcore/license.js +0 -31
- data/sproutcore/themes/ace/designs/dark.png +0 -0
- data/sproutcore/themes/ace/designs/dark.psd +0 -0
- data/sproutcore/themes/ace/designs/light.png +0 -0
- data/sproutcore/themes/ace/designs/light.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/18px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/18px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/18px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/18px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/active_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/normal_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/normal_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_active_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/normal_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/44px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/44px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/44px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/ace/44px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/active_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/normal_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/normal_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_active_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_button_capsule.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/normal_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/normal_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_active_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_active_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_button.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_button_pointer.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/popup/active_select.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/button/popup/normal_select.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_checked.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_checked_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_mixed.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_mixed_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_unchecked.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_unchecked_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_checked.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_checked_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_mixed.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_mixed_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_unchecked.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_unchecked_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/collection/source-list/selection.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_closed.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_closed_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_open.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_open_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/checkmark.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/checkmark_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/down.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/menu.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/menu_item.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/menu/up.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/panel/panel.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/panel/pointers.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/picker/popover/popover.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/picker/popover/popover_empty.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/picker/popover/popover_notoolbar.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/picker/popover/popover_pointers.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/picker/popover/popover_pointers_notoolbar.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/progress/ace/progress_view_content.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/progress/ace/progress_view_indeterminate_content.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/progress/ace/progress_view_track.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_mixed.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_mixed_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_selected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_selected_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/radio/radio_unselected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/horizontal/thumb.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/horizontal/track_and_arrows.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/horizontal/track_and_arrows_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/vertical/thumb.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/vertical/track_and_arrows.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/scroller/vertical/track_and_arrows_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_normal.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_selected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_selected_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_normal.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_selected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_selected_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_normal.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_selected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_selected_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_normal.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_selected.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_selected_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/14px/knob.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/14px/knob_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/16px/knob.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/16px/knob_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/22px/knob.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/22px/knob_active.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/22px/track.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/slider/ace/track.psd +0 -0
- data/sproutcore/themes/ace/designs/psds/toolbar/toolbar.psd +0 -0
- data/sproutcore/themes/ace/designs/switch/switch.psd +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_handle.png +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_handle.psd +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_off.png +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_off.psd +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_on.png +0 -0
- data/sproutcore/themes/ace/designs/switch/switch_on.psd +0 -0
- data/sproutcore/themes/ace/resources/body.css +0 -13
- data/sproutcore/themes/ace/resources/button/ace/18px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/18px/button.css +0 -33
- data/sproutcore/themes/ace/resources/button/ace/18px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/18px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/18px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/active_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/button.css +0 -98
- data/sproutcore/themes/ace/resources/button/ace/24px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/normal_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/normal_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_active_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/24px/selected_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/button.css +0 -78
- data/sproutcore/themes/ace/resources/button/ace/30px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/normal_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/selected_active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/30px/selected_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/44px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/44px/button.css +0 -39
- data/sproutcore/themes/ace/resources/button/ace/44px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/44px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/44px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/ace/button.css +0 -36
- data/sproutcore/themes/ace/resources/button/button.js +0 -75
- data/sproutcore/themes/ace/resources/button/dark/24px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/active_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/button.css +0 -93
- data/sproutcore/themes/ace/resources/button/dark/24px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/normal_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/normal_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_active_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_button_capsule.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/24px/selected_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/button.css +0 -72
- data/sproutcore/themes/ace/resources/button/dark/30px/normal_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/normal_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/selected_active_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/selected_active_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/selected_button.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/30px/selected_button_pointer.png +0 -0
- data/sproutcore/themes/ace/resources/button/dark/button.css +0 -17
- data/sproutcore/themes/ace/resources/button/dark/button.js +0 -3
- data/sproutcore/themes/ace/resources/button/popup/active_select.png +0 -0
- data/sproutcore/themes/ace/resources/button/popup/normal_select.png +0 -0
- data/sproutcore/themes/ace/resources/button/popup/select.css +0 -20
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox.css +0 -40
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_checked.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_checked_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_mixed.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_mixed_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_unchecked.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_unchecked_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox.css +0 -40
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_checked.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_checked_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_mixed.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_mixed_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_unchecked.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_unchecked_active.png +0 -0
- data/sproutcore/themes/ace/resources/checkbox/ace/checkbox.css +0 -7
- data/sproutcore/themes/ace/resources/collection/normal/list.css +0 -4
- data/sproutcore/themes/ace/resources/collection/normal/list_item.css +0 -17
- data/sproutcore/themes/ace/resources/collection/source-list/selection.png +0 -0
- data/sproutcore/themes/ace/resources/collection/source-list/source-list.js +0 -3
- data/sproutcore/themes/ace/resources/collection/source-list/source_list_view.css +0 -36
- data/sproutcore/themes/ace/resources/disclosure/ace/disclosure.css +0 -24
- data/sproutcore/themes/ace/resources/disclosure/ace/disclosure_closed.png +0 -0
- data/sproutcore/themes/ace/resources/disclosure/ace/disclosure_closed_active.png +0 -0
- data/sproutcore/themes/ace/resources/disclosure/ace/disclosure_open.png +0 -0
- data/sproutcore/themes/ace/resources/disclosure/ace/disclosure_open_active.png +0 -0
- data/sproutcore/themes/ace/resources/imagebutton/ace/imagebutton.css +0 -11
- data/sproutcore/themes/ace/resources/loading.css +0 -50
- data/sproutcore/themes/ace/resources/master-detail/master-detail.css +0 -27
- data/sproutcore/themes/ace/resources/menu/checkmark.png +0 -0
- data/sproutcore/themes/ace/resources/menu/checkmark_active.png +0 -0
- data/sproutcore/themes/ace/resources/menu/down.png +0 -0
- data/sproutcore/themes/ace/resources/menu/menu.css +0 -75
- data/sproutcore/themes/ace/resources/menu/menu.png +0 -0
- data/sproutcore/themes/ace/resources/menu/menu_item.png +0 -0
- data/sproutcore/themes/ace/resources/menu/up.png +0 -0
- data/sproutcore/themes/ace/resources/pane/pane.css +0 -3
- data/sproutcore/themes/ace/resources/panel/panel.css +0 -13
- data/sproutcore/themes/ace/resources/panel/panel.js +0 -20
- data/sproutcore/themes/ace/resources/panel/panel.png +0 -0
- data/sproutcore/themes/ace/resources/picker/ace/panel.png +0 -0
- data/sproutcore/themes/ace/resources/picker/ace/picker.css +0 -41
- data/sproutcore/themes/ace/resources/picker/ace/picker.js +0 -0
- data/sproutcore/themes/ace/resources/picker/ace/pointers.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/picker.js +0 -32
- data/sproutcore/themes/ace/resources/picker/popover/popover.css +0 -111
- data/sproutcore/themes/ace/resources/picker/popover/popover.js +0 -12
- data/sproutcore/themes/ace/resources/picker/popover/popover.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/popover_empty.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/popover_notoolbar.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/popover_pointers.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/popover_pointers_notoolbar.png +0 -0
- data/sproutcore/themes/ace/resources/picker/popover/workspace.js +0 -28
- data/sproutcore/themes/ace/resources/progress/ace/progress.css +0 -27
- data/sproutcore/themes/ace/resources/progress/ace/progress_view_content.png +0 -0
- data/sproutcore/themes/ace/resources/progress/ace/progress_view_track.png +0 -0
- data/sproutcore/themes/ace/resources/progress/progress.js +0 -78
- data/sproutcore/themes/ace/resources/radio/radio.css +0 -63
- data/sproutcore/themes/ace/resources/radio/radio_active.png +0 -0
- data/sproutcore/themes/ace/resources/radio/radio_mixed.png +0 -0
- data/sproutcore/themes/ace/resources/radio/radio_mixed_active.png +0 -0
- data/sproutcore/themes/ace/resources/radio/radio_selected.png +0 -0
- data/sproutcore/themes/ace/resources/radio/radio_selected_active.png +0 -0
- data/sproutcore/themes/ace/resources/radio/radio_unselected.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/horizontal/horizontal.css +0 -78
- data/sproutcore/themes/ace/resources/scroller/horizontal/horizontal_touch.css +0 -91
- data/sproutcore/themes/ace/resources/scroller/horizontal/thumb.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/horizontal/track_and_arrows.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/horizontal/track_and_arrows_active.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/vertical/thumb.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/vertical/track_and_arrows.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/vertical/track_and_arrows_active.png +0 -0
- data/sproutcore/themes/ace/resources/scroller/vertical/vertical.css +0 -80
- data/sproutcore/themes/ace/resources/scroller/vertical/vertical_touch.css +0 -92
- data/sproutcore/themes/ace/resources/segmented/18px/segmented.css +0 -91
- data/sproutcore/themes/ace/resources/segmented/18px/segmented_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/18px/segmented_normal.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/18px/segmented_selected.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/18px/segmented_selected_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/24px/segmented.css +0 -91
- data/sproutcore/themes/ace/resources/segmented/24px/segmented_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/24px/segmented_normal.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/24px/segmented_selected.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/24px/segmented_selected_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/30px/segmented.css +0 -91
- data/sproutcore/themes/ace/resources/segmented/30px/segmented_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/30px/segmented_normal.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/30px/segmented_selected.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/30px/segmented_selected_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/44px/segmented.css +0 -95
- data/sproutcore/themes/ace/resources/segmented/44px/segmented_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/44px/segmented_normal.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/44px/segmented_selected.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/44px/segmented_selected_active.png +0 -0
- data/sproutcore/themes/ace/resources/segmented/segmented.css +0 -83
- data/sproutcore/themes/ace/resources/slider/ace/14px/knob.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/14px/knob_active.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/14px/slider.css +0 -27
- data/sproutcore/themes/ace/resources/slider/ace/16px/knob.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/16px/knob_active.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/16px/slider.css +0 -27
- data/sproutcore/themes/ace/resources/slider/ace/22px/knob.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/22px/knob_active.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/22px/slider.css +0 -27
- data/sproutcore/themes/ace/resources/slider/ace/22px/track.png +0 -0
- data/sproutcore/themes/ace/resources/slider/ace/slider.css +0 -7
- data/sproutcore/themes/ace/resources/slider/ace/slider.js +0 -56
- data/sproutcore/themes/ace/resources/slider/ace/track.png +0 -0
- data/sproutcore/themes/ace/resources/split/split.css +0 -5
- data/sproutcore/themes/ace/resources/tab/tab.css +0 -3
- data/sproutcore/themes/ace/resources/toolbar/toolbar.css +0 -8
- data/sproutcore/themes/ace/resources/toolbar/toolbar.png +0 -0
- data/sproutcore/themes/ace/resources/well/well.css +0 -7
- data/sproutcore/themes/ace/resources/well/well.js +0 -17
- data/sproutcore/themes/ace/theme.js +0 -14
- data/sproutcore/themes/empty_theme/tests/mini_icons.rhtml +0 -69
- data/sproutcore/themes/empty_theme/theme.js +0 -16
- data/sproutcore/themes/iphone_theme/english.lproj/button.css +0 -41
- data/sproutcore/themes/iphone_theme/english.lproj/core.css +0 -8
- data/sproutcore/themes/iphone_theme/english.lproj/images/backButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/blueButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/cancel.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/grayButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/leftButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/listArrow.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/listArrowSel.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/listGroup.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/loading.gif +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/pinstripes.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/rightButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/selection.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/thumb.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/toggle.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/toggleOn.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/toolButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/toolbar.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/images/whiteButton.png +0 -0
- data/sproutcore/themes/iphone_theme/english.lproj/strings.js +0 -15
- data/sproutcore/themes/standard_theme/Source/Panel.drawit/Data +0 -0
- data/sproutcore/themes/standard_theme/Source/Panel.drawit/QuickLook/Preview.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/Panel.drawit/QuickLook/Thumbnail.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/SproutCore Theme Buttons.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/ToolbarView Pattern.drawit/Data +0 -0
- data/sproutcore/themes/standard_theme/Source/ToolbarView Pattern.drawit/QuickLook/Preview.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/ToolbarView Pattern.drawit/QuickLook/Thumbnail.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/10.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/100.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/102.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/110.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/120.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/127.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/18.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/19.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/2.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/24.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/26.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/27.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/28.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/29.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/30.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/31.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/33.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/37.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/41.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/16/99.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/10.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/100.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/102.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/110.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/120.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/127.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/18.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/19.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/2.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/24.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/26.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/27.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/28.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/29.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/30.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/31.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/33.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/37.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/41.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/24/99.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/10.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/100.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/102.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/110.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/120.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/127.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/18.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/19.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/2.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/24.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/26.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/27.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/28.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/29.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/30.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/31.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/33.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/37.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/41.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/32/99.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/48/10.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/48/18.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/48/19.png +0 -0
- data/sproutcore/themes/standard_theme/Source/icons/48/2.png +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-x.drawit/Data +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-x.drawit/QuickLook/Preview.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-x.drawit/QuickLook/Thumbnail.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-y.drawit/Data +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-y.drawit/QuickLook/Preview.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/panel-sprite-y.drawit/QuickLook/Thumbnail.jpg +0 -0
- data/sproutcore/themes/standard_theme/Source/sc-theme-repeat-x-2.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/sc-theme-repeat-x.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/sc-theme-sprite.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/sc-theme-ysprite.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/shared-icons.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/sproutcore-logo.psd +0 -0
- data/sproutcore/themes/standard_theme/Source/sticky-note.psd +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/button.css +0 -399
- data/sproutcore/themes/standard_theme/english.lproj/checkbox.css +0 -78
- data/sproutcore/themes/standard_theme/english.lproj/collection.css +0 -135
- data/sproutcore/themes/standard_theme/english.lproj/core.css +0 -76
- data/sproutcore/themes/standard_theme/english.lproj/disclosure.css +0 -57
- data/sproutcore/themes/standard_theme/english.lproj/images/icons/mini_222222.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/icons/mini_454545.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/icons/mini_888888.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/icons/mini_ffffff.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/panels/sprite-x.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/panels/sprite-y.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-scroller-repeat-x.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-scroller-repeat-y.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-scroller-sprite.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-theme-repeat-x.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-theme-ysprite.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/images/sc-toolbar-view.png +0 -0
- data/sproutcore/themes/standard_theme/english.lproj/label.css +0 -11
- data/sproutcore/themes/standard_theme/english.lproj/list_item.css +0 -82
- data/sproutcore/themes/standard_theme/english.lproj/menu.css +0 -20
- data/sproutcore/themes/standard_theme/english.lproj/menu_item_view.css +0 -36
- data/sproutcore/themes/standard_theme/english.lproj/pane.css +0 -18
- data/sproutcore/themes/standard_theme/english.lproj/panel.css +0 -33
- data/sproutcore/themes/standard_theme/english.lproj/picker.css +0 -17
- data/sproutcore/themes/standard_theme/english.lproj/progress.css +0 -27
- data/sproutcore/themes/standard_theme/english.lproj/radio.css +0 -125
- data/sproutcore/themes/standard_theme/english.lproj/scroller.css +0 -159
- data/sproutcore/themes/standard_theme/english.lproj/segmented.css +0 -270
- data/sproutcore/themes/standard_theme/english.lproj/slider.css +0 -94
- data/sproutcore/themes/standard_theme/english.lproj/split_view.css +0 -11
- data/sproutcore/themes/standard_theme/english.lproj/tab.css +0 -14
- data/sproutcore/themes/standard_theme/english.lproj/table.css +0 -14
- data/sproutcore/themes/standard_theme/english.lproj/text_field.css +0 -5
- data/sproutcore/themes/standard_theme/english.lproj/toolbar.css +0 -7
- data/sproutcore/themes/standard_theme/english.lproj/well.css +0 -36
@@ -1,1141 +0,0 @@
|
|
1
|
-
// ==========================================================================
|
2
|
-
// Project: SproutCore - JavaScript Application Framework
|
3
|
-
// Copyright: ©2006-2011 Strobe Inc. and contributors.
|
4
|
-
// Portions ©2008-2010 Apple Inc. All rights reserved.
|
5
|
-
// License: Licensed under MIT license (see license.js)
|
6
|
-
// ==========================================================================
|
7
|
-
require('panes/picker');
|
8
|
-
require('views/menu_item');
|
9
|
-
|
10
|
-
/**
|
11
|
-
@class
|
12
|
-
|
13
|
-
SC.MenuPane allows you to display a standard menu. Menus appear over other
|
14
|
-
panes, and block input to other views until a selection is made or the pane
|
15
|
-
is dismissed by clicking outside of its bounds.
|
16
|
-
|
17
|
-
You can create a menu pane and manage it yourself, or you can use the
|
18
|
-
SC.SelectButtonView and SC.PopupButtonView controls to manage the menu for
|
19
|
-
you.
|
20
|
-
|
21
|
-
h2. Specifying Menu Items
|
22
|
-
|
23
|
-
The menu pane examines the @items@ property to determine what menu items
|
24
|
-
should be presented to the user.
|
25
|
-
|
26
|
-
In its most simple form, you can provide an array of strings. Every item
|
27
|
-
will be converted into a menu item whose title is the string.
|
28
|
-
|
29
|
-
If you need more control over the menu items, such as specifying a keyboard
|
30
|
-
shortcut, enabled state, custom height, or submenu, you can provide an array
|
31
|
-
of content objects.
|
32
|
-
|
33
|
-
Out of the box, the menu pane has some default keys it uses to get
|
34
|
-
information from the objects. For example, to find out the title of the menu
|
35
|
-
item, the menu pane will ask your object for its @title@ property. If you
|
36
|
-
need to change this key, you can set the @itemTitleKey@ property on the pane
|
37
|
-
itself.
|
38
|
-
|
39
|
-
{{{
|
40
|
-
var menuItems = [
|
41
|
-
{ title: 'Menu Item', keyEquivalent: 'ctrl_shift_n' },
|
42
|
-
{ title: 'Checked Menu Item', isChecked: YES, keyEquivalent: 'ctrl_a' },
|
43
|
-
{ title: 'Selected Menu Item', keyEquivalent: 'backspace' },
|
44
|
-
{ isSeparator: YES },
|
45
|
-
{ title: 'Menu Item with Icon', icon: 'inbox', keyEquivalent: 'ctrl_m' },
|
46
|
-
{ title: 'Menu Item with Icon', icon: 'folder', keyEquivalent: 'ctrl_p' }
|
47
|
-
];
|
48
|
-
|
49
|
-
var menu = SC.MenuPane.create({
|
50
|
-
items: menuItems
|
51
|
-
});
|
52
|
-
}}}
|
53
|
-
|
54
|
-
h2. Observing User Selections
|
55
|
-
|
56
|
-
To determine when a user clicks on a menu item, you can observe the
|
57
|
-
@selectedItem@ property for changes.
|
58
|
-
|
59
|
-
@extends SC.PickerPane
|
60
|
-
@since SproutCore 1.0
|
61
|
-
*/
|
62
|
-
|
63
|
-
SC.MenuPane = SC.PickerPane.extend(
|
64
|
-
/** @scope SC.MenuPane.prototype */ {
|
65
|
-
|
66
|
-
classNames: ['sc-menu'],
|
67
|
-
|
68
|
-
/**
|
69
|
-
The WAI-ARIA role for menu pane. This property's value should not be
|
70
|
-
changed.
|
71
|
-
|
72
|
-
@property {String}
|
73
|
-
*/
|
74
|
-
ariaRole: 'menu',
|
75
|
-
|
76
|
-
// ..........................................................
|
77
|
-
// PROPERTIES
|
78
|
-
//
|
79
|
-
|
80
|
-
/**
|
81
|
-
The array of items to display. This can be a simple array of strings,
|
82
|
-
objects or hashes. If you pass objects or hashes, you can also set the
|
83
|
-
various itemKey properties to tell the menu how to extract the information
|
84
|
-
it needs.
|
85
|
-
|
86
|
-
@type String
|
87
|
-
*/
|
88
|
-
items: [],
|
89
|
-
|
90
|
-
/**
|
91
|
-
The size of the menu. This will set a CSS style on the menu that can be
|
92
|
-
used by the current theme to style the appearance of the control. This
|
93
|
-
value will also determine the default itemHeight, itemSeparatorHeight,
|
94
|
-
menuHeightPadding, and submenuOffsetX if you don't explicitly set these
|
95
|
-
properties.
|
96
|
-
|
97
|
-
Your theme can override the default values for each control size. For
|
98
|
-
example, to set the height of menu items for small menus, you could set
|
99
|
-
{{{
|
100
|
-
SC.MenuPane.SMALL_MENU_ITEM_HEIGHT = 10;
|
101
|
-
}}}
|
102
|
-
|
103
|
-
Changing the controlSize once the menu is instantiated has no effect.
|
104
|
-
|
105
|
-
@type String
|
106
|
-
@default SC.REGULAR_CONTROL_SIZE
|
107
|
-
*/
|
108
|
-
controlSize: SC.REGULAR_CONTROL_SIZE,
|
109
|
-
|
110
|
-
/**
|
111
|
-
The height of each menu item, in pixels.
|
112
|
-
|
113
|
-
You can override this on a per-item basis by setting the (by default)
|
114
|
-
@height@ property on your object.
|
115
|
-
|
116
|
-
If you don't specify a value, the item height will be inferred from
|
117
|
-
controlSize.
|
118
|
-
|
119
|
-
@type Number
|
120
|
-
@default null
|
121
|
-
*/
|
122
|
-
itemHeight: null,
|
123
|
-
|
124
|
-
/**
|
125
|
-
The height of separator menu items.
|
126
|
-
|
127
|
-
You can override this on a per-item basis by setting the (by default)
|
128
|
-
@height@ property on your object.
|
129
|
-
|
130
|
-
If you don't specify a value, the height of the separator menu items will
|
131
|
-
be inferred from controlSize.
|
132
|
-
|
133
|
-
@type Number
|
134
|
-
@default null
|
135
|
-
*/
|
136
|
-
itemSeparatorHeight: null,
|
137
|
-
|
138
|
-
/**
|
139
|
-
The height of the menu pane. This is updated every time menuItemViews
|
140
|
-
is recalculated.
|
141
|
-
|
142
|
-
@type Number
|
143
|
-
@isReadOnly
|
144
|
-
*/
|
145
|
-
menuHeight: 0,
|
146
|
-
|
147
|
-
/**
|
148
|
-
The amount of padding to add to the height of the pane.
|
149
|
-
|
150
|
-
The first menu item is offset by half this amount, and the other half is
|
151
|
-
added to the height of the menu, such that a space between the top and the
|
152
|
-
bottom is created.
|
153
|
-
|
154
|
-
If you don't specify a value, the padding will be inferred from the
|
155
|
-
controlSize.
|
156
|
-
|
157
|
-
@type Number
|
158
|
-
@default null
|
159
|
-
*/
|
160
|
-
menuHeightPadding: null,
|
161
|
-
|
162
|
-
/**
|
163
|
-
The amount of offset x while positioning submenu.
|
164
|
-
|
165
|
-
If you don't specify a value, the padding will be inferred from the
|
166
|
-
controlSize.
|
167
|
-
|
168
|
-
@type Number
|
169
|
-
@default null
|
170
|
-
*/
|
171
|
-
submenuOffsetX: null,
|
172
|
-
|
173
|
-
/**
|
174
|
-
The last menu item to be selected by the user.
|
175
|
-
|
176
|
-
You can place an observer on this property to be notified when the user
|
177
|
-
makes a selection.
|
178
|
-
|
179
|
-
@type SC.Object
|
180
|
-
@default null
|
181
|
-
@isReadOnly
|
182
|
-
*/
|
183
|
-
selectedItem: null,
|
184
|
-
|
185
|
-
/**
|
186
|
-
The view class to use when creating new menu item views.
|
187
|
-
|
188
|
-
The menu pane will automatically create an instance of the view class you
|
189
|
-
set here for each item in the @items@ array. You may provide your own
|
190
|
-
subclass for this property to display the customized content.
|
191
|
-
|
192
|
-
@default SC.MenuItemView
|
193
|
-
@type SC.View
|
194
|
-
*/
|
195
|
-
exampleView: SC.MenuItemView,
|
196
|
-
|
197
|
-
/**
|
198
|
-
The view or element to which the menu will anchor itself.
|
199
|
-
|
200
|
-
When the menu pane is shown, it will remain anchored to the view you
|
201
|
-
specify, even if the window is resized. You should specify the anchor as a
|
202
|
-
parameter when calling @popup()@, rather than setting it directly.
|
203
|
-
|
204
|
-
@type SC.View
|
205
|
-
@isReadOnly
|
206
|
-
*/
|
207
|
-
anchor: null,
|
208
|
-
|
209
|
-
/**
|
210
|
-
YES if this menu pane was generated by a parent SC.MenuPane.
|
211
|
-
|
212
|
-
@type Boolean
|
213
|
-
@isReadOnly
|
214
|
-
*/
|
215
|
-
isSubMenu: NO,
|
216
|
-
|
217
|
-
/**
|
218
|
-
Whether the title of menu items should be localized before display.
|
219
|
-
|
220
|
-
@type Boolean
|
221
|
-
@default YES
|
222
|
-
*/
|
223
|
-
localize: YES,
|
224
|
-
|
225
|
-
/**
|
226
|
-
Whether or not this menu pane should accept the “current menu pane”
|
227
|
-
designation when visible, which is the highest-priority pane when routing
|
228
|
-
events. Generally you want this set to YES so that your menu pane can
|
229
|
-
intercept keyboard events.
|
230
|
-
|
231
|
-
@type Boolean
|
232
|
-
@default YES
|
233
|
-
*/
|
234
|
-
acceptsMenuPane: YES,
|
235
|
-
|
236
|
-
/**
|
237
|
-
Disable context menu.
|
238
|
-
*/
|
239
|
-
isContextMenuEnabled: NO,
|
240
|
-
|
241
|
-
// ..........................................................
|
242
|
-
// METHODS
|
243
|
-
//
|
244
|
-
|
245
|
-
/**
|
246
|
-
Makes the menu visible and adds it to the HTML document.
|
247
|
-
|
248
|
-
If you provide a view or element as the first parameter, the menu will
|
249
|
-
anchor itself to the view, and intelligently reposition itself if the
|
250
|
-
contents of the menu exceed the available space.
|
251
|
-
|
252
|
-
@param SC.View anchorViewOrElement the view or element to which the menu
|
253
|
-
should anchor.
|
254
|
-
@param preferMatrix The prefer matrix used to position the pane.
|
255
|
-
(optional)
|
256
|
-
*/
|
257
|
-
popup: function(anchorViewOrElement, preferMatrix) {
|
258
|
-
var anchor;
|
259
|
-
this.beginPropertyChanges();
|
260
|
-
if (anchorViewOrElement) {
|
261
|
-
anchor = anchorViewOrElement.isView ? anchorViewOrElement.get('layer') : anchorViewOrElement;
|
262
|
-
}
|
263
|
-
this.set('anchorElement',anchor) ;
|
264
|
-
this.set('anchor',anchorViewOrElement);
|
265
|
-
if (preferMatrix) this.set('preferMatrix',preferMatrix) ;
|
266
|
-
|
267
|
-
this.adjust('height', this.get('menuHeight'));
|
268
|
-
this.positionPane();
|
269
|
-
|
270
|
-
// Because panes themselves do not receive key events, we need to set the
|
271
|
-
// pane's defaultResponder to itself. This way key events can be
|
272
|
-
// interpreted in keyUp.
|
273
|
-
this.set('defaultResponder', this);
|
274
|
-
this.endPropertyChanges();
|
275
|
-
this._hideOverflow();
|
276
|
-
|
277
|
-
this.append();
|
278
|
-
},
|
279
|
-
|
280
|
-
/**
|
281
|
-
Removes the menu from the screen.
|
282
|
-
|
283
|
-
@returns {SC.MenuPane} receiver
|
284
|
-
*/
|
285
|
-
remove: function() {
|
286
|
-
var parentMenu = this.get('parentMenu');
|
287
|
-
|
288
|
-
this.set('currentMenuItem', null);
|
289
|
-
this.closeOpenMenus();
|
290
|
-
this.resignMenuPane();
|
291
|
-
|
292
|
-
if (parentMenu) {
|
293
|
-
parentMenu.becomeMenuPane();
|
294
|
-
}
|
295
|
-
|
296
|
-
return sc_super();
|
297
|
-
},
|
298
|
-
|
299
|
-
// ..........................................................
|
300
|
-
// ITEM KEYS
|
301
|
-
//
|
302
|
-
|
303
|
-
/**
|
304
|
-
The name of the property that contains the title for each item.
|
305
|
-
|
306
|
-
@type String
|
307
|
-
@default "title"
|
308
|
-
@commonTask Menu Item Properties
|
309
|
-
*/
|
310
|
-
itemTitleKey: 'title',
|
311
|
-
|
312
|
-
/**
|
313
|
-
The name of the property that determines whether the item is enabled.
|
314
|
-
|
315
|
-
@type String
|
316
|
-
@default "isEnabled"
|
317
|
-
@commonTask Menu Item Properties
|
318
|
-
*/
|
319
|
-
itemIsEnabledKey: 'isEnabled',
|
320
|
-
|
321
|
-
/**
|
322
|
-
The name of the property that contains the value for each item.
|
323
|
-
|
324
|
-
@type String
|
325
|
-
@default "value"
|
326
|
-
@commonTask Menu Item Properties
|
327
|
-
*/
|
328
|
-
itemValueKey: 'value',
|
329
|
-
|
330
|
-
/**
|
331
|
-
The name of the property that contains the icon for each item.
|
332
|
-
|
333
|
-
@type String
|
334
|
-
@default "icon"
|
335
|
-
@commonTask Menu Item Properties
|
336
|
-
*/
|
337
|
-
itemIconKey: 'icon',
|
338
|
-
|
339
|
-
/**
|
340
|
-
The name of the property that contains the height for each item.
|
341
|
-
|
342
|
-
@readOnly
|
343
|
-
@type String
|
344
|
-
@default "height"
|
345
|
-
@commonTask Menu Item Properties
|
346
|
-
*/
|
347
|
-
itemHeightKey: 'height',
|
348
|
-
|
349
|
-
/**
|
350
|
-
The name of the property that contains an optional submenu for each item.
|
351
|
-
|
352
|
-
@type String
|
353
|
-
@default "subMenu"
|
354
|
-
@commonTask Menu Item Properties
|
355
|
-
*/
|
356
|
-
itemSubMenuKey: 'subMenu',
|
357
|
-
|
358
|
-
/**
|
359
|
-
The name of the property that determines whether the item is a menu
|
360
|
-
separator.
|
361
|
-
|
362
|
-
@type String
|
363
|
-
@default "separator"
|
364
|
-
@commonTask Menu Item Properties
|
365
|
-
*/
|
366
|
-
itemSeparatorKey: 'separator',
|
367
|
-
|
368
|
-
/**
|
369
|
-
The name of the property that contains the target for the action that is triggered when the user clicks the menu item.
|
370
|
-
|
371
|
-
Note that this property is ignored if the menu item has a submenu.
|
372
|
-
|
373
|
-
@type String
|
374
|
-
@default "target"
|
375
|
-
@commonTask Menu Item Properties
|
376
|
-
*/
|
377
|
-
itemTargetKey: 'target',
|
378
|
-
|
379
|
-
/**
|
380
|
-
The name of the property that contains the action that is triggered when
|
381
|
-
the user clicks the menu item.
|
382
|
-
|
383
|
-
Note that this property is ignored if the menu item has a submenu.
|
384
|
-
|
385
|
-
@type String
|
386
|
-
@default "action"
|
387
|
-
@commonTask Menu Item Properties
|
388
|
-
*/
|
389
|
-
itemActionKey: 'action',
|
390
|
-
|
391
|
-
/**
|
392
|
-
The name of the property that determines whether the menu item should
|
393
|
-
display a checkbox.
|
394
|
-
|
395
|
-
@type String
|
396
|
-
@default "checkbox"
|
397
|
-
@commonTask Menu Item Properties
|
398
|
-
*/
|
399
|
-
itemCheckboxKey: 'checkbox',
|
400
|
-
|
401
|
-
/**
|
402
|
-
The name of the property that contains the shortcut to be displayed.
|
403
|
-
|
404
|
-
The shortcut should communicate the keyboard equivalent to the user.
|
405
|
-
|
406
|
-
@type String
|
407
|
-
@default "shortcut"
|
408
|
-
@commonTask Menu Item Properties
|
409
|
-
*/
|
410
|
-
itemShortCutKey: 'shortcut',
|
411
|
-
|
412
|
-
/**
|
413
|
-
The name of the property that contains the key equivalent of the menu
|
414
|
-
item.
|
415
|
-
|
416
|
-
The action of the menu item will be fired, and the menu pane's
|
417
|
-
@selectedItem@ property set to the menu item, if the user presses this
|
418
|
-
key combination on the keyboard.
|
419
|
-
|
420
|
-
@type String
|
421
|
-
@default "keyEquivalent"
|
422
|
-
@commonTask Menu Item Properties
|
423
|
-
*/
|
424
|
-
itemKeyEquivalentKey: 'keyEquivalent',
|
425
|
-
|
426
|
-
/**
|
427
|
-
The name of the property that determines whether menu flash should be
|
428
|
-
disabled.
|
429
|
-
|
430
|
-
When you click on a menu item, it will flash several times to indicate
|
431
|
-
selection to the user. Some browsers block windows from opening outside of
|
432
|
-
a mouse event, so you may wish to disable menu flashing if the action of
|
433
|
-
the menu item should open a new window.
|
434
|
-
|
435
|
-
@type String
|
436
|
-
@default "disableMenuFlash"
|
437
|
-
@commonTask Menu Item Properties
|
438
|
-
*/
|
439
|
-
itemDisableMenuFlashKey: 'disableMenuFlash',
|
440
|
-
|
441
|
-
/**
|
442
|
-
The array of keys used by SC.MenuItemView when inspecting your menu items
|
443
|
-
for display properties.
|
444
|
-
|
445
|
-
@private
|
446
|
-
@isReadOnly
|
447
|
-
@property Array
|
448
|
-
*/
|
449
|
-
menuItemKeys: 'itemTitleKey itemValueKey itemIsEnabledKey itemIconKey itemSeparatorKey itemActionKey itemCheckboxKey itemShortCutKey itemHeightKey itemSubMenuKey itemKeyEquivalentKey itemTargetKey'.w(),
|
450
|
-
|
451
|
-
// ..........................................................
|
452
|
-
// INTERNAL PROPERTIES
|
453
|
-
//
|
454
|
-
|
455
|
-
/** @private */
|
456
|
-
preferType: SC.PICKER_MENU,
|
457
|
-
|
458
|
-
/**
|
459
|
-
Create a modal pane beneath the menu that will prevent any mouse clicks
|
460
|
-
that fall outside the menu pane from triggering an inadvertent action.
|
461
|
-
|
462
|
-
@type Boolean
|
463
|
-
@private
|
464
|
-
*/
|
465
|
-
isModal: YES,
|
466
|
-
|
467
|
-
/**
|
468
|
-
The view that contains the MenuItemViews that are visible on screen.
|
469
|
-
|
470
|
-
This is created and set in createChildViews.
|
471
|
-
|
472
|
-
@property SC.View
|
473
|
-
@private
|
474
|
-
*/
|
475
|
-
_menuView: null,
|
476
|
-
|
477
|
-
// ..........................................................
|
478
|
-
// INTERNAL METHODS
|
479
|
-
//
|
480
|
-
|
481
|
-
/**
|
482
|
-
If an itemHeight, itemSeparatorHeight, or menuHeightPadding have not been
|
483
|
-
explicitly set, we set them here based on the controlSize.
|
484
|
-
|
485
|
-
@returns {SC.MenuPane} the newly instantiated menu pane
|
486
|
-
@private
|
487
|
-
*/
|
488
|
-
init: function() {
|
489
|
-
switch (this.get('controlSize')) {
|
490
|
-
case SC.TINY_CONTROL_SIZE:
|
491
|
-
this.setIfNull('itemHeight', SC.MenuPane.TINY_MENU_ITEM_HEIGHT);
|
492
|
-
this.setIfNull('itemSeparatorHeight', SC.MenuPane.TINY_MENU_ITEM_SEPARATOR_HEIGHT);
|
493
|
-
this.setIfNull('menuHeightPadding', SC.MenuPane.TINY_MENU_HEIGHT_PADDING);
|
494
|
-
this.setIfNull('submenuOffsetX', SC.MenuPane.TINY_SUBMENU_OFFSET_X);
|
495
|
-
break;
|
496
|
-
case SC.SMALL_CONTROL_SIZE:
|
497
|
-
this.setIfNull('itemHeight', SC.MenuPane.SMALL_MENU_ITEM_HEIGHT);
|
498
|
-
this.setIfNull('itemSeparatorHeight', SC.MenuPane.SMALL_MENU_ITEM_SEPARATOR_HEIGHT);
|
499
|
-
this.setIfNull('menuHeightPadding', SC.MenuPane.SMALL_MENU_HEIGHT_PADDING);
|
500
|
-
this.setIfNull('submenuOffsetX', SC.MenuPane.SMALL_SUBMENU_OFFSET_X);
|
501
|
-
break;
|
502
|
-
case SC.REGULAR_CONTROL_SIZE:
|
503
|
-
this.setIfNull('itemHeight', SC.MenuPane.REGULAR_MENU_ITEM_HEIGHT);
|
504
|
-
this.setIfNull('itemSeparatorHeight', SC.MenuPane.REGULAR_MENU_ITEM_SEPARATOR_HEIGHT);
|
505
|
-
this.setIfNull('menuHeightPadding', SC.MenuPane.REGULAR_MENU_HEIGHT_PADDING);
|
506
|
-
this.setIfNull('submenuOffsetX', SC.MenuPane.REGULAR_SUBMENU_OFFSET_X);
|
507
|
-
break;
|
508
|
-
case SC.LARGE_CONTROL_SIZE:
|
509
|
-
this.setIfNull('itemHeight', SC.MenuPane.LARGE_MENU_ITEM_HEIGHT);
|
510
|
-
this.setIfNull('itemSeparatorHeight', SC.MenuPane.LARGE_MENU_ITEM_SEPARATOR_HEIGHT);
|
511
|
-
this.setIfNull('menuHeightPadding', SC.MenuPane.LARGE_MENU_HEIGHT_PADDING);
|
512
|
-
this.setIfNull('submenuOffsetX', SC.MenuPane.LARGE_SUBMENU_OFFSET_X);
|
513
|
-
break;
|
514
|
-
case SC.HUGE_CONTROL_SIZE:
|
515
|
-
this.setIfNull('itemHeight', SC.MenuPane.HUGE_MENU_ITEM_HEIGHT);
|
516
|
-
this.setIfNull('itemSeparatorHeight', SC.MenuPane.HUGE_MENU_ITEM_SEPARATOR_HEIGHT);
|
517
|
-
this.setIfNull('menuHeightPadding', SC.MenuPane.HUGE_MENU_HEIGHT_PADDING);
|
518
|
-
this.setIfNull('submenuOffsetX', SC.MenuPane.HUGE_SUBMENU_OFFSET_X);
|
519
|
-
break;
|
520
|
-
}
|
521
|
-
|
522
|
-
return sc_super();
|
523
|
-
},
|
524
|
-
|
525
|
-
/**
|
526
|
-
Helper method that only sets a property if it is null.
|
527
|
-
|
528
|
-
@param {String} key the property to set
|
529
|
-
@param {Object} value
|
530
|
-
@private
|
531
|
-
*/
|
532
|
-
setIfNull: function(key, value) {
|
533
|
-
if (this.get(key) === null) {
|
534
|
-
this.set(key, value);
|
535
|
-
}
|
536
|
-
},
|
537
|
-
|
538
|
-
renderDelegateName: 'menuRenderDelegate',
|
539
|
-
|
540
|
-
/** @private
|
541
|
-
The render method is responsible for adding the control size class
|
542
|
-
name to the menu pane.
|
543
|
-
|
544
|
-
@param {SC.RenderContext} context the render context
|
545
|
-
@param {Boolean} firstTime YES if this is creating a layer
|
546
|
-
*/
|
547
|
-
render: function(context, firstTime) {
|
548
|
-
context.addClass(this.get('controlSize'));
|
549
|
-
|
550
|
-
return sc_super();
|
551
|
-
},
|
552
|
-
|
553
|
-
/**
|
554
|
-
Creates the child scroll view, and sets its contentView to a new
|
555
|
-
view. This new view is saved and managed by the SC.MenuPane,
|
556
|
-
and contains the visible menu items.
|
557
|
-
|
558
|
-
@private
|
559
|
-
@returns {SC.View} receiver
|
560
|
-
*/
|
561
|
-
createChildViews: function() {
|
562
|
-
var scroll, menuView, menuItemViews;
|
563
|
-
|
564
|
-
scroll = this.createChildView(SC.MenuScrollView, {
|
565
|
-
borderStyle: SC.BORDER_NONE,
|
566
|
-
controlSize: this.get('controlSize')
|
567
|
-
});
|
568
|
-
|
569
|
-
menuView = this._menuView = SC.View.create();
|
570
|
-
menuItemViews = this.get('menuItemViews');
|
571
|
-
menuView.set('layout', { top: 0, left: 0, height : this.get('menuHeight')});
|
572
|
-
menuView.replaceAllChildren(menuItemViews);
|
573
|
-
scroll.set('contentView', menuView);
|
574
|
-
|
575
|
-
this.childViews = [scroll];
|
576
|
-
|
577
|
-
return this;
|
578
|
-
},
|
579
|
-
|
580
|
-
/**
|
581
|
-
When the pane is attached to a DOM element in the window, set up the
|
582
|
-
view to be visible in the window and register with the RootResponder.
|
583
|
-
|
584
|
-
We don't call sc_super() here because PanelPane sets the current pane to
|
585
|
-
be the key pane when attached.
|
586
|
-
|
587
|
-
@returns {SC.MenuPane} receiver
|
588
|
-
*/
|
589
|
-
paneDidAttach: function() {
|
590
|
-
// hook into root responder
|
591
|
-
var responder = (this.rootResponder = SC.RootResponder.responder);
|
592
|
-
responder.panes.add(this);
|
593
|
-
|
594
|
-
// set currentWindowSize
|
595
|
-
this.set('currentWindowSize', responder.computeWindowSize()) ;
|
596
|
-
|
597
|
-
// update my own location
|
598
|
-
this.set('isPaneAttached', YES) ;
|
599
|
-
this.parentViewDidChange() ;
|
600
|
-
|
601
|
-
//notify that the layers have been appended to the document
|
602
|
-
this._notifyDidAppendToDocument();
|
603
|
-
|
604
|
-
this.becomeMenuPane();
|
605
|
-
|
606
|
-
return this ;
|
607
|
-
},
|
608
|
-
|
609
|
-
/**
|
610
|
-
Make the pane the menu pane. When you call this, all key events will
|
611
|
-
temporarily be routed to this pane. Make sure that you call
|
612
|
-
resignMenuPane; otherwise all key events will be blocked to other panes.
|
613
|
-
|
614
|
-
@returns {SC.Pane} receiver
|
615
|
-
*/
|
616
|
-
becomeMenuPane: function() {
|
617
|
-
if (this.rootResponder) this.rootResponder.makeMenuPane(this) ;
|
618
|
-
return this ;
|
619
|
-
},
|
620
|
-
|
621
|
-
/**
|
622
|
-
Remove the menu pane status from the pane. This will simply set the
|
623
|
-
menuPane on the rootResponder to null.
|
624
|
-
|
625
|
-
@returns {SC.Pane} receiver
|
626
|
-
*/
|
627
|
-
resignMenuPane: function() {
|
628
|
-
if (this.rootResponder) this.rootResponder.makeMenuPane(null);
|
629
|
-
return this ;
|
630
|
-
},
|
631
|
-
|
632
|
-
/**
|
633
|
-
The array of child menu item views that compose the menu.
|
634
|
-
|
635
|
-
This computed property parses @displayItems@ and constructs an SC.MenuItemView (or whatever class you have set as the @exampleView@) for every item.
|
636
|
-
|
637
|
-
@property
|
638
|
-
@type Array
|
639
|
-
@readOnly
|
640
|
-
*/
|
641
|
-
menuItemViews: function() {
|
642
|
-
var views = [], items = this.get('displayItems'),
|
643
|
-
exampleView = this.get('exampleView'), item, view,
|
644
|
-
height, heightKey, separatorKey, defaultHeight, separatorHeight,
|
645
|
-
menuHeight, menuHeightPadding, keyEquivalentKey, keyEquivalent,
|
646
|
-
keyArray, idx,
|
647
|
-
len;
|
648
|
-
|
649
|
-
if (!items) return views; // return an empty array
|
650
|
-
|
651
|
-
heightKey = this.get('itemHeightKey');
|
652
|
-
separatorKey = this.get('itemSeparatorKey');
|
653
|
-
defaultHeight = this.get('itemHeight');
|
654
|
-
keyEquivalentKey = this.get('itemKeyEquivalentKey');
|
655
|
-
separatorHeight = this.get('itemSeparatorHeight');
|
656
|
-
|
657
|
-
menuHeightPadding = Math.floor(this.get('menuHeightPadding')/2);
|
658
|
-
menuHeight = menuHeightPadding;
|
659
|
-
|
660
|
-
keyArray = this.menuItemKeys.map(SC._menu_fetchKeys, this);
|
661
|
-
|
662
|
-
len = items.get('length');
|
663
|
-
for (idx = 0; idx < len; idx++) {
|
664
|
-
item = items[idx];
|
665
|
-
height = item.get(heightKey);
|
666
|
-
if (!height) {
|
667
|
-
height = item.get(separatorKey) ? separatorHeight : defaultHeight;
|
668
|
-
}
|
669
|
-
view = this._menuView.createChildView(exampleView, {
|
670
|
-
layout: { height: height, top: menuHeight },
|
671
|
-
contentDisplayProperties: keyArray,
|
672
|
-
content: item,
|
673
|
-
parentMenu: this
|
674
|
-
});
|
675
|
-
views[idx] = view;
|
676
|
-
menuHeight += height;
|
677
|
-
|
678
|
-
keyEquivalent = item.get(keyEquivalentKey);
|
679
|
-
if (keyEquivalent) {
|
680
|
-
this._keyEquivalents[keyEquivalent] = view;
|
681
|
-
}
|
682
|
-
}
|
683
|
-
|
684
|
-
this.set('menuHeight', menuHeight+menuHeightPadding);
|
685
|
-
return views;
|
686
|
-
}.property('displayItems').cacheable(),
|
687
|
-
|
688
|
-
/**
|
689
|
-
Returns the menu item view for the content object at the specified index.
|
690
|
-
|
691
|
-
@param {Number} idx the item index
|
692
|
-
@returns {SC.MenuItemView} instantiated view
|
693
|
-
*/
|
694
|
-
menuItemViewForContentIndex: function(idx) {
|
695
|
-
var menuItemViews = this.get('menuItemViews');
|
696
|
-
|
697
|
-
if (!menuItemViews) return undefined;
|
698
|
-
return menuItemViews.objectAt(idx);
|
699
|
-
},
|
700
|
-
|
701
|
-
/**
|
702
|
-
An associative array of the shortcut keys. The key is the shortcut in the
|
703
|
-
form 'ctrl_z', and the value is the menu item of the action to trigger.
|
704
|
-
|
705
|
-
@private
|
706
|
-
*/
|
707
|
-
_keyEquivalents: { },
|
708
|
-
|
709
|
-
/**
|
710
|
-
If this is a submenu, this property corresponds to the
|
711
|
-
top-most parent menu. If this is the root menu, it returns
|
712
|
-
itself.
|
713
|
-
|
714
|
-
@type SC.MenuPane
|
715
|
-
@isReadOnly
|
716
|
-
@property
|
717
|
-
*/
|
718
|
-
rootMenu: function() {
|
719
|
-
if (this.get('isSubMenu')) return this.getPath('parentMenu.rootMenu');
|
720
|
-
return this;
|
721
|
-
}.property('isSubMenu').cacheable(),
|
722
|
-
|
723
|
-
/**
|
724
|
-
Close the menu if the user resizes the window.
|
725
|
-
|
726
|
-
@private
|
727
|
-
*/
|
728
|
-
windowSizeDidChange: function(oldSize, newSize) {
|
729
|
-
this.remove();
|
730
|
-
return sc_super();
|
731
|
-
},
|
732
|
-
|
733
|
-
/**
|
734
|
-
Returns an array of normalized display items.
|
735
|
-
|
736
|
-
Because the items property can be provided as either an array of strings,
|
737
|
-
or an object with key-value pairs, or an exotic mish-mash of both, we need
|
738
|
-
to normalize it for our display logic.
|
739
|
-
|
740
|
-
If an @items@ member is an object, we can assume it is formatted properly
|
741
|
-
and leave it as-is.
|
742
|
-
|
743
|
-
If an @items@ member is a string, we create a hash with the title value
|
744
|
-
set to that string, and some sensible defaults for the other properties.
|
745
|
-
|
746
|
-
As a last resort, if an @items@ member is an array, we have a legacy
|
747
|
-
handler that converts the array into a hash. This behavior is deprecated
|
748
|
-
and is not guaranteed to be supported in the future.
|
749
|
-
|
750
|
-
A side effect of running this computed property is that the menuHeight
|
751
|
-
property is updated.
|
752
|
-
|
753
|
-
@displayItems@ should never be set directly; instead, set @items@ and
|
754
|
-
@displayItems@ will update automatically.
|
755
|
-
|
756
|
-
@property
|
757
|
-
@type Array
|
758
|
-
@isReadOnly
|
759
|
-
*/
|
760
|
-
displayItems: function() {
|
761
|
-
var items = this.get('items'), localize = this.get('localize'),
|
762
|
-
itemHeight = this.get('itemHeight'), len,
|
763
|
-
ret = [], idx, item, itemType;
|
764
|
-
|
765
|
-
if (!items) return null;
|
766
|
-
|
767
|
-
len = items.get('length');
|
768
|
-
|
769
|
-
// Loop through the items property and transmute as needed, then
|
770
|
-
// copy the new objects into the ret array.
|
771
|
-
for (idx = 0; idx < len; idx++) {
|
772
|
-
item = items.objectAt(idx) ;
|
773
|
-
|
774
|
-
// fast track out if we can't do anything with this item
|
775
|
-
if (!item) continue;
|
776
|
-
|
777
|
-
itemType = SC.typeOf(item);
|
778
|
-
if (itemType === SC.T_STRING) {
|
779
|
-
item = SC.Object.create({ title: item,
|
780
|
-
value: item,
|
781
|
-
isEnabled: YES
|
782
|
-
});
|
783
|
-
} else if (itemType === SC.T_HASH) {
|
784
|
-
item = SC.Object.create(item);
|
785
|
-
} else if (itemType === SC.T_ARRAY) {
|
786
|
-
item = this.convertArrayMenuItemToObject(item);
|
787
|
-
}
|
788
|
-
item.contentIndex = idx;
|
789
|
-
|
790
|
-
ret.push(item);
|
791
|
-
}
|
792
|
-
|
793
|
-
return ret;
|
794
|
-
}.property('items').cacheable(),
|
795
|
-
|
796
|
-
_sc_menu_itemsDidChange: function() {
|
797
|
-
var views = this.get('menuItemViews');
|
798
|
-
this._menuView.replaceAllChildren(views);
|
799
|
-
this._menuView.adjust('height', this.get('menuHeight'));
|
800
|
-
}.observes('items'),
|
801
|
-
|
802
|
-
/**
|
803
|
-
Takes an array of values and places them in a hash that can be used
|
804
|
-
to render a menu item.
|
805
|
-
|
806
|
-
The mapping goes a little something like this:
|
807
|
-
0: title
|
808
|
-
1: value
|
809
|
-
2: isEnabled
|
810
|
-
3: icon
|
811
|
-
4: isSeparator
|
812
|
-
5: action
|
813
|
-
6: isCheckbox
|
814
|
-
7: isShortCut
|
815
|
-
8: isBranch
|
816
|
-
9: itemHeight
|
817
|
-
10: subMenu
|
818
|
-
11: keyEquivalent
|
819
|
-
12: target
|
820
|
-
|
821
|
-
@private
|
822
|
-
*/
|
823
|
-
convertArrayMenuItemToObject: function(item) {
|
824
|
-
SC.Logger.warn('Support for Array-based menu items has been deprecated. Please update your menus to use a hash.');
|
825
|
-
|
826
|
-
var keys, fetchKeys = SC._menu_fetchKeys,
|
827
|
-
fetchItem = SC._menu_fetchItem, cur, ret = SC.Object.create(), idx, loc;
|
828
|
-
|
829
|
-
// Gets an array of all of the value keys
|
830
|
-
keys = this.menuItemKeys.map(fetchKeys, this);
|
831
|
-
|
832
|
-
// title
|
833
|
-
ret[keys[0]] = item[0];
|
834
|
-
ret[keys[1]] = item[1];
|
835
|
-
ret[keys[2]] = item[2];
|
836
|
-
ret[keys[3]] = item[3];
|
837
|
-
ret[keys[4]] = item[4];
|
838
|
-
ret[keys[5]] = item[5];
|
839
|
-
ret[keys[6]] = item[6];
|
840
|
-
ret[keys[7]] = item[7];
|
841
|
-
ret[keys[8]] = item[8];
|
842
|
-
ret[keys[9]] = item[9];
|
843
|
-
ret[keys[10]] = item[10];
|
844
|
-
ret[keys[11]] = item[11];
|
845
|
-
ret[keys[12]] = item[12];
|
846
|
-
|
847
|
-
return ret;
|
848
|
-
},
|
849
|
-
|
850
|
-
currentMenuItem: function(key, value) {
|
851
|
-
if (value !== undefined) {
|
852
|
-
if (this._currentMenuItem !== null) {
|
853
|
-
this.set('previousMenuItem', this._currentMenuItem);
|
854
|
-
}
|
855
|
-
this._currentMenuItem = value;
|
856
|
-
this.setPath('rootMenu.targetMenuItem', value);
|
857
|
-
|
858
|
-
return value;
|
859
|
-
}
|
860
|
-
|
861
|
-
return this._currentMenuItem;
|
862
|
-
}.property().cacheable(),
|
863
|
-
|
864
|
-
_sc_menu_currentMenuItemDidChange: function() {
|
865
|
-
var currentMenuItem = this.get('currentMenuItem'),
|
866
|
-
previousMenuItem = this.get('previousMenuItem');
|
867
|
-
|
868
|
-
if (previousMenuItem) {
|
869
|
-
if (previousMenuItem.get('hasSubMenu') && currentMenuItem === null) {
|
870
|
-
|
871
|
-
} else {
|
872
|
-
previousMenuItem.resignFirstResponder();
|
873
|
-
this.closeOpenMenusFor(previousMenuItem);
|
874
|
-
}
|
875
|
-
}
|
876
|
-
|
877
|
-
// Scroll to the selected menu item if it's not visible on screen.
|
878
|
-
// This is useful for keyboard navigation and programmaticaly selecting
|
879
|
-
// the selected menu item, as in SelectButtonView.
|
880
|
-
if (currentMenuItem && currentMenuItem.get('isEnabled')) {
|
881
|
-
currentMenuItem.scrollToVisible();
|
882
|
-
}
|
883
|
-
}.observes('currentMenuItem'),
|
884
|
-
|
885
|
-
closeOpenMenusFor: function(menuItem) {
|
886
|
-
if (!menuItem) return;
|
887
|
-
|
888
|
-
var menu = menuItem.get('parentMenu');
|
889
|
-
|
890
|
-
// Close any open menus if a root menu changes
|
891
|
-
while (menu && menuItem) {
|
892
|
-
menu = menuItem.get('subMenu');
|
893
|
-
if (menu) {
|
894
|
-
menu.remove();
|
895
|
-
menuItem.resignFirstResponder();
|
896
|
-
menuItem = menu.get('previousMenuItem');
|
897
|
-
}
|
898
|
-
}
|
899
|
-
},
|
900
|
-
|
901
|
-
closeOpenMenus: function() {
|
902
|
-
this.closeOpenMenusFor(this.get('previousMenuItem'));
|
903
|
-
},
|
904
|
-
|
905
|
-
//Mouse and Key Events
|
906
|
-
|
907
|
-
/** @private */
|
908
|
-
mouseDown: function(evt) {
|
909
|
-
this.modalPaneDidClick(evt);
|
910
|
-
return YES ;
|
911
|
-
},
|
912
|
-
|
913
|
-
/** @private
|
914
|
-
Note when the mouse has entered, so that if this is a submenu,
|
915
|
-
the menu item to which it belongs knows whether to maintain its highlight
|
916
|
-
or not.
|
917
|
-
|
918
|
-
@param {Event} evt
|
919
|
-
*/
|
920
|
-
mouseEntered: function(evt) {
|
921
|
-
this.set('mouseHasEntered', YES);
|
922
|
-
},
|
923
|
-
|
924
|
-
keyUp: function(evt) {
|
925
|
-
var ret = this.interpretKeyEvents(evt) ;
|
926
|
-
return !ret ? NO : ret ;
|
927
|
-
},
|
928
|
-
|
929
|
-
/**
|
930
|
-
Selects the next enabled menu item above the currently
|
931
|
-
selected menu item when the up-arrow key is pressed.
|
932
|
-
|
933
|
-
@private
|
934
|
-
*/
|
935
|
-
moveUp: function() {
|
936
|
-
var currentMenuItem = this.get('currentMenuItem'),
|
937
|
-
items = this.get('menuItemViews'),
|
938
|
-
currentIndex, parentMenu, idx;
|
939
|
-
|
940
|
-
if (!currentMenuItem) {
|
941
|
-
idx = items.get('length')-1;
|
942
|
-
} else {
|
943
|
-
currentIndex = currentMenuItem.getPath('content.contentIndex');
|
944
|
-
if (currentIndex === 0) return YES;
|
945
|
-
idx = currentIndex-1;
|
946
|
-
}
|
947
|
-
|
948
|
-
while (idx >= 0) {
|
949
|
-
if (items[idx].get('isEnabled')) {
|
950
|
-
this.set('currentMenuItem', items[idx]);
|
951
|
-
items[idx].becomeFirstResponder();
|
952
|
-
break;
|
953
|
-
}
|
954
|
-
idx--;
|
955
|
-
}
|
956
|
-
|
957
|
-
return YES;
|
958
|
-
},
|
959
|
-
|
960
|
-
/**
|
961
|
-
Selects the next enabled menu item below the currently
|
962
|
-
selected menu item when the down-arrow key is pressed.
|
963
|
-
|
964
|
-
@private
|
965
|
-
*/
|
966
|
-
moveDown: function() {
|
967
|
-
var currentMenuItem = this.get('currentMenuItem'),
|
968
|
-
items = this.get('menuItemViews'),
|
969
|
-
len = items.get('length'),
|
970
|
-
currentIndex, parentMenu, idx;
|
971
|
-
|
972
|
-
if (!currentMenuItem) {
|
973
|
-
idx = 0;
|
974
|
-
} else {
|
975
|
-
currentIndex = currentMenuItem.getPath('content.contentIndex');
|
976
|
-
if (currentIndex === len) return YES;
|
977
|
-
idx = currentIndex+1;
|
978
|
-
}
|
979
|
-
|
980
|
-
while (idx < len) {
|
981
|
-
if (items[idx].get('isEnabled')) {
|
982
|
-
this.set('currentMenuItem', items[idx]);
|
983
|
-
items[idx].becomeFirstResponder();
|
984
|
-
break;
|
985
|
-
}
|
986
|
-
idx++;
|
987
|
-
}
|
988
|
-
|
989
|
-
return YES;
|
990
|
-
},
|
991
|
-
|
992
|
-
insertText: function(chr, evt) {
|
993
|
-
var timer = this._timer, keyBuffer = this._keyBuffer;
|
994
|
-
|
995
|
-
if (timer) {
|
996
|
-
timer.invalidate();
|
997
|
-
}
|
998
|
-
timer = this._timer = SC.Timer.schedule({
|
999
|
-
target: this,
|
1000
|
-
action: 'clearKeyBuffer',
|
1001
|
-
interval: 500,
|
1002
|
-
isPooled: NO
|
1003
|
-
});
|
1004
|
-
|
1005
|
-
keyBuffer = keyBuffer || '';
|
1006
|
-
keyBuffer += chr.toUpperCase();
|
1007
|
-
|
1008
|
-
this.selectMenuItemForString(keyBuffer);
|
1009
|
-
this._keyBuffer = keyBuffer;
|
1010
|
-
|
1011
|
-
return YES;
|
1012
|
-
},
|
1013
|
-
|
1014
|
-
/** @private
|
1015
|
-
Called by the view hierarchy when the menu should respond to a shortcut
|
1016
|
-
key being pressed.
|
1017
|
-
|
1018
|
-
Normally, the menu will only respond to key presses when it is visible.
|
1019
|
-
However, when the menu is part of another control, such as an
|
1020
|
-
SC.PopupButtonView, the menu should still respond if it is hidden but its
|
1021
|
-
parent control is visible. In those cases, the parameter
|
1022
|
-
fromVisibleControl will be set to YES.
|
1023
|
-
|
1024
|
-
@param keyEquivalent {String} the shortcut key sequence that was pressed
|
1025
|
-
@param fromVisibleControl {Boolean} if the shortcut key press was proxied
|
1026
|
-
to this menu by a visible parent control
|
1027
|
-
@returns {Boolean}
|
1028
|
-
*/
|
1029
|
-
performKeyEquivalent: function(keyEquivalent, evt, fromVisibleControl) {
|
1030
|
-
//If menu is not visible
|
1031
|
-
if (!fromVisibleControl && !this.get('isVisibleInWindow')) return NO;
|
1032
|
-
|
1033
|
-
// Look for menu item that has this key equivalent
|
1034
|
-
var menuItem = this._keyEquivalents[keyEquivalent];
|
1035
|
-
|
1036
|
-
// If found, have it perform its action
|
1037
|
-
if (menuItem) {
|
1038
|
-
menuItem.performAction(YES);
|
1039
|
-
return YES;
|
1040
|
-
}
|
1041
|
-
|
1042
|
-
// If escape key or the enter key was pressed and no menu item handled it,
|
1043
|
-
// close the menu pane and return YES that the event was handled
|
1044
|
-
if (keyEquivalent === 'escape'|| keyEquivalent === 'return') {
|
1045
|
-
this.remove();
|
1046
|
-
return YES;
|
1047
|
-
}
|
1048
|
-
|
1049
|
-
return NO;
|
1050
|
-
|
1051
|
-
},
|
1052
|
-
|
1053
|
-
selectMenuItemForString: function(buffer) {
|
1054
|
-
var items = this.get('menuItemViews'), item, title, idx, len, bufferLength;
|
1055
|
-
if (!items) return;
|
1056
|
-
|
1057
|
-
bufferLength = buffer.length;
|
1058
|
-
len = items.get('length');
|
1059
|
-
for (idx = 0; idx < len; idx++) {
|
1060
|
-
item = items.objectAt(idx);
|
1061
|
-
title = item.get('title');
|
1062
|
-
|
1063
|
-
if (!title) continue;
|
1064
|
-
|
1065
|
-
title = title.replace(/ /g,'').substr(0,bufferLength).toUpperCase();
|
1066
|
-
if (title === buffer) {
|
1067
|
-
this.set('currentMenuItem', item);
|
1068
|
-
item.becomeFirstResponder();
|
1069
|
-
break;
|
1070
|
-
}
|
1071
|
-
}
|
1072
|
-
},
|
1073
|
-
|
1074
|
-
/**
|
1075
|
-
Clear the key buffer if the user does not enter any text after a certain
|
1076
|
-
amount of time.
|
1077
|
-
|
1078
|
-
This is called by the timer created in the insertText method.
|
1079
|
-
|
1080
|
-
@private
|
1081
|
-
*/
|
1082
|
-
clearKeyBuffer: function() {
|
1083
|
-
this._keyBuffer = '';
|
1084
|
-
},
|
1085
|
-
|
1086
|
-
/**
|
1087
|
-
Close the menu and any open submenus if the user clicks outside the menu.
|
1088
|
-
|
1089
|
-
Because only the root-most menu has a modal pane, this will only ever get
|
1090
|
-
called once.
|
1091
|
-
|
1092
|
-
@returns Boolean
|
1093
|
-
@private
|
1094
|
-
*/
|
1095
|
-
modalPaneDidClick: function(evt) {
|
1096
|
-
this.remove();
|
1097
|
-
|
1098
|
-
return YES;
|
1099
|
-
}
|
1100
|
-
});
|
1101
|
-
|
1102
|
-
SC._menu_fetchKeys = function(k) {
|
1103
|
-
return this.get(k) ;
|
1104
|
-
};
|
1105
|
-
SC._menu_fetchItem = function(k) {
|
1106
|
-
if (!k) return null ;
|
1107
|
-
return this.get ? this.get(k) : this[k] ;
|
1108
|
-
};
|
1109
|
-
|
1110
|
-
/**
|
1111
|
-
Default metrics for the different control sizes.
|
1112
|
-
*/
|
1113
|
-
SC.MenuPane.TINY_MENU_ITEM_HEIGHT = 10;
|
1114
|
-
SC.MenuPane.TINY_MENU_ITEM_SEPARATOR_HEIGHT = 2;
|
1115
|
-
SC.MenuPane.TINY_MENU_HEIGHT_PADDING = 2;
|
1116
|
-
SC.MenuPane.TINY_SUBMENU_OFFSET_X = 0;
|
1117
|
-
|
1118
|
-
SC.MenuPane.SMALL_MENU_ITEM_HEIGHT = 16;
|
1119
|
-
SC.MenuPane.SMALL_MENU_ITEM_SEPARATOR_HEIGHT = 7;
|
1120
|
-
SC.MenuPane.SMALL_MENU_HEIGHT_PADDING = 4;
|
1121
|
-
SC.MenuPane.SMALL_SUBMENU_OFFSET_X = 2;
|
1122
|
-
|
1123
|
-
SC.MenuPane.REGULAR_MENU_ITEM_HEIGHT = 20;
|
1124
|
-
SC.MenuPane.REGULAR_MENU_ITEM_SEPARATOR_HEIGHT = 9;
|
1125
|
-
SC.MenuPane.REGULAR_MENU_HEIGHT_PADDING = 6;
|
1126
|
-
SC.MenuPane.REGULAR_SUBMENU_OFFSET_X = 2;
|
1127
|
-
|
1128
|
-
SC.MenuPane.LARGE_MENU_ITEM_HEIGHT = 60;
|
1129
|
-
SC.MenuPane.LARGE_MENU_ITEM_SEPARATOR_HEIGHT = 20;
|
1130
|
-
SC.MenuPane.LARGE_MENU_HEIGHT_PADDING = 0;
|
1131
|
-
SC.MenuPane.LARGE_SUBMENU_OFFSET_X = 4;
|
1132
|
-
|
1133
|
-
SC.MenuPane.HUGE_MENU_ITEM_HEIGHT = 20;
|
1134
|
-
SC.MenuPane.HUGE_MENU_ITEM_SEPARATOR_HEIGHT = 9;
|
1135
|
-
SC.MenuPane.HUGE_MENU_HEIGHT_PADDING = 0;
|
1136
|
-
SC.MenuPane.HUGE_SUBMENU_OFFSET_X = 0;
|
1137
|
-
|
1138
|
-
// If a menu pane exceeds the height of the viewport, it will
|
1139
|
-
// be truncated to fit. This value determines the amount by which
|
1140
|
-
// the menu will be offset from the top and bottom of the viewport.
|
1141
|
-
SC.MenuPane.VERTICAL_OFFSET = 23;
|