sproutcore 1.4.5 → 1.5.0.pre.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +35 -0
- data/VERSION.yml +2 -2
- data/lib/Buildfile +13 -4
- data/lib/buildtasks/build.rake +20 -17
- data/lib/buildtasks/manifest.rake +143 -78
- data/lib/buildtasks/target.rake +1 -0
- data/lib/doc_templates/sproutcore/index.tmpl +18 -4
- data/lib/doc_templates/sproutcore/publish.js +1 -1
- data/lib/frameworks/sproutcore/Buildfile +24 -13
- data/lib/frameworks/sproutcore/{CHANGELOG-1.4.md → CHANGELOG.md} +0 -0
- data/lib/frameworks/sproutcore/apps/greenhouse/controllers/file.js +8 -48
- data/lib/frameworks/sproutcore/apps/greenhouse/core.js +3 -5
- data/lib/frameworks/sproutcore/apps/greenhouse/data_source.js +1 -1
- data/lib/frameworks/sproutcore/apps/greenhouse/english.lproj/app_page.js +26 -4
- data/lib/frameworks/sproutcore/apps/greenhouse/english.lproj/strings.js +7 -1
- data/lib/frameworks/sproutcore/apps/greenhouse/main.js +1 -1
- data/lib/frameworks/sproutcore/apps/greenhouse/models/design.js +6 -2
- data/lib/frameworks/sproutcore/apps/greenhouse/models/dir.js +8 -7
- data/lib/frameworks/sproutcore/apps/greenhouse/models/file.js +2 -2
- data/lib/frameworks/sproutcore/apps/greenhouse/states/inspector.js +133 -125
- data/lib/frameworks/sproutcore/apps/greenhouse/states/library.js +121 -112
- data/lib/frameworks/sproutcore/apps/greenhouse/states/main.js +233 -191
- data/lib/frameworks/sproutcore/apps/greenhouse/states/modals.js +265 -258
- data/lib/frameworks/sproutcore/apps/greenhouse/states/ready.js +153 -141
- data/lib/frameworks/sproutcore/apps/test_controls/Buildfile +0 -0
- data/lib/frameworks/sproutcore/apps/test_controls/controllers/buttons.js +21 -0
- data/lib/frameworks/sproutcore/apps/test_controls/controllers/categories.js +108 -0
- data/lib/frameworks/sproutcore/apps/test_controls/controllers/category.js +36 -0
- data/lib/frameworks/sproutcore/apps/test_controls/core.js +29 -0
- data/lib/frameworks/sproutcore/apps/test_controls/main.js +14 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/buttons_page.js +142 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/checkboxes_page.js +45 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/flow_layout_page.js +84 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/list_page.js +40 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/loading.rhtml +9 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/main_page.css +60 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/main_page.js +144 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/progress_page.js +42 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/radio_page.js +48 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/scroll_page.js +76 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/segmented_page.js +98 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/select_page.js +60 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/sliders_page.js +53 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/strings.js +50 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/tab_page.js +44 -0
- data/lib/frameworks/sproutcore/apps/test_controls/resources/text_field_page.js +41 -0
- data/lib/frameworks/sproutcore/apps/test_controls/theme.js +34 -0
- data/lib/frameworks/sproutcore/apps/welcome/controllers/targets.js +7 -0
- data/lib/frameworks/sproutcore/apps/welcome/english.lproj/images/main-bg.png +0 -0
- data/lib/frameworks/sproutcore/apps/welcome/english.lproj/main_page.css +24 -6
- data/lib/frameworks/sproutcore/apps/welcome/english.lproj/main_page.js +36 -46
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/controllers/array.js +175 -195
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/controllers/controller.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/controllers/object.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/amber/core.js +201 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/ext/object.js +23 -23
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/ext/run_loop.js +47 -47
- data/lib/frameworks/sproutcore/frameworks/{runtime → amber}/mixins/delegate_support.js +36 -36
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/mixins/responder_context.js +55 -55
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/mixins/selection_support.js +45 -45
- data/lib/frameworks/sproutcore/frameworks/amber/mixins/string.js +163 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/panes/main.js +4 -3
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/panes/pane.js +123 -9
- data/lib/frameworks/sproutcore/frameworks/{runtime → amber}/protocols/observable_protocol.js +11 -11
- data/lib/frameworks/sproutcore/frameworks/{runtime → amber}/protocols/sparse_array_delegate.js +40 -40
- data/lib/frameworks/sproutcore/frameworks/{foundation/english.lproj → amber/resources}/core.css +0 -103
- data/lib/frameworks/sproutcore/frameworks/{foundation/english.lproj → amber/resources}/view.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/application.js +0 -2
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/browser.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/builder.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/amber/system/core_query.js +141 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/cursor.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/device.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/event.js +34 -14
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/json.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/locale.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/page.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/platform.js +30 -10
- data/lib/frameworks/sproutcore/frameworks/amber/system/ready.js +77 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/render_context.js +330 -255
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/responder.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/root_responder.js +152 -60
- data/lib/frameworks/sproutcore/frameworks/{runtime → amber}/system/selection_set.js +140 -145
- data/lib/frameworks/sproutcore/frameworks/{runtime → amber}/system/sparse_array.js +101 -87
- data/lib/frameworks/sproutcore/frameworks/amber/system/theme.js +316 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/system/timer.js +149 -147
- data/lib/frameworks/sproutcore/frameworks/amber/system/utils.js +174 -0
- data/lib/frameworks/sproutcore/frameworks/amber/system/utils/rect.js +98 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/controllers/array/array_case.js +41 -41
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/controllers/array/enum_case.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/controllers/array/null_case.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/controllers/array/selection_support.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/controllers/array/single_case.js +9 -9
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/controllers/object/empty_case.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/controllers/object/multiple_case.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/controllers/object/single_case.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/controllers/object/single_enumerable_case.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/mixins/responder_context.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/amber/tests/mixins/string.js +55 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/builder.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/core_query/within.js +7 -8
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/json.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/locale.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/begin.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/element.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/end.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/get.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/helpers_attr.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/helpers_basic.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/helpers_className.js +0 -2
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/helpers_style.js +11 -3
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/init.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/join.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/push_text.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/tag.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/render_context/update.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/root_responder/makeKeyPane.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/root_responder/makeMainPane.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/root_responder/makeMenuPane.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/root_responder/root_responder.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/root_responder/targetForAction.js +46 -9
- data/lib/frameworks/sproutcore/frameworks/{runtime → amber}/tests/system/selection_set/add.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{runtime → amber}/tests/system/selection_set/copy.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{runtime → amber}/tests/system/selection_set/indexSetForSource.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{runtime → amber}/tests/system/selection_set/isEqual.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{runtime → amber}/tests/system/selection_set/remove.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{runtime → amber}/tests/system/sparse_array.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/amber/tests/system/theme.js +77 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/timer/invalidate.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/timer/invokeLater.js +7 -5
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/timer/isPaused.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/timer/performAction.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/timer/schedule.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/utils/normalizeURL.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/system/utils/rect.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/main_pane.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/pane/append_remove.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/pane/firstResponder.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/pane/keyPane.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/pane/layout.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/pane/sendEvent.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/amber/tests/views/pane/sendTouchEvent.js +267 -0
- data/lib/frameworks/sproutcore/frameworks/amber/tests/views/view/animation.js +320 -0
- data/lib/frameworks/sproutcore/frameworks/amber/tests/views/view/build.js +85 -0
- data/lib/frameworks/sproutcore/frameworks/amber/tests/views/view/build_children.js +89 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/clippingFrame.js +3 -2
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/convertFrames.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/convertLayouts.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/createChildViews.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/createLayer.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/destroyLayer.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/didAppendToDocument.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/findLayerInParentLayer.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/init.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/insertBefore.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/isVisible.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/isVisibleInWindow.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/layer.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/layoutChildViews.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/layoutDidChange.js +22 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/layoutStyle.js +135 -64
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/parentViewDidChange.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/prepareContext.js +16 -8
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/removeChild.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/render.js +37 -5
- data/lib/frameworks/sproutcore/frameworks/amber/tests/views/view/render_delegate_support.js +163 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/replaceChild.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/amber/tests/views/view/theme.js +43 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/updateLayer.js +12 -10
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/updateLayerLocation.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/amber/tests/views/view/view.js +64 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/tests/views/view/viewDidResize.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/amber/views/base.js +1 -0
- data/lib/frameworks/sproutcore/frameworks/amber/views/layout_style.js +478 -0
- data/lib/frameworks/sproutcore/frameworks/{foundation → amber}/views/view.js +1719 -1029
- data/lib/frameworks/sproutcore/frameworks/animation/core.js +32 -18
- data/lib/frameworks/sproutcore/frameworks/animation/tests/core.js +10 -5
- data/lib/frameworks/sproutcore/frameworks/bootstrap/system/bench.js +14 -0
- data/lib/frameworks/sproutcore/frameworks/bootstrap/system/browser.js +24 -17
- data/lib/frameworks/sproutcore/frameworks/bootstrap/system/loader.js +1 -13
- data/lib/frameworks/sproutcore/frameworks/bootstrap/tests/system/browser.js +72 -0
- data/lib/frameworks/sproutcore/frameworks/datastore/models/child_record.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/datastore/models/record.js +7 -3
- data/lib/frameworks/sproutcore/frameworks/datastore/models/record_attribute.js +66 -4
- data/lib/frameworks/sproutcore/frameworks/datastore/system/many_array.js +4 -1
- data/lib/frameworks/sproutcore/frameworks/datastore/system/record_array.js +58 -10
- data/lib/frameworks/sproutcore/frameworks/datastore/system/store.js +5 -14
- data/lib/frameworks/sproutcore/frameworks/debug/invoke_once_last_debugging.js +4 -5
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/list_item.css +27 -3
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/segmented.css +5 -8
- data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_fast_path.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_row_delegate.js +30 -4
- data/lib/frameworks/sproutcore/frameworks/desktop/mixins/navigation_builder.js +130 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/alert.js +2 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/menu.js +20 -2
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/panel.js +9 -27
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/picker.js +32 -26
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/select_button.js +57 -11
- data/lib/frameworks/sproutcore/frameworks/desktop/protocols/drop_target.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/button.js +78 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/checkbox.js +74 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/collection.js +24 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/disclosure.js +41 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/helpers/slicing.js +34 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/image_button.js +30 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/master_detail.js +28 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/menu.js +47 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/panel.js +28 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/picker.js +43 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/progress.js +175 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/radio.js +74 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/radio_group.js +109 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/segment.js +70 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/segmented.js +58 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/slider.js +39 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/source_list.js +8 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/toolbar.js +18 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/well.js +29 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/workspace.js +18 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/system/drag.js +79 -53
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/integration/dialog.js +7 -2
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/menu/ui.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/button/methods.js +45 -3
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/button/ui.js +33 -13
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/checkbox/methods.js +11 -17
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/image_button/ui.js +25 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/list_item.js +128 -20
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/progress/ui.js +10 -10
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/segmented/methods.js +35 -15
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/segmented/ui.js +162 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/views/button.js +153 -208
- data/lib/frameworks/sproutcore/frameworks/desktop/views/checkbox.js +18 -48
- data/lib/frameworks/sproutcore/frameworks/desktop/views/collection.js +26 -25
- data/lib/frameworks/sproutcore/frameworks/desktop/views/disclosure.js +3 -20
- data/lib/frameworks/sproutcore/frameworks/desktop/views/file.js +112 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/views/image_button.js +74 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/views/list.js +3 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/views/list_item.js +388 -309
- data/lib/frameworks/sproutcore/frameworks/desktop/views/master_detail.js +257 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/views/menu_item.js +8 -3
- data/lib/frameworks/sproutcore/frameworks/desktop/views/navigation.js +237 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/views/navigation_bar.js +181 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/views/popup_button.js +3 -2
- data/lib/frameworks/sproutcore/frameworks/desktop/views/progress.js +14 -76
- data/lib/frameworks/sproutcore/frameworks/desktop/views/radio.js +59 -164
- data/lib/frameworks/sproutcore/frameworks/desktop/views/scroll.js +80 -47
- data/lib/frameworks/sproutcore/frameworks/desktop/views/segment.js +84 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/views/segmented.js +320 -289
- data/lib/frameworks/sproutcore/frameworks/desktop/views/select.js +212 -76
- data/lib/frameworks/sproutcore/frameworks/desktop/views/slider.js +33 -36
- data/lib/frameworks/sproutcore/frameworks/desktop/views/source_list.js +2 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/views/split.js +347 -248
- data/lib/frameworks/sproutcore/frameworks/desktop/views/static_content.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/views/tab.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/views/toolbar.js +41 -9
- data/lib/frameworks/sproutcore/frameworks/desktop/views/web.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/views/well.js +2 -21
- data/lib/frameworks/sproutcore/frameworks/desktop/views/workspace.js +251 -0
- data/lib/frameworks/sproutcore/frameworks/documentation/core.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/forms/english.lproj/default_styles.css +5 -0
- data/lib/frameworks/sproutcore/frameworks/forms/english.lproj/strings.js +15 -0
- data/lib/frameworks/sproutcore/frameworks/forms/mixins/edit_mode.js +43 -0
- data/lib/frameworks/sproutcore/frameworks/forms/mixins/emptiness.js +95 -0
- data/lib/frameworks/sproutcore/frameworks/forms/renderer_delegates/form.js +22 -0
- data/lib/frameworks/sproutcore/frameworks/forms/renderer_delegates/form_row.js +21 -0
- data/lib/frameworks/sproutcore/frameworks/forms/tests/views/form.js +15 -0
- data/lib/frameworks/sproutcore/frameworks/forms/tests/views/form_checkbox_field.js +15 -0
- data/lib/frameworks/sproutcore/frameworks/forms/tests/views/form_field.js +15 -0
- data/lib/frameworks/sproutcore/frameworks/forms/tests/views/form_label.js +15 -0
- data/lib/frameworks/sproutcore/frameworks/forms/tests/views/form_radio_field.js +15 -0
- data/lib/frameworks/sproutcore/frameworks/forms/tests/views/form_row.js +15 -0
- data/lib/frameworks/sproutcore/frameworks/forms/tests/views/form_text_field.js +15 -0
- data/lib/frameworks/sproutcore/frameworks/forms/views/form.js +280 -0
- data/lib/frameworks/sproutcore/frameworks/forms/views/form_row.js +183 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/controllers/tree.js +5 -2
- data/lib/frameworks/sproutcore/frameworks/foundation/core.js +0 -150
- data/lib/frameworks/sproutcore/frameworks/foundation/debug/control_test_pane.js +0 -2
- data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/benchmark.css +146 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/bootstrap.rhtml +2 -14
- data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/images/favicon.ico +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/images/sproutcore.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/strings.js +0 -2
- data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/text_field.css +4 -6
- data/lib/frameworks/sproutcore/frameworks/foundation/gestures/pinch.js +81 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/gestures/swipe.js +144 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/gestures/tap.js +113 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/license.js +24 -26
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/auto_mixin.js +39 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/auto_resize.js +244 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/control.js +68 -23
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/editable.js +8 -2
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/flowed_layout.js +626 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/gestureable.js +214 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/inline_editable.js +89 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/inline_editor_delegate.js +139 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/inline_text_field.js +25 -33
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/string.js +57 -209
- data/lib/frameworks/sproutcore/frameworks/foundation/private/tree_item_observer.js +7 -3
- data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/canvas_image.js +100 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/container.js +18 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/image.js +97 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/label.js +111 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/render_delegate.js +17 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/system/benchmark.js +360 -156
- data/lib/frameworks/sproutcore/frameworks/{runtime → foundation}/system/cookie.js +35 -35
- data/lib/frameworks/sproutcore/frameworks/foundation/system/core_query.js +19 -2012
- data/lib/frameworks/sproutcore/frameworks/foundation/system/exception_handler.js +3 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/system/gesture.js +363 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/system/{image_cache.js → image_queue.js} +19 -22
- data/lib/frameworks/sproutcore/frameworks/foundation/system/module.js +576 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/system/request.js +19 -22
- data/lib/frameworks/sproutcore/frameworks/foundation/system/response.js +73 -61
- data/lib/frameworks/sproutcore/frameworks/foundation/system/routes.js +122 -23
- data/lib/frameworks/sproutcore/frameworks/foundation/system/staticqueue.js +53 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/system/task_queue.js +18 -15
- data/lib/frameworks/sproutcore/frameworks/foundation/system/user_defaults.js +82 -90
- data/lib/frameworks/sproutcore/frameworks/foundation/system/utils/colors.js +80 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/system/utils/misc.js +76 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/system/utils/range.js +64 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/system/utils/string_measurement.js +247 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/tasks/preload_bundle.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/inline_text_field/beginEditing.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/staticLayout.js +2 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/string.js +2 -57
- data/lib/frameworks/sproutcore/frameworks/{runtime → foundation}/tests/system/cookie.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/core_query/setClass.js +13 -3
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/request.js +99 -49
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/routes.js +24 -20
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/container/methods.js +9 -1
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/container/ui.js +31 -6
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/image/ui.js +454 -44
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/label/ui.js +10 -1
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/{view → text_field}/nextValidKeyView.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/validators/number.js +1 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/views/container.js +9 -8
- data/lib/frameworks/sproutcore/frameworks/foundation/views/field.js +1 -3
- data/lib/frameworks/sproutcore/frameworks/foundation/views/image.js +381 -105
- data/lib/frameworks/sproutcore/frameworks/foundation/views/label.js +44 -171
- data/lib/frameworks/sproutcore/frameworks/foundation/views/text_field.js +69 -16
- data/lib/frameworks/sproutcore/frameworks/jquery/jquery-buffer.js +376 -0
- data/lib/frameworks/sproutcore/frameworks/jquery/jquery-buffered.js +205 -0
- data/lib/frameworks/sproutcore/frameworks/jquery/jquery-sc.js +7 -0
- data/lib/frameworks/sproutcore/frameworks/jquery/jquery.js +7179 -0
- data/lib/frameworks/sproutcore/frameworks/media/views/audio.js +4 -2
- data/lib/frameworks/sproutcore/frameworks/media/views/controls.js +1 -3
- data/lib/frameworks/sproutcore/frameworks/media/views/simple_controls.js +1 -2
- data/lib/frameworks/sproutcore/frameworks/mini/license.js +29 -28
- data/lib/frameworks/sproutcore/frameworks/runtime/core.js +366 -333
- data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/rangeObserver.js +73 -73
- data/lib/frameworks/sproutcore/frameworks/runtime/license.js +29 -28
- data/lib/frameworks/sproutcore/frameworks/runtime/mixins/array.js +160 -150
- data/lib/frameworks/sproutcore/frameworks/runtime/mixins/comparable.js +9 -9
- data/lib/frameworks/sproutcore/frameworks/runtime/mixins/copyable.js +15 -15
- data/lib/frameworks/sproutcore/frameworks/runtime/mixins/enumerable.js +228 -220
- data/lib/frameworks/sproutcore/frameworks/runtime/mixins/freezable.js +27 -27
- data/lib/frameworks/sproutcore/frameworks/runtime/mixins/observable.js +355 -305
- data/lib/frameworks/sproutcore/frameworks/runtime/private/chain_observer.js +32 -32
- data/lib/frameworks/sproutcore/frameworks/runtime/private/observer_queue.js +53 -51
- data/lib/frameworks/sproutcore/frameworks/runtime/private/observer_set.js +49 -106
- data/lib/frameworks/sproutcore/frameworks/runtime/system/binding.js +252 -252
- data/lib/frameworks/sproutcore/frameworks/runtime/system/enumerator.js +22 -22
- data/lib/frameworks/sproutcore/frameworks/runtime/system/error.js +31 -31
- data/lib/frameworks/sproutcore/frameworks/runtime/system/index_set.js +234 -234
- data/lib/frameworks/sproutcore/frameworks/runtime/system/logger.js +4 -4
- data/lib/frameworks/sproutcore/frameworks/runtime/system/object.js +167 -157
- data/lib/frameworks/sproutcore/frameworks/runtime/system/range_observer.js +84 -85
- data/lib/frameworks/sproutcore/frameworks/runtime/system/run_loop.js +104 -91
- data/lib/frameworks/sproutcore/frameworks/runtime/system/set.js +102 -98
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/core/IsEqual.js +19 -49
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/core/guidFor.js +53 -126
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/core/itemType.js +62 -33
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/mixins/enumerable.js +41 -5
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/mixins/observable/observable.js +133 -98
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/observer_set.js +50 -0
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/range_observer/create.js +11 -11
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/set.js +71 -45
- data/lib/frameworks/sproutcore/frameworks/statechart/core.js +3 -9
- data/lib/frameworks/sproutcore/frameworks/statechart/debug/monitor.js +136 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/system/state.js +636 -99
- data/lib/frameworks/sproutcore/frameworks/statechart/system/statechart.js +951 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/async.js +94 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/event_handling/advanced_event_handling.js +310 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/namespace/access_substates.js +252 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/state/is_current_state.js +64 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_history_state.js +88 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_advanced.js +234 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_async.js +123 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_basic.js +139 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/with_concurrent_states/goto_state_intermediate.js +119 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/with_concurrent_states/send_event.js +183 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/without_concurrent_states/default_responder.js +90 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/without_concurrent_states/goto_history_state.js +200 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/without_concurrent_states/goto_state.js +256 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/without_concurrent_states/goto_state_async.js +187 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/without_concurrent_states/send_event.js +122 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/without_concurrent_states/state_plugin.js +99 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/without_concurrent_states/transient.js +162 -0
- data/lib/frameworks/sproutcore/frameworks/table/views/table_cell.js +2 -1
- data/lib/frameworks/sproutcore/frameworks/table/views/table_head.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/table/views/table_row.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/testing/system/runner.js +2 -1
- data/lib/frameworks/sproutcore/lib/index.rhtml +24 -1
- data/lib/frameworks/sproutcore/license.js +31 -30
- data/lib/frameworks/sproutcore/themes/ace/designs/dark.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/dark.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/light.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/light.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/18px/active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/18px/normal_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/18px/selected_active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/18px/selected_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/active_button_capsule.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/active_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/normal_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/normal_button_capsule.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/normal_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_active_button_capsule.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_active_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_button_capsule.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/24px/selected_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/30px/active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/30px/active_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/30px/normal_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/30px/normal_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_active_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/30px/selected_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/44px/active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/44px/normal_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/44px/selected_active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/ace/44px/selected_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/active_button_capsule.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/active_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/normal_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/normal_button_capsule.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/normal_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_active_button_capsule.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_active_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_button_capsule.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/24px/selected_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/30px/active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/30px/active_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/30px/normal_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/30px/normal_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_active_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_active_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_button.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/dark/30px/selected_button_pointer.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/popup/active_select.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/button/popup/normal_select.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_checked.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_checked_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_mixed.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_mixed_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_unchecked.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/14px/checkbox_unchecked_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_checked.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_checked_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_mixed.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_mixed_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_unchecked.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/checkbox/ace/16px/checkbox_unchecked_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/collection/source-list/selection.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_closed.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_closed_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_open.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/disclosure/ace/disclosure_open_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/menu/checkmark.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/menu/checkmark_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/menu/down.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/menu/menu.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/menu/menu_item.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/menu/up.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/panel/panel.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/picker/popover/popover.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/picker/popover/popover_empty.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/picker/popover/popover_notoolbar.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/picker/popover/popover_pointers.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/picker/popover/popover_pointers_notoolbar.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/progress/ace/progress_view_content.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/progress/ace/progress_view_indeterminate_content.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/progress/ace/progress_view_track.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/radio/radio_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/radio/radio_mixed.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/radio/radio_mixed_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/radio/radio_selected.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/radio/radio_selected_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/radio/radio_unselected.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/scroller/horizontal/thumb.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/scroller/horizontal/track_and_arrows.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/scroller/horizontal/track_and_arrows_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/scroller/vertical/thumb.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/scroller/vertical/track_and_arrows.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/scroller/vertical/track_and_arrows_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_normal.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_selected.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/18px/segmented_selected_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_normal.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_selected.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/24px/segmented_selected_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_normal.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_selected.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/30px/segmented_selected_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_normal.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_selected.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/segmented/44px/segmented_selected_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/slider/ace/14px/knob.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/slider/ace/14px/knob_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/slider/ace/16px/knob.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/slider/ace/16px/knob_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/slider/ace/22px/knob.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/slider/ace/22px/knob_active.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/slider/ace/22px/track.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/slider/ace/track.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/toolbar/toolbar.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/switch/switch.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/switch/switch_handle.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/switch/switch_handle.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/switch/switch_off.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/switch/switch_off.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/switch/switch_on.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/switch/switch_on.psd +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/body.css +13 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/18px/active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/18px/button.css +27 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/18px/normal_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/18px/selected_active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/18px/selected_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/active_button_capsule.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/active_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/button.css +84 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/normal_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/normal_button_capsule.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/normal_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/selected_active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/selected_active_button_capsule.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/selected_active_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/selected_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/selected_button_capsule.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/24px/selected_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/30px/active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/30px/active_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/30px/button.css +66 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/30px/normal_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/30px/normal_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/30px/selected_active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/30px/selected_active_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/30px/selected_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/30px/selected_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/44px/active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/44px/button.css +34 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/44px/normal_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/44px/selected_active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/44px/selected_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/button.css +28 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/button.js +69 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/active_button_capsule.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/active_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/button.css +84 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/normal_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/normal_button_capsule.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/normal_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/selected_active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/selected_active_button_capsule.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/selected_active_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/selected_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/selected_button_capsule.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/24px/selected_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/30px/active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/30px/active_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/30px/button.css +66 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/30px/normal_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/30px/normal_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/30px/selected_active_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/30px/selected_active_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/30px/selected_button.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/30px/selected_button_pointer.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/button.css +17 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/button.js +3 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/popup/active_select.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/popup/normal_select.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/popup/select.css +20 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox.css +40 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_checked.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_checked_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_mixed.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_mixed_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_unchecked.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_unchecked_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox.css +40 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_checked.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_checked_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_mixed.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_mixed_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_unchecked.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_unchecked_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/checkbox.css +7 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/collection/normal/list.css +4 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/collection/normal/list_item.css +17 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/collection/source-list/selection.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/collection/source-list/source-list.js +3 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/collection/source-list/source_list_view.css +36 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/disclosure/ace/disclosure.css +24 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/disclosure/ace/disclosure_closed.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/disclosure/ace/disclosure_closed_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/disclosure/ace/disclosure_open.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/disclosure/ace/disclosure_open_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/loading.css +50 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/master-detail/master-detail.css +27 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/menu/checkmark.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/menu/checkmark_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/menu/down.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/menu/menu.css +76 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/menu/menu.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/menu/menu_item.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/menu/up.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/pane/pane.css +3 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/panel/panel.css +13 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/panel/panel.js +20 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/panel/panel.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/picker/ace/picker.js +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/picker.js +32 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/popover.css +111 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/popover.js +12 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/popover.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/popover_empty.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/popover_notoolbar.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/popover_pointers.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/popover_pointers_notoolbar.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/workspace.js +28 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/progress/ace/progress.css +27 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/progress/ace/progress_view_content.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/progress/ace/progress_view_track.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/progress/progress.js +78 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/radio/radio.css +63 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/radio/radio_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/radio/radio_mixed.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/radio/radio_mixed_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/radio/radio_selected.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/radio/radio_selected_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/radio/radio_unselected.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/horizontal/horizontal.css +78 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/horizontal/horizontal_touch.css +91 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/horizontal/thumb.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/horizontal/track_and_arrows.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/horizontal/track_and_arrows_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/vertical/thumb.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/vertical/track_and_arrows.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/vertical/track_and_arrows_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/vertical/vertical.css +80 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/vertical/vertical_touch.css +92 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/18px/segmented.css +91 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/18px/segmented_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/18px/segmented_normal.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/18px/segmented_selected.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/18px/segmented_selected_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/24px/segmented.css +91 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/24px/segmented_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/24px/segmented_normal.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/24px/segmented_selected.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/24px/segmented_selected_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/30px/segmented.css +91 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/30px/segmented_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/30px/segmented_normal.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/30px/segmented_selected.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/30px/segmented_selected_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/44px/segmented.css +95 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/44px/segmented_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/44px/segmented_normal.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/44px/segmented_selected.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/44px/segmented_selected_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/segmented.css +79 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/14px/knob.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/14px/knob_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/14px/slider.css +27 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/16px/knob.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/16px/knob_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/16px/slider.css +27 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/22px/knob.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/22px/knob_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/22px/slider.css +27 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/22px/track.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/slider.css +3 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/slider.js +48 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/track.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/split/split.css +5 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/tab/tab.css +3 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/toolbar/toolbar.css +8 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/toolbar/toolbar.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/well/well.css +8 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/well/well.js +19 -0
- data/lib/frameworks/sproutcore/themes/ace/theme.js +14 -0
- data/lib/frameworks/sproutcore/themes/empty_theme/theme.js +16 -0
- data/lib/frameworks/sproutcore/themes/standard_theme/english.lproj/segmented.css +16 -21
- data/lib/sproutcore.rb +9 -2
- data/lib/sproutcore/builders.rb +2 -1
- data/lib/sproutcore/builders/base.rb +7 -2
- data/lib/sproutcore/builders/combine.rb +49 -1
- data/lib/sproutcore/builders/html.rb +2 -0
- data/lib/sproutcore/builders/javascript.rb +1 -1
- data/lib/sproutcore/builders/minify.rb +12 -12
- data/lib/sproutcore/builders/module.rb +72 -0
- data/lib/sproutcore/builders/string_wrapper.rb +43 -0
- data/lib/sproutcore/helpers/entry_sorter.rb +5 -9
- data/lib/sproutcore/helpers/static_helper.rb +13 -9
- data/lib/sproutcore/models/manifest_entry.rb +2 -2
- data/lib/sproutcore/models/target.rb +25 -11
- data/lib/sproutcore/rack/dev.rb +3 -3
- data/lib/sproutcore/tools.rb +51 -2
- data/lib/sproutcore/tools/build.rb +35 -7
- data/lib/sproutcore/version.rb +1 -0
- data/spec/buildtasks/manifest/prepare_build_tasks/bundle_spec.rb +5 -5
- data/spec/fixtures/builder_tests/Buildfile +2 -2
- data/spec/lib/builders/bundle_spec.rb +8 -8
- data/spec/lib/builders/strings_spec.rb +1 -0
- data/sproutcore.gemspec +9 -2
- data/vendor/chance/.gitignore +5 -0
- data/vendor/chance/Gemfile +4 -0
- data/vendor/chance/Rakefile +2 -0
- data/vendor/chance/bin/chance +72 -0
- data/vendor/chance/chance.gemspec +28 -0
- data/vendor/chance/lib/chance.rb +139 -0
- data/vendor/chance/lib/chance/imager.rb +13 -0
- data/vendor/chance/lib/chance/imagers/data_url.rb +34 -0
- data/vendor/chance/lib/chance/importer.rb +64 -0
- data/vendor/chance/lib/chance/instance.rb +225 -0
- data/vendor/chance/lib/chance/parser.rb +831 -0
- data/vendor/chance/lib/chance/perf.rb +17 -0
- data/vendor/chance/lib/chance/sass_extensions.rb +24 -0
- data/vendor/chance/lib/chance/slicing.rb +104 -0
- data/vendor/chance/lib/chance/version.rb +3 -0
- data/vendor/chance/test/case/abc.png +0 -0
- data/vendor/chance/test/case/more/abc.png +0 -0
- data/vendor/chance/test/case/more/another.css +4 -0
- data/vendor/chance/test/case/test1.css +22 -0
- data/vendor/chance/test/case/test2.css +6 -0
- data/vendor/sproutcore/SCCompiler.jar +0 -0
- data/vendor/sproutcore/lib/args4j-2.0.12.jar +0 -0
- data/vendor/sproutcore/lib/htmlcompressor-0.9.3.jar +0 -0
- data/{lib/sproutcore/vendor/yui-compressor → vendor/sproutcore/lib}/yuicompressor-2.4.2.jar +0 -0
- data/vendor/sproutcore/src/SCCompiler/build.xml +74 -0
- data/vendor/sproutcore/src/SCCompiler/lib/args4j-2.0.12.jar +0 -0
- data/vendor/sproutcore/src/SCCompiler/lib/htmlcompressor-0.9.3.jar +0 -0
- data/{lib/sproutcore/vendor/yui-compressor/SCyuicompressor-2.4.2.jar → vendor/sproutcore/src/SCCompiler/lib/yuicompressor-2.4.2.jar} +0 -0
- data/vendor/sproutcore/src/SCCompiler/lib/yuicompressor-2.4.4.jar +0 -0
- data/vendor/sproutcore/src/SCCompiler/manifest.mf +3 -0
- data/vendor/sproutcore/src/SCCompiler/nbproject/build-impl.xml +894 -0
- data/vendor/sproutcore/src/SCCompiler/nbproject/genfiles.properties +8 -0
- data/vendor/sproutcore/src/SCCompiler/nbproject/private/config.properties +0 -0
- data/vendor/sproutcore/src/SCCompiler/nbproject/private/private.properties +10 -0
- data/vendor/sproutcore/src/SCCompiler/nbproject/private/private.xml +4 -0
- data/vendor/sproutcore/src/SCCompiler/nbproject/project.properties +90 -0
- data/vendor/sproutcore/src/SCCompiler/nbproject/project.xml +15 -0
- data/vendor/sproutcore/src/SCCompiler/src/com/sproutcore/Main.java +348 -0
- metadata +686 -177
- data/lib/frameworks/sproutcore/CHANGELOG +0 -93
- data/lib/frameworks/sproutcore/frameworks/datejs/core.js +0 -865
- data/lib/frameworks/sproutcore/frameworks/datejs/english.lproj/en-US.js +0 -186
- data/lib/frameworks/sproutcore/frameworks/datejs/extras.js +0 -332
- data/lib/frameworks/sproutcore/frameworks/datejs/license.js +0 -25
- data/lib/frameworks/sproutcore/frameworks/datejs/parser.js +0 -1116
- data/lib/frameworks/sproutcore/frameworks/datejs/spanish.lproj/es-CO.js +0 -186
- data/lib/frameworks/sproutcore/frameworks/datejs/sugarpak.js +0 -475
- data/lib/frameworks/sproutcore/frameworks/datejs/time.js +0 -269
- data/lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js +0 -34
- data/lib/frameworks/sproutcore/frameworks/foundation/protocols/inline_editor_delegate.js +0 -84
- data/lib/frameworks/sproutcore/frameworks/foundation/system/bundle.js +0 -337
- data/lib/frameworks/sproutcore/frameworks/foundation/system/ready.js +0 -197
- data/lib/frameworks/sproutcore/frameworks/foundation/system/utils.js +0 -710
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/core_query/jquery_core.js +0 -1334
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/core_query/jquery_dimensions.js +0 -387
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/core_query/jquery_selector.js +0 -405
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/core/isArray.js +0 -25
- data/lib/frameworks/sproutcore/frameworks/statechart/mixins/statechart.js +0 -336
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/basic.js +0 -90
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/history.js +0 -71
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/nested.js +0 -59
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/transient.js +0 -148
- data/lib/sproutcore/builders/bundle.rb +0 -63
data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/core_query/jquery_dimensions.js
DELETED
@@ -1,387 +0,0 @@
|
|
1
|
-
// ========================================================================
|
2
|
-
// CoreQuery Tests
|
3
|
-
// ========================================================================
|
4
|
-
|
5
|
-
/*
|
6
|
-
This test file incorporates most of the changes that come bundled with the
|
7
|
-
SC.$-dimensions suite of tests, modified to fit CoreQuery's reduced API.
|
8
|
-
|
9
|
-
You should be able to update most of these tests with updated versons of the
|
10
|
-
same tests in SC.$.
|
11
|
-
|
12
|
-
Be sure to replace all occurrences of SC.$ with SC.$.
|
13
|
-
|
14
|
-
*/
|
15
|
-
|
16
|
-
htmlbody('<!-- Test Styles -->\
|
17
|
-
<style>\
|
18
|
-
body, div, h1 { font-family: "trebuchet ms", verdana, arial; margin: 0; padding: 0 }\
|
19
|
-
body {font-size: 10pt; }\
|
20
|
-
h1 { padding: 15px; font-size: large; background-color: #06b; color: white; }\
|
21
|
-
h1 a { color: white; }\
|
22
|
-
h2 { padding: 10px; background-color: #eee; color: black; margin: 0; font-size: small; font-weight: normal }\
|
23
|
-
\
|
24
|
-
.pass { color: green; } \
|
25
|
-
.fail { color: red; } \
|
26
|
-
p.result { margin-left: 1em; }\
|
27
|
-
\
|
28
|
-
#banner { height: 2em; border-bottom: 1px solid white; }\
|
29
|
-
h2.pass { background-color: green; }\
|
30
|
-
h2.fail { background-color: red; }\
|
31
|
-
\
|
32
|
-
div.testrunner-toolbar { background: #eee; border-top: 1px solid black; padding: 10px; }\
|
33
|
-
\
|
34
|
-
ol#tests > li > strong { cursor:pointer; }\
|
35
|
-
\
|
36
|
-
div#fx-tests h4 {\
|
37
|
-
background: red;\
|
38
|
-
}\
|
39
|
-
\
|
40
|
-
div#fx-tests h4.pass {\
|
41
|
-
background: green;\
|
42
|
-
}\
|
43
|
-
\
|
44
|
-
div#fx-tests div.box {\
|
45
|
-
background: red url(data/cow.jpg) no-repeat;\
|
46
|
-
overflow: hidden;\
|
47
|
-
border: 2px solid #000;\
|
48
|
-
}\
|
49
|
-
\
|
50
|
-
div#fx-tests div.overflow {\
|
51
|
-
overflow: visible;\
|
52
|
-
}\
|
53
|
-
\
|
54
|
-
div.inline {\
|
55
|
-
display: inline;\
|
56
|
-
}\
|
57
|
-
\
|
58
|
-
div.autoheight {\
|
59
|
-
height: auto;\
|
60
|
-
}\
|
61
|
-
\
|
62
|
-
div.autowidth {\
|
63
|
-
width: auto;\
|
64
|
-
}\
|
65
|
-
\
|
66
|
-
div.autoopacity {\
|
67
|
-
opacity: auto;\
|
68
|
-
}\
|
69
|
-
\
|
70
|
-
div.largewidth {\
|
71
|
-
width: 100px;\
|
72
|
-
}\
|
73
|
-
\
|
74
|
-
div.largeheight {\
|
75
|
-
height: 100px;\
|
76
|
-
}\
|
77
|
-
\
|
78
|
-
div.largeopacity {\
|
79
|
-
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);\
|
80
|
-
}\
|
81
|
-
\
|
82
|
-
div.medwidth {\
|
83
|
-
width: 50px;\
|
84
|
-
}\
|
85
|
-
\
|
86
|
-
div.medheight {\
|
87
|
-
height: 50px;\
|
88
|
-
}\
|
89
|
-
\
|
90
|
-
div.medopacity {\
|
91
|
-
opacity: 0.5;\
|
92
|
-
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);\
|
93
|
-
}\
|
94
|
-
\
|
95
|
-
div.nowidth {\
|
96
|
-
width: 0px;\
|
97
|
-
}\
|
98
|
-
\
|
99
|
-
div.noheight {\
|
100
|
-
height: 0px;\
|
101
|
-
}\
|
102
|
-
\
|
103
|
-
div.noopacity {\
|
104
|
-
opacity: 0;\
|
105
|
-
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);\
|
106
|
-
}\
|
107
|
-
\
|
108
|
-
div.hidden {\
|
109
|
-
display: none;\
|
110
|
-
}\
|
111
|
-
\
|
112
|
-
div#fx-tests div.widewidth {\
|
113
|
-
background-repeat: repeat-x;\
|
114
|
-
}\
|
115
|
-
\
|
116
|
-
div#fx-tests div.wideheight {\
|
117
|
-
background-repeat: repeat-y;\
|
118
|
-
}\
|
119
|
-
\
|
120
|
-
div#fx-tests div.widewidth.wideheight {\
|
121
|
-
background-repeat: repeat;\
|
122
|
-
}\
|
123
|
-
\
|
124
|
-
div#fx-tests div.noback {\
|
125
|
-
background-image: none;\
|
126
|
-
}\
|
127
|
-
\
|
128
|
-
div.chain, div.chain div { width: 100px; height: 20px; position: relative; float: left; }\
|
129
|
-
div.chain div { position: absolute; top: 0px; left: 0px; }\
|
130
|
-
\
|
131
|
-
div.chain.test { background: red; }\
|
132
|
-
div.chain.test div { background: green; }\
|
133
|
-
\
|
134
|
-
div.chain.out { background: green; }\
|
135
|
-
div.chain.out div { background: red; display: none; }\
|
136
|
-
\
|
137
|
-
div#show-tests * { display: none; }\
|
138
|
-
</style>\
|
139
|
-
<!-- Test HTML -->\
|
140
|
-
<div id="nothiddendiv" style="height:1px;background:white;">\
|
141
|
-
<div id="nothiddendivchild"></div>\
|
142
|
-
</div>\
|
143
|
-
<!-- this iframe is outside the #main so it won\'t reload constantly wasting time, but it means the tests must be "safe" and clean up after themselves -->\
|
144
|
-
<iframe id="loadediframe" name="loadediframe" style="display:none;" src="data/iframe.html"></iframe>\
|
145
|
-
<dl id="dl" style="display:none;">\
|
146
|
-
<div id="main" style="display: none;">\
|
147
|
-
<p id="firstp">See <a id="simon1" href="http://simon.incutio.com/archive/2003/03/25/#getElementsBySelector" rel="bookmark">this blog entry</a> for more information.</p>\
|
148
|
-
<p id="ap">\
|
149
|
-
Here are some links in a normal paragraph: <a id="google" href="http://www.google.com/" title="Google!">Google</a>, \
|
150
|
-
<a id="groups" href="http://groups.google.com/">Google Groups</a>. \
|
151
|
-
This link has <code><a href="http://smin" id="anchor1">class="blog"</a></code>: \
|
152
|
-
<a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a>\
|
153
|
-
\
|
154
|
-
</p>\
|
155
|
-
<div id="foo">\
|
156
|
-
<p id="sndp">Everything inside the red border is inside a div with <code>id="foo"</code>.</p>\
|
157
|
-
<p lang="en" id="en">This is a normal link: <a id="yahoo" href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p>\
|
158
|
-
<p id="sap">This link has <code><a href="#2" id="anchor2">class="blog"</a></code>: <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison\'s Weblog</a></p>\
|
159
|
-
\
|
160
|
-
</div>\
|
161
|
-
<p id="first">Try them out:</p>\
|
162
|
-
<ul id="firstUL"></ul>\
|
163
|
-
<ol id="empty"></ol>\
|
164
|
-
<form id="form" action="formaction">\
|
165
|
-
<input type="text" name="action" value="Test" id="text1" maxlength="30"/>\
|
166
|
-
<input type="text" name="text2" value="Test" id="text2" disabled="disabled"/>\
|
167
|
-
<input type="radio" name="radio1" id="radio1" value="on"/>\
|
168
|
-
\
|
169
|
-
<input type="radio" name="radio2" id="radio2" checked="checked"/>\
|
170
|
-
<input type="checkbox" name="check" id="check1" checked="checked"/>\
|
171
|
-
<input type="checkbox" id="check2" value="on"/>\
|
172
|
-
\
|
173
|
-
<input type="hidden" name="hidden" id="hidden1"/>\
|
174
|
-
<input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>\
|
175
|
-
\
|
176
|
-
<input type="text" id="name" name="name" value="name" />\
|
177
|
-
\
|
178
|
-
<button id="button" name="button">Button</button>\
|
179
|
-
\
|
180
|
-
<textarea id="area1" maxlength="30">foobar</textarea>\
|
181
|
-
\
|
182
|
-
<select name="select1" id="select1">\
|
183
|
-
<option id="option1a" class="emptyopt" value="">Nothing</option>\
|
184
|
-
<option id="option1b" value="1">1</option>\
|
185
|
-
<option id="option1c" value="2">2</option>\
|
186
|
-
<option id="option1d" value="3">3</option>\
|
187
|
-
</select>\
|
188
|
-
<select name="select2" id="select2">\
|
189
|
-
<option id="option2a" class="emptyopt" value="">Nothing</option>\
|
190
|
-
<option id="option2b" value="1">1</option>\
|
191
|
-
<option id="option2c" value="2">2</option>\
|
192
|
-
<option id="option2d" selected="selected" value="3">3</option>\
|
193
|
-
</select>\
|
194
|
-
<select name="select3" id="select3" multiple="multiple">\
|
195
|
-
<option id="option3a" class="emptyopt" value="">Nothing</option>\
|
196
|
-
<option id="option3b" selected="selected" value="1">1</option>\
|
197
|
-
<option id="option3c" selected="selected" value="2">2</option>\
|
198
|
-
<option id="option3d" value="3">3</option>\
|
199
|
-
<option id="option3e">no value</option>\
|
200
|
-
</select>\
|
201
|
-
\
|
202
|
-
<object id="object1" codebase="stupid">\
|
203
|
-
<param name="p1" value="x1" />\
|
204
|
-
<param name="p2" value="x2" />\
|
205
|
-
</object>\
|
206
|
-
\
|
207
|
-
<span id="台北Táiběi"></span>\
|
208
|
-
<span id="台北" lang="中文"></span>\
|
209
|
-
<span id="utf8class1" class="台北Táiběi 台北"></span>\
|
210
|
-
<span id="utf8class2" class="台北"></span>\
|
211
|
-
<span id="foo:bar" class="foo:bar"></span>\
|
212
|
-
<span id="test.foo[5]bar" class="test.foo[5]bar"></span>\
|
213
|
-
\
|
214
|
-
<foo_bar id="foobar">test element</foo_bar>\
|
215
|
-
</form>\
|
216
|
-
<b id="floatTest">Float test.</b>\
|
217
|
-
<iframe id="iframe" name="iframe"></iframe>\
|
218
|
-
<form id="lengthtest">\
|
219
|
-
<input type="text" id="length" name="test"/>\
|
220
|
-
<input type="text" id="idTest" name="id"/>\
|
221
|
-
</form>\
|
222
|
-
<table id="table"></table>\
|
223
|
-
\
|
224
|
-
<div id="fx-queue">\
|
225
|
-
<div id="fadein" class="chain test">fadeIn<div>fadeIn</div></div>\
|
226
|
-
<div id="fadeout" class="chain test out">fadeOut<div>fadeOut</div></div>\
|
227
|
-
\
|
228
|
-
<div id="show" class="chain test">show<div>show</div></div>\
|
229
|
-
<div id="hide" class="chain test out">hide<div>hide</div></div>\
|
230
|
-
\
|
231
|
-
<div id="togglein" class="chain test">togglein<div>togglein</div></div>\
|
232
|
-
<div id="toggleout" class="chain test out">toggleout<div>toggleout</div> </div>\
|
233
|
-
\
|
234
|
-
\
|
235
|
-
<div id="slideup" class="chain test">slideUp<div>slideUp</div></div>\
|
236
|
-
<div id="slidedown" class="chain test out">slideDown<div>slideDown</div></div>\
|
237
|
-
\
|
238
|
-
<div id="slidetogglein" class="chain test">slideToggleIn<div>slideToggleIn</div></div>\
|
239
|
-
<div id="slidetoggleout" class="chain test out">slideToggleOut<div>slideToggleOut</div></div>\
|
240
|
-
</div>\
|
241
|
-
\
|
242
|
-
<div id="fx-tests"></div>\
|
243
|
-
\
|
244
|
-
<form id="testForm" action="#" method="get">\
|
245
|
-
<textarea name="T3" rows="2" cols="15">?\
|
246
|
-
Z</textarea>\
|
247
|
-
<input type="hidden" name="H1" value="x" />\
|
248
|
-
<input type="hidden" name="H2" />\
|
249
|
-
<input name="PWD" type="password" value="" />\
|
250
|
-
<input name="T1" type="text" />\
|
251
|
-
<input name="T2" type="text" value="YES" readonly="readonly" />\
|
252
|
-
<input type="checkbox" name="C1" value="1" />\
|
253
|
-
<input type="checkbox" name="C2" />\
|
254
|
-
<input type="radio" name="R1" value="1" />\
|
255
|
-
<input type="radio" name="R1" value="2" />\
|
256
|
-
<input type="text" name="My Name" value="me" />\
|
257
|
-
<input type="reset" name="reset" value="NO" />\
|
258
|
-
<select name="S1">\
|
259
|
-
<option value="abc">ABC</option>\
|
260
|
-
<option value="abc">ABC</option>\
|
261
|
-
<option value="abc">ABC</option>\
|
262
|
-
</select>\
|
263
|
-
<select name="S2" multiple="multiple" size="3">\
|
264
|
-
<option value="abc">ABC</option>\
|
265
|
-
<option value="abc">ABC</option>\
|
266
|
-
<option value="abc">ABC</option>\
|
267
|
-
</select>\
|
268
|
-
<select name="S3">\
|
269
|
-
<option selected="selected">YES</option>\
|
270
|
-
</select>\
|
271
|
-
<select name="S4">\
|
272
|
-
<option value="" selected="selected">NO</option>\
|
273
|
-
</select>\
|
274
|
-
<input type="submit" name="sub1" value="NO" />\
|
275
|
-
<input type="submit" name="sub2" value="NO" />\
|
276
|
-
<input type="image" name="sub3" value="NO" />\
|
277
|
-
<button name="sub4" type="submit" value="NO">NO</button>\
|
278
|
-
<input name="D1" type="text" value="NO" disabled="disabled" />\
|
279
|
-
<input type="checkbox" checked="checked" disabled="disabled" name="D2" value="NO" />\
|
280
|
-
<input type="radio" name="D3" value="NO" checked="checked" disabled="disabled" />\
|
281
|
-
<select name="D4" disabled="disabled">\
|
282
|
-
<option selected="selected" value="NO">NO</option>\
|
283
|
-
</select>\
|
284
|
-
</form>\
|
285
|
-
<div id="moretests">\
|
286
|
-
<form>\
|
287
|
-
<div id="checkedtest" style="display:none;">\
|
288
|
-
<input type="radio" class="radio" name="checkedtestradios" checked="checked"/>\
|
289
|
-
<input type="radio" class="radio" name="checkedtestradios" value="on"/>\
|
290
|
-
<input type="checkbox" class="checkbox" name="checkedtestcheckboxes" checked="checked"/>\
|
291
|
-
<input type="checkbox" class="checkbox" name="checkedtestcheckboxes" />\
|
292
|
-
</div>\
|
293
|
-
</form>\
|
294
|
-
<div id="nonnodes"><span>hi</span> there <!-- mon ami --></div>\
|
295
|
-
<div id="t2037">\
|
296
|
-
<div><div class="hidden">hidden</div></div>\
|
297
|
-
</div>\
|
298
|
-
</div>\
|
299
|
-
</div>\
|
300
|
-
</dl>') ;
|
301
|
-
|
302
|
-
module("dimensions");
|
303
|
-
|
304
|
-
test("innerWidth()", function() {
|
305
|
-
expect(3);
|
306
|
-
|
307
|
-
var $div = SC.$("#nothiddendiv");
|
308
|
-
// set styles
|
309
|
-
$div.css({
|
310
|
-
margin: 10,
|
311
|
-
border: "2px solid #fff",
|
312
|
-
width: 30
|
313
|
-
});
|
314
|
-
|
315
|
-
equals($div.innerWidth(), 30, "Test with margin and border");
|
316
|
-
$div.css("padding", "20px");
|
317
|
-
equals($div.innerWidth(), 70, "Test with margin, border and padding");
|
318
|
-
$div.hide();
|
319
|
-
equals($div.innerWidth(), 70, "Test hidden div");
|
320
|
-
|
321
|
-
// reset styles
|
322
|
-
$div.css({ display: "", border: "", padding: "", width: "", height: "" });
|
323
|
-
});
|
324
|
-
|
325
|
-
test("innerHeight()", function() {
|
326
|
-
expect(3);
|
327
|
-
|
328
|
-
var $div = SC.$("#nothiddendiv");
|
329
|
-
// set styles
|
330
|
-
$div.css({
|
331
|
-
margin: 10,
|
332
|
-
border: "2px solid #fff",
|
333
|
-
height: 30
|
334
|
-
});
|
335
|
-
|
336
|
-
equals($div.innerHeight(), 30, "Test with margin and border");
|
337
|
-
$div.css("padding", "20px");
|
338
|
-
equals($div.innerHeight(), 70, "Test with margin, border and padding");
|
339
|
-
$div.hide();
|
340
|
-
equals($div.innerHeight(), 70, "Test hidden div");
|
341
|
-
|
342
|
-
// reset styles
|
343
|
-
$div.css({ display: "", border: "", padding: "", width: "", height: "" });
|
344
|
-
});
|
345
|
-
|
346
|
-
test("outerWidth()", function() {
|
347
|
-
expect(6);
|
348
|
-
|
349
|
-
var $div = SC.$("#nothiddendiv");
|
350
|
-
$div.css("width", 30);
|
351
|
-
|
352
|
-
equals($div.outerWidth(), 30, "Test with only width set");
|
353
|
-
$div.css("padding", "20px");
|
354
|
-
equals($div.outerWidth(), 70, "Test with padding");
|
355
|
-
$div.css("border", "2px solid #fff");
|
356
|
-
equals($div.outerWidth(), 74, "Test with padding and border");
|
357
|
-
$div.css("margin", "10px");
|
358
|
-
equals($div.outerWidth(), 74, "Test with padding, border and margin without margin option");
|
359
|
-
$div.css("position", "absolute");
|
360
|
-
equals($div.outerWidth(true), 94, "Test with padding, border and margin with margin option");
|
361
|
-
$div.hide();
|
362
|
-
equals($div.outerWidth(true), 94, "Test hidden div with padding, border and margin with margin option");
|
363
|
-
|
364
|
-
// reset styles
|
365
|
-
$div.css({ position: "", display: "", border: "", padding: "", width: "", height: "" });
|
366
|
-
});
|
367
|
-
|
368
|
-
test("outerHeight()", function() {
|
369
|
-
expect(6);
|
370
|
-
|
371
|
-
var $div = SC.$("#nothiddendiv");
|
372
|
-
$div.css("height", 30);
|
373
|
-
|
374
|
-
equals($div.outerHeight(), 30, "Test with only width set");
|
375
|
-
$div.css("padding", "20px");
|
376
|
-
equals($div.outerHeight(), 70, "Test with padding");
|
377
|
-
$div.css("border", "2px solid #fff");
|
378
|
-
equals($div.outerHeight(), 74, "Test with padding and border");
|
379
|
-
$div.css("margin", "10px");
|
380
|
-
equals($div.outerHeight(), 74, "Test with padding, border and margin without margin option");
|
381
|
-
equals($div.outerHeight(true), 94, "Test with padding, border and margin with margin option");
|
382
|
-
$div.hide();
|
383
|
-
equals($div.outerHeight(true), 94, "Test hidden div with padding, border and margin with margin option");
|
384
|
-
|
385
|
-
// reset styles
|
386
|
-
$div.css({ display: "", border: "", padding: "", width: "", height: "" });
|
387
|
-
});
|
data/lib/frameworks/sproutcore/frameworks/foundation/tests/system/core_query/jquery_selector.js
DELETED
@@ -1,405 +0,0 @@
|
|
1
|
-
// ========================================================================
|
2
|
-
// CoreQuery Tests
|
3
|
-
// ========================================================================
|
4
|
-
|
5
|
-
/*
|
6
|
-
This test file incorporates most of the changes that come bundled with the
|
7
|
-
SC.$-selector suite of tests, modified to fit CoreQuery's reduced API.
|
8
|
-
|
9
|
-
You should be able to update most of these tests with updated versons of the
|
10
|
-
same tests in SC.$.
|
11
|
-
|
12
|
-
Be sure to replace all occurrences of jQuery with SC.$.
|
13
|
-
|
14
|
-
*/
|
15
|
-
|
16
|
-
htmlbody('<!-- Test Styles -->\
|
17
|
-
<style>\
|
18
|
-
body, div, h1 { font-family: "trebuchet ms", verdana, arial; margin: 0; padding: 0 }\
|
19
|
-
body {font-size: 10pt; }\
|
20
|
-
h1 { padding: 15px; font-size: large; background-color: #06b; color: white; }\
|
21
|
-
h1 a { color: white; }\
|
22
|
-
h2 { padding: 10px; background-color: #eee; color: black; margin: 0; font-size: small; font-weight: normal }\
|
23
|
-
\
|
24
|
-
.pass { color: green; } \
|
25
|
-
.fail { color: red; } \
|
26
|
-
p.result { margin-left: 1em; }\
|
27
|
-
\
|
28
|
-
#banner { height: 2em; border-bottom: 1px solid white; }\
|
29
|
-
h2.pass { background-color: green; }\
|
30
|
-
h2.fail { background-color: red; }\
|
31
|
-
\
|
32
|
-
div.testrunner-toolbar { background: #eee; border-top: 1px solid black; padding: 10px; }\
|
33
|
-
\
|
34
|
-
ol#tests > li > strong { cursor:pointer; }\
|
35
|
-
\
|
36
|
-
div#fx-tests h4 {\
|
37
|
-
background: red;\
|
38
|
-
}\
|
39
|
-
\
|
40
|
-
div#fx-tests h4.pass {\
|
41
|
-
background: green;\
|
42
|
-
}\
|
43
|
-
\
|
44
|
-
div#fx-tests div.box {\
|
45
|
-
background: red url(data/cow.jpg) no-repeat;\
|
46
|
-
overflow: hidden;\
|
47
|
-
border: 2px solid #000;\
|
48
|
-
}\
|
49
|
-
\
|
50
|
-
div#fx-tests div.overflow {\
|
51
|
-
overflow: visible;\
|
52
|
-
}\
|
53
|
-
\
|
54
|
-
div.inline {\
|
55
|
-
display: inline;\
|
56
|
-
}\
|
57
|
-
\
|
58
|
-
div.autoheight {\
|
59
|
-
height: auto;\
|
60
|
-
}\
|
61
|
-
\
|
62
|
-
div.autowidth {\
|
63
|
-
width: auto;\
|
64
|
-
}\
|
65
|
-
\
|
66
|
-
div.autoopacity {\
|
67
|
-
opacity: auto;\
|
68
|
-
}\
|
69
|
-
\
|
70
|
-
div.largewidth {\
|
71
|
-
width: 100px;\
|
72
|
-
}\
|
73
|
-
\
|
74
|
-
div.largeheight {\
|
75
|
-
height: 100px;\
|
76
|
-
}\
|
77
|
-
\
|
78
|
-
div.largeopacity {\
|
79
|
-
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);\
|
80
|
-
}\
|
81
|
-
\
|
82
|
-
div.medwidth {\
|
83
|
-
width: 50px;\
|
84
|
-
}\
|
85
|
-
\
|
86
|
-
div.medheight {\
|
87
|
-
height: 50px;\
|
88
|
-
}\
|
89
|
-
\
|
90
|
-
div.medopacity {\
|
91
|
-
opacity: 0.5;\
|
92
|
-
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);\
|
93
|
-
}\
|
94
|
-
\
|
95
|
-
div.nowidth {\
|
96
|
-
width: 0px;\
|
97
|
-
}\
|
98
|
-
\
|
99
|
-
div.noheight {\
|
100
|
-
height: 0px;\
|
101
|
-
}\
|
102
|
-
\
|
103
|
-
div.noopacity {\
|
104
|
-
opacity: 0;\
|
105
|
-
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);\
|
106
|
-
}\
|
107
|
-
\
|
108
|
-
div.hidden {\
|
109
|
-
display: none;\
|
110
|
-
}\
|
111
|
-
\
|
112
|
-
div#fx-tests div.widewidth {\
|
113
|
-
background-repeat: repeat-x;\
|
114
|
-
}\
|
115
|
-
\
|
116
|
-
div#fx-tests div.wideheight {\
|
117
|
-
background-repeat: repeat-y;\
|
118
|
-
}\
|
119
|
-
\
|
120
|
-
div#fx-tests div.widewidth.wideheight {\
|
121
|
-
background-repeat: repeat;\
|
122
|
-
}\
|
123
|
-
\
|
124
|
-
div#fx-tests div.noback {\
|
125
|
-
background-image: none;\
|
126
|
-
}\
|
127
|
-
\
|
128
|
-
div.chain, div.chain div { width: 100px; height: 20px; position: relative; float: left; }\
|
129
|
-
div.chain div { position: absolute; top: 0px; left: 0px; }\
|
130
|
-
\
|
131
|
-
div.chain.test { background: red; }\
|
132
|
-
div.chain.test div { background: green; }\
|
133
|
-
\
|
134
|
-
div.chain.out { background: green; }\
|
135
|
-
div.chain.out div { background: red; display: none; }\
|
136
|
-
\
|
137
|
-
div#show-tests * { display: none; }\
|
138
|
-
</style>\
|
139
|
-
<!-- Test HTML -->\
|
140
|
-
<div id="nothiddendiv" style="height:1px;background:white;">\
|
141
|
-
<div id="nothiddendivchild"></div>\
|
142
|
-
</div>\
|
143
|
-
<!-- this iframe is outside the #main so it won\'t reload constantly wasting time, but it means the tests must be "safe" and clean up after themselves -->\
|
144
|
-
<iframe id="loadediframe" name="loadediframe" style="display:none;" src="data/iframe.html"></iframe>\
|
145
|
-
<dl id="dl" style="display:none;">\
|
146
|
-
<div id="main" style="display: none;">\
|
147
|
-
<p id="firstp">See <a id="simon1" href="http://simon.incutio.com/archive/2003/03/25/#getElementsBySelector" rel="bookmark">this blog entry</a> for more information.</p>\
|
148
|
-
<p id="ap">\
|
149
|
-
Here are some links in a normal paragraph: <a id="google" href="http://www.google.com/" title="Google!">Google</a>, \
|
150
|
-
<a id="groups" href="http://groups.google.com/">Google Groups</a>. \
|
151
|
-
This link has <code><a href="http://smin" id="anchor1">class="blog"</a></code>: \
|
152
|
-
<a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a>\
|
153
|
-
\
|
154
|
-
</p>\
|
155
|
-
<div id="foo">\
|
156
|
-
<p id="sndp">Everything inside the red border is inside a div with <code>id="foo"</code>.</p>\
|
157
|
-
<p lang="en" id="en">This is a normal link: <a id="yahoo" href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p>\
|
158
|
-
<p id="sap">This link has <code><a href="#2" id="anchor2">class="blog"</a></code>: <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison\'s Weblog</a></p>\
|
159
|
-
\
|
160
|
-
</div>\
|
161
|
-
<p id="first">Try them out:</p>\
|
162
|
-
<ul id="firstUL"></ul>\
|
163
|
-
<ol id="empty"></ol>\
|
164
|
-
<form id="form" action="formaction">\
|
165
|
-
<input type="text" name="action" value="Test" id="text1" maxlength="30"/>\
|
166
|
-
<input type="text" name="text2" value="Test" id="text2" disabled="disabled"/>\
|
167
|
-
<input type="radio" name="radio1" id="radio1" value="on"/>\
|
168
|
-
\
|
169
|
-
<input type="radio" name="radio2" id="radio2" checked="checked"/>\
|
170
|
-
<input type="checkbox" name="check" id="check1" checked="checked"/>\
|
171
|
-
<input type="checkbox" id="check2" value="on"/>\
|
172
|
-
\
|
173
|
-
<input type="hidden" name="hidden" id="hidden1"/>\
|
174
|
-
<input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>\
|
175
|
-
\
|
176
|
-
<input type="text" id="name" name="name" value="name" />\
|
177
|
-
\
|
178
|
-
<button id="button" name="button">Button</button>\
|
179
|
-
\
|
180
|
-
<textarea id="area1" maxlength="30">foobar</textarea>\
|
181
|
-
\
|
182
|
-
<select name="select1" id="select1">\
|
183
|
-
<option id="option1a" class="emptyopt" value="">Nothing</option>\
|
184
|
-
<option id="option1b" value="1">1</option>\
|
185
|
-
<option id="option1c" value="2">2</option>\
|
186
|
-
<option id="option1d" value="3">3</option>\
|
187
|
-
</select>\
|
188
|
-
<select name="select2" id="select2">\
|
189
|
-
<option id="option2a" class="emptyopt" value="">Nothing</option>\
|
190
|
-
<option id="option2b" value="1">1</option>\
|
191
|
-
<option id="option2c" value="2">2</option>\
|
192
|
-
<option id="option2d" selected="selected" value="3">3</option>\
|
193
|
-
</select>\
|
194
|
-
<select name="select3" id="select3" multiple="multiple">\
|
195
|
-
<option id="option3a" class="emptyopt" value="">Nothing</option>\
|
196
|
-
<option id="option3b" selected="selected" value="1">1</option>\
|
197
|
-
<option id="option3c" selected="selected" value="2">2</option>\
|
198
|
-
<option id="option3d" value="3">3</option>\
|
199
|
-
<option id="option3e">no value</option>\
|
200
|
-
</select>\
|
201
|
-
\
|
202
|
-
<object id="object1" codebase="stupid">\
|
203
|
-
<param name="p1" value="x1" />\
|
204
|
-
<param name="p2" value="x2" />\
|
205
|
-
</object>\
|
206
|
-
\
|
207
|
-
<span id="台北Táiběi"></span>\
|
208
|
-
<span id="台北" lang="中文"></span>\
|
209
|
-
<span id="utf8class1" class="台北Táiběi 台北"></span>\
|
210
|
-
<span id="utf8class2" class="台北"></span>\
|
211
|
-
<span id="foo:bar" class="foo:bar"></span>\
|
212
|
-
<span id="test.foo[5]bar" class="test.foo[5]bar"></span>\
|
213
|
-
\
|
214
|
-
<foo_bar id="foobar">test element</foo_bar>\
|
215
|
-
</form>\
|
216
|
-
<b id="floatTest">Float test.</b>\
|
217
|
-
<iframe id="iframe" name="iframe"></iframe>\
|
218
|
-
<form id="lengthtest">\
|
219
|
-
<input type="text" id="length" name="test"/>\
|
220
|
-
<input type="text" id="idTest" name="id"/>\
|
221
|
-
</form>\
|
222
|
-
<table id="table"></table>\
|
223
|
-
\
|
224
|
-
<div id="fx-queue">\
|
225
|
-
<div id="fadein" class="chain test">fadeIn<div>fadeIn</div></div>\
|
226
|
-
<div id="fadeout" class="chain test out">fadeOut<div>fadeOut</div></div>\
|
227
|
-
\
|
228
|
-
<div id="show" class="chain test">show<div>show</div></div>\
|
229
|
-
<div id="hide" class="chain test out">hide<div>hide</div></div>\
|
230
|
-
\
|
231
|
-
<div id="togglein" class="chain test">togglein<div>togglein</div></div>\
|
232
|
-
<div id="toggleout" class="chain test out">toggleout<div>toggleout</div> </div>\
|
233
|
-
\
|
234
|
-
\
|
235
|
-
<div id="slideup" class="chain test">slideUp<div>slideUp</div></div>\
|
236
|
-
<div id="slidedown" class="chain test out">slideDown<div>slideDown</div></div>\
|
237
|
-
\
|
238
|
-
<div id="slidetogglein" class="chain test">slideToggleIn<div>slideToggleIn</div></div>\
|
239
|
-
<div id="slidetoggleout" class="chain test out">slideToggleOut<div>slideToggleOut</div></div>\
|
240
|
-
</div>\
|
241
|
-
\
|
242
|
-
<div id="fx-tests"></div>\
|
243
|
-
\
|
244
|
-
<form id="testForm" action="#" method="get">\
|
245
|
-
<textarea name="T3" rows="2" cols="15">?\
|
246
|
-
Z</textarea>\
|
247
|
-
<input type="hidden" name="H1" value="x" />\
|
248
|
-
<input type="hidden" name="H2" />\
|
249
|
-
<input name="PWD" type="password" value="" />\
|
250
|
-
<input name="T1" type="text" />\
|
251
|
-
<input name="T2" type="text" value="YES" readonly="readonly" />\
|
252
|
-
<input type="checkbox" name="C1" value="1" />\
|
253
|
-
<input type="checkbox" name="C2" />\
|
254
|
-
<input type="radio" name="R1" value="1" />\
|
255
|
-
<input type="radio" name="R1" value="2" />\
|
256
|
-
<input type="text" name="My Name" value="me" />\
|
257
|
-
<input type="reset" name="reset" value="NO" />\
|
258
|
-
<select name="S1">\
|
259
|
-
<option value="abc">ABC</option>\
|
260
|
-
<option value="abc">ABC</option>\
|
261
|
-
<option value="abc">ABC</option>\
|
262
|
-
</select>\
|
263
|
-
<select name="S2" multiple="multiple" size="3">\
|
264
|
-
<option value="abc">ABC</option>\
|
265
|
-
<option value="abc">ABC</option>\
|
266
|
-
<option value="abc">ABC</option>\
|
267
|
-
</select>\
|
268
|
-
<select name="S3">\
|
269
|
-
<option selected="selected">YES</option>\
|
270
|
-
</select>\
|
271
|
-
<select name="S4">\
|
272
|
-
<option value="" selected="selected">NO</option>\
|
273
|
-
</select>\
|
274
|
-
<input type="submit" name="sub1" value="NO" />\
|
275
|
-
<input type="submit" name="sub2" value="NO" />\
|
276
|
-
<input type="image" name="sub3" value="NO" />\
|
277
|
-
<button name="sub4" type="submit" value="NO">NO</button>\
|
278
|
-
<input name="D1" type="text" value="NO" disabled="disabled" />\
|
279
|
-
<input type="checkbox" checked="checked" disabled="disabled" name="D2" value="NO" />\
|
280
|
-
<input type="radio" name="D3" value="NO" checked="checked" disabled="disabled" />\
|
281
|
-
<select name="D4" disabled="disabled">\
|
282
|
-
<option selected="selected" value="NO">NO</option>\
|
283
|
-
</select>\
|
284
|
-
</form>\
|
285
|
-
<div id="moretests">\
|
286
|
-
<form>\
|
287
|
-
<div id="checkedtest" style="display:none;">\
|
288
|
-
<input type="radio" class="radio" name="checkedtestradios" checked="checked"/>\
|
289
|
-
<input type="radio" class="radio" name="checkedtestradios" value="on"/>\
|
290
|
-
<input type="checkbox" class="checkbox" name="checkedtestcheckboxes" checked="checked"/>\
|
291
|
-
<input type="checkbox" class="checkbox" name="checkedtestcheckboxes" />\
|
292
|
-
</div>\
|
293
|
-
</form>\
|
294
|
-
<div id="nonnodes"><span>hi</span> there <!-- mon ami --></div>\
|
295
|
-
<div id="t2037">\
|
296
|
-
<div><div class="hidden">hidden</div></div>\
|
297
|
-
</div>\
|
298
|
-
</div>\
|
299
|
-
</div>\
|
300
|
-
</dl>') ;
|
301
|
-
|
302
|
-
module("selector");
|
303
|
-
|
304
|
-
test("element", function() {
|
305
|
-
expect(7);
|
306
|
-
ok( SC.$("*").size() >= 30, "Select all" );
|
307
|
-
var all = SC.$("*"), good = true;
|
308
|
-
for ( var i = 0; i < all.length; i++ )
|
309
|
-
if ( all[i].nodeType == 8 )
|
310
|
-
good = false;
|
311
|
-
ok( good, "Select all elements, no comment nodes" );
|
312
|
-
t( "Element Selector", "p", ["firstp","ap","sndp","en","sap","first"] );
|
313
|
-
//t( "Element Selector", "body", ["body"] );
|
314
|
-
//t( "Element Selector", "html", ["html"] );
|
315
|
-
t( "Parent Element", "div p", ["firstp","ap","sndp","en","sap","first"] );
|
316
|
-
equals( SC.$("param", "#object1").length, 2, "Object/param as context" );
|
317
|
-
|
318
|
-
ok( SC.$("#length").length, '<input name="length"> cannot be found under IE, see #945' );
|
319
|
-
ok( SC.$("#lengthtest input").length, '<input name="length"> cannot be found under IE, see #945' );
|
320
|
-
});
|
321
|
-
|
322
|
-
test("broken", function() {
|
323
|
-
expect(7);
|
324
|
-
t( "Broken Selector", "[", [] );
|
325
|
-
t( "Broken Selector", "(", [] );
|
326
|
-
t( "Broken Selector", "{", [] );
|
327
|
-
t( "Broken Selector", "<", [] );
|
328
|
-
t( "Broken Selector", "()", [] );
|
329
|
-
t( "Broken Selector", "<>", [] );
|
330
|
-
t( "Broken Selector", "{}", [] );
|
331
|
-
});
|
332
|
-
|
333
|
-
test("id", function() {
|
334
|
-
expect(13);
|
335
|
-
//t( "ID Selector", "#body", ["body"] );
|
336
|
-
//t( "ID Selector w/ Element", "body#body", ["body"] );
|
337
|
-
t( "ID Selector w/ Element", "ul#first", [] );
|
338
|
-
t( "ID selector with existing ID descendant", "#firstp #simon1", ["simon1"] );
|
339
|
-
t( "ID selector with non-existant descendant", "#firstp #foobar", [] );
|
340
|
-
t( "ID selector using UTF8", "#台北Táiběi", ["台北Táiběi"] );
|
341
|
-
t( "Multiple ID selectors using UTF8", "#台北Táiběi, #台北", ["台北Táiběi","台北"] );
|
342
|
-
t( "Descendant ID selector using UTF8", "div #台北", ["台北"] );
|
343
|
-
t( "Child ID selector using UTF8", "form > #台北", ["台北"] );
|
344
|
-
|
345
|
-
// These kinds of complex edge cases are not supported for now
|
346
|
-
//t( "Escaped ID", "#foo\\:bar", ["foo:bar"] );
|
347
|
-
//t( "Escaped ID", "#test\\.foo\\[5\\]bar", ["test.foo[5]bar"] );
|
348
|
-
//t( "Descendant escaped ID", "div #foo\\:bar", ["foo:bar"] );
|
349
|
-
//t( "Descendant escaped ID", "div #test\\.foo\\[5\\]bar", ["test.foo[5]bar"] );
|
350
|
-
|
351
|
-
// Child selectors are not supported
|
352
|
-
//t( "Child escaped ID", "form > #foo\\:bar", ["foo:bar"] );
|
353
|
-
//t( "Child escaped ID", "form > #test\\.foo\\[5\\]bar", ["test.foo[5]bar"] );
|
354
|
-
|
355
|
-
//t( "ID Selector, child ID present", "#form > #radio1", ["radio1"] ); // bug #267
|
356
|
-
t( "ID Selector, not an ancestor ID", "#form #first", [] );
|
357
|
-
//t( "ID Selector, not a child ID", "#form > #option1a", [] );
|
358
|
-
|
359
|
-
//t( "All Children of ID", "#foo > *", ["sndp", "en", "sap"] );
|
360
|
-
//t( "All Children of ID with no children", "#firstUL > *", [] );
|
361
|
-
var q=SC.$('<a name="tName1">tName1 A</a><a name="tName2">tName2 A</a><div id="tName1">tName1 Div</div>');
|
362
|
-
q.appendTo('#main');
|
363
|
-
equals( SC.$("#tName1")[0].id, 'tName1', "ID selector with same value for a name attribute" );
|
364
|
-
equals( SC.$("#tName2").length, 0, "ID selector non-existing but name attribute on an A tag" );
|
365
|
-
t( "ID Selector on Form with an input that has a name of 'id'", "#lengthtest", ["lengthtest"] );
|
366
|
-
|
367
|
-
t( "ID selector with non-existant ancestor", "#asdfasdf #foobar", [] ); // bug #986
|
368
|
-
|
369
|
-
same( SC.$("body").find("div#form").length, 0, "ID selector within the context of another element" );
|
370
|
-
});
|
371
|
-
|
372
|
-
test("class", function() {
|
373
|
-
expect(9);
|
374
|
-
t( "Class Selector", ".blog", ["mark","simon"] );
|
375
|
-
t( "Class Selector", ".blog.link", ["simon"] );
|
376
|
-
t( "Class Selector w/ Element", "a.blog", ["mark","simon"] );
|
377
|
-
t( "Parent Class Selector", "p .blog", ["mark","simon"] );
|
378
|
-
|
379
|
-
t( "Class selector using UTF8", ".台北Táiběi", ["utf8class1"] );
|
380
|
-
t( "Class selector using UTF8", ".台北", ["utf8class1","utf8class2"] );
|
381
|
-
t( "Class selector using UTF8", ".台北Táiběi.台北", ["utf8class1"] );
|
382
|
-
t( "Class selector using UTF8", ".台北Táiběi, .台北", ["utf8class1","utf8class2"] );
|
383
|
-
t( "Descendant class selector using UTF8", "div .台北Táiběi", ["utf8class1"] );
|
384
|
-
//t( "Child class selector using UTF8", "form > .台北Táiběi", ["utf8class1"] );
|
385
|
-
|
386
|
-
//t( "Escaped Class", ".foo\\:bar", ["foo:bar"] );
|
387
|
-
//t( "Escaped Class", ".test\\.foo\\[5\\]bar", ["test.foo[5]bar"] );
|
388
|
-
//t( "Descendant scaped Class", "div .foo\\:bar", ["foo:bar"] );
|
389
|
-
//t( "Descendant scaped Class", "div .test\\.foo\\[5\\]bar", ["test.foo[5]bar"] );
|
390
|
-
//t( "Child escaped Class", "form > .foo\\:bar", ["foo:bar"] );
|
391
|
-
//t( "Child escaped Class", "form > .test\\.foo\\[5\\]bar", ["test.foo[5]bar"] );
|
392
|
-
});
|
393
|
-
|
394
|
-
test("multiple", function() {
|
395
|
-
expect(4);
|
396
|
-
t( "Comma Support", "a.blog, p", ["mark","simon","firstp","ap","sndp","en","sap","first"] );
|
397
|
-
t( "Comma Support", "a.blog , p", ["mark","simon","firstp","ap","sndp","en","sap","first"] );
|
398
|
-
t( "Comma Support", "a.blog ,p", ["mark","simon","firstp","ap","sndp","en","sap","first"] );
|
399
|
-
t( "Comma Support", "a.blog,p", ["mark","simon","firstp","ap","sndp","en","sap","first"] );
|
400
|
-
});
|
401
|
-
|
402
|
-
// none of these types of selectors are supported in CoreQuery. Sorry.
|
403
|
-
//test("child and adjacent", function() {
|
404
|
-
//test("attributes", function() {
|
405
|
-
//test("pseudo (:) selectors", function() {
|