sproutcore 1.5.0-java → 1.6.0.beta.2-java
Sign up to get free protection for your applications and to get access to all the features.
- data/.mailmap +32 -0
- data/CHANGELOG +15 -0
- data/Rakefile +18 -0
- data/VERSION.yml +2 -2
- data/bin/sc-build +0 -5
- data/bin/sc-build-number +0 -5
- data/bin/sc-docs +0 -5
- data/bin/sc-gen +0 -5
- data/bin/sc-init +0 -5
- data/bin/sc-manifest +0 -5
- data/bin/sc-server +0 -5
- data/bin/sproutcore +0 -5
- data/lib/frameworks/sproutcore/Buildfile +3 -3
- data/lib/frameworks/sproutcore/CHANGELOG.md +21 -0
- data/lib/frameworks/sproutcore/README.md +77 -7
- data/lib/frameworks/sproutcore/frameworks/ajax/system/request.js +0 -2
- data/lib/frameworks/sproutcore/frameworks/animation/core.js +3 -2
- data/lib/frameworks/sproutcore/frameworks/bootstrap/system/browser.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/controllers/array.js +1 -17
- data/lib/frameworks/sproutcore/frameworks/core_foundation/controllers/controller.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/controllers/object.js +4 -4
- data/lib/frameworks/sproutcore/frameworks/core_foundation/controls/button.js +49 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/handlebars/collection.js +23 -21
- data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/delegate_support.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/template_helpers/checkbox_support.js +36 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/template_helpers/text_field_support.js +126 -7
- data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/pane.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/template.js +13 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/device.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/event.js +16 -16
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/platform.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/render_context.js +1 -34
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/root_responder.js +29 -23
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/sparse_array.js +8 -4
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/string.js +20 -23
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/controls/button.js +78 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/mixins/template_helpers/checkbox_support.js +26 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/mixins/template_helpers/text_field_support.js +115 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/sparse_array.js +55 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/template/collection.js +49 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/template/handlebars.js +19 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/template.js +1 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/template_collection.js +2 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view.js +38 -41
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/animation.js +4 -3
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/base.js +1 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/layout.js +1 -0
- data/lib/frameworks/sproutcore/frameworks/datastore/system/query.js +7 -82
- data/lib/frameworks/sproutcore/frameworks/datastore/system/record_array.js +12 -5
- data/lib/frameworks/sproutcore/frameworks/datastore/system/store.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/record_array/array_observers.js +82 -0
- data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/record_array/flush.js +17 -0
- data/lib/frameworks/sproutcore/frameworks/debug/core.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/debug/invoke_once_last_debugging.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/core.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/slider.css +33 -30
- data/lib/frameworks/sproutcore/frameworks/desktop/mixins/border.js +12 -11
- data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_fast_path.js +7 -7
- data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_row_delegate.js +4 -4
- data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_view_delegate.js +20 -20
- data/lib/frameworks/sproutcore/frameworks/desktop/mixins/navigation_builder.js +5 -5
- data/lib/frameworks/sproutcore/frameworks/desktop/mixins/scrollable.js +10 -10
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/alert.js +24 -23
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/menu.js +51 -54
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/modal.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/panel.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/select_button.js +29 -29
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/sheet.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/protocols/drag_source.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/desktop/protocols/drop_target.js +6 -6
- data/lib/frameworks/sproutcore/frameworks/desktop/protocols/responder.js +4 -4
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/checkbox.js +5 -5
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/master_detail.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/progress.js +5 -5
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/radio.js +7 -7
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/radio_group.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/desktop/render_delegates/slider.js +7 -5
- data/lib/frameworks/sproutcore/frameworks/desktop/system/drag.js +31 -31
- data/lib/frameworks/sproutcore/frameworks/desktop/system/undo_manager.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/views/button.js +35 -29
- data/lib/frameworks/sproutcore/frameworks/desktop/views/checkbox.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/desktop/views/collection.js +61 -50
- data/lib/frameworks/sproutcore/frameworks/desktop/views/segmented.js +9 -2
- data/lib/frameworks/sproutcore/frameworks/desktop/views/select.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/desktop/views/select_field.js +6 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/views/static_content.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/experimental/Buildfile +2 -0
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/coders/object.js +12 -12
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/controllers/designs.js +6 -6
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/controllers/page_files.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/css/css_style_sheet.js +7 -9
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/designers/object_designer.js +13 -13
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/designers/view_designer.js +37 -37
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/ext/object.js +3 -2
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/ext/page.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/ext/view.js +4 -3
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/mixins/snap_lines.js +7 -6
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/views/designer_drop_target.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/views/drawing.js +49 -42
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/views/high_light.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/views/page_item_view.js +6 -6
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/device_motion/device.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/english.lproj/default_styles.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/english.lproj/strings.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/mixins/edit_mode.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/mixins/emptiness.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/render_delegates/form.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/render_delegates/form_row.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/tests/views/form.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/tests/views/form_checkbox_field.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/tests/views/form_field.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/tests/views/form_label.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/tests/views/form_radio_field.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/tests/views/form_row.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/tests/views/form_text_field.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/views/form.js +13 -14
- data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/views/form_row.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/polymorphism/models/record.js +4 -6
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/static_layout.js +0 -1
- data/lib/frameworks/sproutcore/frameworks/foundation/private/tree_item_observer.js +2 -4
- data/lib/frameworks/sproutcore/frameworks/foundation/system/image_queue.js +8 -12
- data/lib/frameworks/sproutcore/frameworks/foundation/views/inline_text_field.js +28 -34
- data/lib/frameworks/sproutcore/frameworks/{foundation → routing}/system/routes.js +31 -47
- data/lib/frameworks/sproutcore/frameworks/{foundation → routing}/tests/system/routes.js +0 -0
- data/lib/frameworks/sproutcore/frameworks/runtime/core.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/runtime/debug/test_suites/array/base.js +15 -21
- data/lib/frameworks/sproutcore/frameworks/runtime/mixins/array.js +8 -0
- data/lib/frameworks/sproutcore/frameworks/runtime/mixins/enumerable.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/mixins/array_observers.js +23 -0
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/binding.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/index_set/contains.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/system/index_set/intersects.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/statechart/system/state.js +66 -133
- data/lib/frameworks/sproutcore/frameworks/statechart/system/statechart.js +68 -139
- data/lib/frameworks/sproutcore/frameworks/testing/system/plan.js +11 -11
- data/lib/frameworks/sproutcore/frameworks/testing/system/suite.js +23 -29
- data/lib/frameworks/sproutcore/lib/index.rhtml +5 -2
- data/lib/sproutcore.rb +2 -9
- data/lib/sproutcore/builders/minify.rb +5 -5
- data/lib/sproutcore/helpers/minifier.rb +6 -10
- data/lib/sproutcore/models/target.rb +2 -2
- data/lib/sproutcore/rack/proxy.rb +8 -7
- data/lib/sproutcore/tools.rb +16 -5
- data/spec/lib/builders/html_spec.rb +5 -5
- data/sproutcore.gemspec +11 -5
- data/vendor/chance/lib/chance.rb +4 -2
- data/{lib/sproutcore/vendor → vendor}/jsdoc/README.txt +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/frame.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/frame/Chain.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/frame/Dumper.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/frame/Hash.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/frame/Link.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/frame/Namespace.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/frame/Opt.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/frame/Reflection.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/frame/String.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/frame/Testrun.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/handlers/FOODOC.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/handlers/XMLDOC.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/handlers/XMLDOC/DomReader.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/handlers/XMLDOC/XMLDoc.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/handlers/XMLDOC/XMLParse.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/DocComment.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/DocTag.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/JsDoc.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/JsPlate.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/Lang.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/Parser.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/PluginManager.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/Symbol.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/SymbolSet.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/TextStream.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/Token.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/TokenReader.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/TokenStream.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/Util.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/lib/JSDOC/Walker.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/main.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/plugins/commentSrcJson.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/plugins/frameworkPrototype.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/plugins/functionCall.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/plugins/publishSrcHilite.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/plugins/sproutcoreTags.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/plugins/symbolLink.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/plugins/tagParamConfig.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/plugins/tagSynonyms.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/run.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/t/TestDoc.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/t/runner.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/addon.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/anon_inner.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/augments.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/augments2.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/borrows.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/borrows2.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/config.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/constructs.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/encoding.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/encoding_other.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/functions_anon.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/functions_nested.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/global.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/globals.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/ignore.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/inner.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/jsdoc_test.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/lend.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/memberof.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/memberof_constructor.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/name.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/namespace_nested.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/nocode.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/oblit_anon.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/overview.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/param_inline.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/params_optional.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/prototype.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/prototype_nested.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/prototype_oblit.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/prototype_oblit_constructor.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/public.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/shared.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/shared2.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/shortcuts.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/static_this.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/synonyms.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/tosource.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/app/test/variable_redefine.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/changes.txt +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/conf/sample.conf +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/java/build.xml +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/java/build_1.4.xml +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/java/classes/js.jar +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/java/src/JsDebugRun.java +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/java/src/JsRun.java +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/jsdebug.jar +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/jsrun.jar +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/t/TestDoc.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/t/runner.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/addon.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/anon_inner.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/augments.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/augments2.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/borrows.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/borrows2.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/config.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/constructs.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/encoding.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/encoding_other.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/functions_anon.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/functions_nested.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/global.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/globals.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/ignore.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/inner.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/jsdoc_test.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/lend.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/memberof.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/memberof_constructor.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/name.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/namespace_nested.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/nocode.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/oblit_anon.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/overview.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/param_inline.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/params_optional.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/prototype.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/prototype_nested.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/prototype_oblit.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/prototype_oblit_constructor.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/public.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/shared.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/shared2.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/shortcuts.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/static_this.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/synonyms.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/tosource.js +0 -0
- data/{lib/sproutcore/vendor → vendor}/jsdoc/test/variable_redefine.js +0 -0
- data/vendor/sproutcore/{src/SCCompiler/lib/yuicompressor-2.4.4.jar → lib/yuicompressor-2.4.6.jar} +0 -0
- metadata +169 -178
- data/lib/frameworks/sproutcore/frameworks/desktop/views/file.js +0 -148
- data/lib/sproutcore/vendor/github_gem_lint.rb +0 -22
- data/vendor/sproutcore/SCCompiler.jar +0 -0
- data/vendor/sproutcore/lib/args4j-2.0.12.jar +0 -0
- data/vendor/sproutcore/lib/yuicompressor-2.4.2.jar +0 -0
- data/vendor/sproutcore/src/SCCompiler/build.xml +0 -74
- 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/vendor/sproutcore/src/SCCompiler/lib/yuicompressor-2.4.2.jar +0 -0
- data/vendor/sproutcore/src/SCCompiler/manifest.mf +0 -3
- data/vendor/sproutcore/src/SCCompiler/nbproject/build-impl.xml +0 -894
- data/vendor/sproutcore/src/SCCompiler/nbproject/genfiles.properties +0 -8
- data/vendor/sproutcore/src/SCCompiler/nbproject/private/config.properties +0 -0
- data/vendor/sproutcore/src/SCCompiler/nbproject/private/private.properties +0 -10
- data/vendor/sproutcore/src/SCCompiler/nbproject/private/private.xml +0 -4
- data/vendor/sproutcore/src/SCCompiler/nbproject/project.properties +0 -90
- data/vendor/sproutcore/src/SCCompiler/nbproject/project.xml +0 -15
- data/vendor/sproutcore/src/SCCompiler/src/com/sproutcore/Main.java +0 -348
@@ -20,8 +20,9 @@ SC.Object.prototype.emitDesign = function() {
|
|
20
20
|
|
21
21
|
|
22
22
|
/**
|
23
|
-
Patch SC.Object to respond to encodeDesign()
|
24
|
-
designer, if there is one. If there is no paired designer, returns
|
23
|
+
Patch `SC.Object` to respond to `encodeDesign()`. This will proxy to the
|
24
|
+
paired designer, if there is one. If there is no paired designer, returns
|
25
|
+
`NO`.
|
25
26
|
*/
|
26
27
|
SC.Object.prototype.encodeDesign = function(coder) {
|
27
28
|
return this.designer ? this.designer.encodeDesign(coder) : NO ;
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
|
9
9
|
/**
|
10
|
-
Extend SC.Page to emit a design document for the entire page.
|
10
|
+
Extend `SC.Page` to emit a design document for the entire page.
|
11
11
|
*/
|
12
12
|
SC.Page.prototype.emitDesign = function() {
|
13
13
|
|
@@ -30,7 +30,7 @@ SC.Page.prototype.emitDesign = function() {
|
|
30
30
|
};
|
31
31
|
|
32
32
|
/**
|
33
|
-
Extend SC.Page to create a PageDesignController on demand.
|
33
|
+
Extend `SC.Page` to create a `PageDesignController` on demand.
|
34
34
|
|
35
35
|
@property {SC.PageDesignController}
|
36
36
|
*/
|
@@ -9,7 +9,7 @@
|
|
9
9
|
/*jslint evil:true */
|
10
10
|
|
11
11
|
/**
|
12
|
-
Extend SC.View with emitDesign() which will encode the view and all of its
|
12
|
+
Extend `SC.View` with `emitDesign()` which will encode the view and all of its
|
13
13
|
subviews then computes an empty element to attach to the design.
|
14
14
|
*/
|
15
15
|
SC.View.prototype.emitDesign = function() {
|
@@ -21,8 +21,9 @@ SC.View.prototype.emitDesign = function() {
|
|
21
21
|
};
|
22
22
|
|
23
23
|
/**
|
24
|
-
Patch SC.View to respond to encodeDesign()
|
25
|
-
designer, if there is one. If there is no paired designer, returns
|
24
|
+
Patch `SC.View` to respond to `encodeDesign()`. This will proxy to the
|
25
|
+
paired designer, if there is one. If there is no paired designer, returns
|
26
|
+
`NO`.
|
26
27
|
*/
|
27
28
|
SC.View.prototype.encodeDesign = function(coder) {
|
28
29
|
return this.designer ? this.designer.encodeDesign(coder) : NO ;
|
data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/mixins/snap_lines.js
CHANGED
@@ -39,8 +39,8 @@ SC.SnapLines = {
|
|
39
39
|
|
40
40
|
/*
|
41
41
|
This method will setup the datastructure required to draw snap lines
|
42
|
-
it should be called in dragStarted if using with an SC.Drag or on
|
43
|
-
if using it with a move
|
42
|
+
it should be called in dragStarted if using with an `SC.Drag` or on
|
43
|
+
`mouseDown` if using it with a move
|
44
44
|
|
45
45
|
@param {Array} ignoreViews array of views to not include
|
46
46
|
sets up the data structure used for the line drawing
|
@@ -121,9 +121,9 @@ SC.SnapLines = {
|
|
121
121
|
|
122
122
|
/**
|
123
123
|
This method will check the passed views position with the other child views
|
124
|
-
and draw any lines. It should be called in dragUpdated if using SC.Drag
|
125
|
-
or in mouseMoved if using a move. it will also return a hash of the
|
126
|
-
in local and global coodinates
|
124
|
+
and draw any lines. It should be called in `dragUpdated` if using `SC.Drag`
|
125
|
+
or in `mouseMoved` if using a move. it will also return a hash of the
|
126
|
+
snapped coords in local and global coodinates
|
127
127
|
|
128
128
|
*/
|
129
129
|
drawLines: function(view, eventX, eventY, mouseDownX, mouseDownY){
|
@@ -200,7 +200,8 @@ SC.SnapLines = {
|
|
200
200
|
|
201
201
|
/*
|
202
202
|
called to cleanup the lines...
|
203
|
-
This method should be called in mouseUp if doing a move and in
|
203
|
+
This method should be called in `mouseUp` if doing a move and in
|
204
|
+
`dragEnded` if using a `SC.Drag`.
|
204
205
|
*/
|
205
206
|
removeLines: function() {
|
206
207
|
this._xPositions = null;
|
@@ -92,12 +92,12 @@ SC.DesignerDropTarget = SC.ContainerView.extend(
|
|
92
92
|
Called to actually perform the drag operation.
|
93
93
|
|
94
94
|
Overide this method to actually perform the drag operation. This method
|
95
|
-
is only called if you returned YES in acceptDragOperation()
|
95
|
+
is only called if you returned `YES` in `acceptDragOperation()`.
|
96
96
|
|
97
|
-
Return the operation that was actually performed or SC.DRAG_NONE if the
|
97
|
+
Return the operation that was actually performed or `SC.DRAG_NONE` if the
|
98
98
|
operation was aborted.
|
99
99
|
|
100
|
-
The default implementation returns SC.DRAG_NONE
|
100
|
+
The default implementation returns `SC.DRAG_NONE`
|
101
101
|
|
102
102
|
@param {SC.Drag} drag The drag instance managing this drag
|
103
103
|
@param {DragOp} op The proposed drag operation. A drag constant.
|
@@ -3,55 +3,62 @@
|
|
3
3
|
This is a Drawing View:
|
4
4
|
If you want to draw a new shape you can pass in the information:
|
5
5
|
For a Line:
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
?
|
12
|
-
|
13
|
-
|
6
|
+
|
7
|
+
{
|
8
|
+
+shape: SC.LINE,
|
9
|
+
+start: {x: 0, y: 0},
|
10
|
+
+end: {x: 100, y: 100},
|
11
|
+
?style: {
|
12
|
+
?width: 5,
|
13
|
+
?color: 'orange' | '#FFA500' | 'rgb(255,165,0)' | 'rgba(255,165,0,1)'
|
14
|
+
?transparency: 0.2
|
15
|
+
}
|
14
16
|
}
|
15
|
-
|
17
|
+
|
16
18
|
For a Rectangle:
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
?
|
24
|
-
|
25
|
-
|
19
|
+
|
20
|
+
{
|
21
|
+
+shape: SC.RECT,
|
22
|
+
+start: {x: 0, y: 0},
|
23
|
+
+size: {width: 100, height: 100},
|
24
|
+
?type: SC.FILL | SC.STROKE
|
25
|
+
?style: {
|
26
|
+
?width: 5,
|
27
|
+
?color: 'orange' | '#FFA500' | 'rgb(255,165,0)' | 'rgba(255,165,0,1)'
|
28
|
+
?transparency: 0.2
|
29
|
+
}
|
26
30
|
}
|
27
|
-
|
31
|
+
|
28
32
|
For a Circle:
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
?
|
36
|
-
|
37
|
-
|
33
|
+
|
34
|
+
{
|
35
|
+
+shape: SC.CIRCLE,
|
36
|
+
+center: {x: 0, y: 0},
|
37
|
+
+radius: 20,
|
38
|
+
?type: SC.FILL | SC.STROKE
|
39
|
+
?style: {
|
40
|
+
?width: 5,
|
41
|
+
?color: 'orange' | '#FFA500' | 'rgb(255,165,0)' | 'rgba(255,165,0,1)'
|
42
|
+
?transparency: 0.2
|
43
|
+
}
|
38
44
|
}
|
39
|
-
|
45
|
+
|
40
46
|
For a Polygon:
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
+
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
?
|
51
|
-
|
52
|
-
|
47
|
+
|
48
|
+
{
|
49
|
+
+shape: SC.POLY
|
50
|
+
+path: [
|
51
|
+
+{x: 0, y: 0},
|
52
|
+
+{x: 10, y: 10},
|
53
|
+
?{x: 0, y: 50}
|
54
|
+
],
|
55
|
+
?type: SC.FILL | SC.STROKE
|
56
|
+
?style: {
|
57
|
+
?width: 5,
|
58
|
+
?color: 'orange' | '#FFA500' | 'rgb(255,165,0)' | 'rgba(255,165,0,1)'
|
59
|
+
?transparency: 0.2
|
60
|
+
}
|
53
61
|
}
|
54
|
-
}
|
55
62
|
|
56
63
|
@author Evin Grano
|
57
64
|
@extends SC.View
|
data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/views/high_light.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
/**
|
6
6
|
This View is used by Greenhouse when application is in design mode
|
7
|
-
It darkens the area around the rootDesigner
|
7
|
+
It darkens the area around the `rootDesigner`
|
8
8
|
*/
|
9
9
|
SC.RootDesignerHighLightView = SC.View.extend(
|
10
10
|
/** @scope SC.RootDesignerHighLight.prototype */ {
|
data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/designer/views/page_item_view.js
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
/** @class
|
7
7
|
This View is used by Greenhouse when application is in design mode
|
8
|
-
|
8
|
+
Used for displaying page items
|
9
9
|
|
10
10
|
@extends SC.ListItemVIew
|
11
11
|
@author Mike Ball
|
@@ -39,7 +39,7 @@ SC.pageItemView = SC.ListItemView.extend(
|
|
39
39
|
droppable area, the drag will latch onto the deepest view that returns one
|
40
40
|
or more available operations.
|
41
41
|
|
42
|
-
The default implementation returns SC.DRAG_NONE
|
42
|
+
The default implementation returns `SC.DRAG_NONE`
|
43
43
|
|
44
44
|
@param {SC.Drag} drag The current drag object
|
45
45
|
@param {SC.Event} evt The most recent mouse move event. Use to get
|
@@ -62,7 +62,7 @@ SC.pageItemView = SC.ListItemView.extend(
|
|
62
62
|
perform fine-grained checks on the drop location, for example.
|
63
63
|
Return true to accept the drop operation.
|
64
64
|
|
65
|
-
The default implementation returns YES
|
65
|
+
The default implementation returns `YES`.
|
66
66
|
|
67
67
|
@param {SC.Drag} drag The drag instance managing this drag
|
68
68
|
@param {DragOp} op The proposed drag operation. A drag constant
|
@@ -75,12 +75,12 @@ SC.pageItemView = SC.ListItemView.extend(
|
|
75
75
|
Called to actually perform the drag operation.
|
76
76
|
|
77
77
|
Overide this method to actually perform the drag operation. This method
|
78
|
-
is only called if you returned YES in acceptDragOperation()
|
78
|
+
is only called if you returned `YES` in `acceptDragOperation()`.
|
79
79
|
|
80
|
-
Return the operation that was actually performed or SC.DRAG_NONE if the
|
80
|
+
Return the operation that was actually performed or `SC.DRAG_NONE` if the
|
81
81
|
operation was aborted.
|
82
82
|
|
83
|
-
The default implementation returns SC.DRAG_NONE
|
83
|
+
The default implementation returns `SC.DRAG_NONE`
|
84
84
|
|
85
85
|
@param {SC.Drag} drag The drag instance managing this drag
|
86
86
|
@param {DragOp} op The proposed drag operation. A drag constant.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/views/form.js
RENAMED
@@ -15,19 +15,18 @@ just children; they are explicity stated in the array fields, which works
|
|
15
15
|
just like childViews, but marks fields to be laid out automatically.
|
16
16
|
|
17
17
|
Usually, you will place rows into the FormView:
|
18
|
-
{{{
|
19
|
-
childViews: "fullName gender".w(),
|
20
|
-
contentBinding: 'MyApp.personController',
|
21
18
|
|
22
|
-
|
23
|
-
|
24
|
-
})),
|
19
|
+
childViews: "fullName gender".w(),
|
20
|
+
contentBinding: 'MyApp.personController',
|
25
21
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
22
|
+
fullName: SC.FormView.row("Name:", SC.TextFieldView.extend({
|
23
|
+
layout: {height: 20, width: 150}
|
24
|
+
})),
|
25
|
+
|
26
|
+
gender: SC.FormView.row("Gender:", SC.RadioView.design({
|
27
|
+
layout: {width: 150, height: 40, centerY: 0},
|
28
|
+
items: ["male", "female"]
|
29
|
+
}))
|
31
30
|
|
32
31
|
The name of the row (ie. 'fullName'), is passed down to the *FieldView, and used as the key
|
33
32
|
to bind the value property to the content. In this case it will bind content.fullName to the
|
@@ -39,7 +38,7 @@ view, including other FormViews or subclasses of FormView.
|
|
39
38
|
This is important, because this is how you make nice rows that have a
|
40
39
|
label and a field: these rows are actually subclasses of FormView itself.
|
41
40
|
|
42
|
-
|
41
|
+
## Editing
|
43
42
|
The form does not allow editing by default; editing must be started by calling
|
44
43
|
beginEditing.
|
45
44
|
|
@@ -258,9 +257,9 @@ SC.mixin(SC.FormView, {
|
|
258
257
|
/**
|
259
258
|
Creates a form row.
|
260
259
|
|
261
|
-
Can be called in two ways: row(optionalClass, properties)
|
260
|
+
Can be called in two ways: `row(optionalClass, properties)`, which creates
|
262
261
|
a field with the properties, and puts it in a new row;
|
263
|
-
and row(properties)
|
262
|
+
and `row(properties)`, which creates a new row—and it is up to you to add
|
264
263
|
any fields you want in the row.
|
265
264
|
|
266
265
|
You can also supply some properties to extend the row itself with.
|
data/lib/frameworks/sproutcore/frameworks/{forms → experimental/frameworks/forms}/views/form_row.js
RENAMED
File without changes
|
data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/polymorphism/models/record.js
CHANGED
@@ -19,13 +19,11 @@
|
|
19
19
|
If YES, then searches for records of this type will return
|
20
20
|
subclass instances. For example:
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
Person.isPolymorphic = YES;
|
22
|
+
Person = SC.Record.extend();
|
23
|
+
Person.isPolymorphic = YES;
|
25
24
|
|
26
|
-
|
27
|
-
|
28
|
-
}}}
|
25
|
+
Male = Person.extend();
|
26
|
+
Female = Person.extend();
|
29
27
|
|
30
28
|
Using SC.Store#find, or a toOne or toMany relationship on
|
31
29
|
Person will then return records of type Male and Female.
|
@@ -213,7 +213,7 @@ SC.TreeItemObserver = SC.Object.extend(SC.Array, SC.CollectionContent, {
|
|
213
213
|
range you replace must lie entirely within the same parent item, otherwise
|
214
214
|
this will raise an exception.
|
215
215
|
|
216
|
-
|
216
|
+
### The Operation Parameter
|
217
217
|
|
218
218
|
Note that this replace method accepts an additional parameter "operation"
|
219
219
|
which is used when you try to insert an item on a boundary between
|
@@ -225,9 +225,7 @@ SC.TreeItemObserver = SC.Object.extend(SC.Array, SC.CollectionContent, {
|
|
225
225
|
index where you expect the item to be inserted. For example, if you want
|
226
226
|
to insert AFTER the last index of an 3-item array, you would still call:
|
227
227
|
|
228
|
-
|
229
|
-
observer.replace(3, 0, [object1 .. objectN], SC.DROP_AFTER)
|
230
|
-
}}}
|
228
|
+
observer.replace(3, 0, [object1 .. objectN], SC.DROP_AFTER)
|
231
229
|
|
232
230
|
The operation is simply used to disambiguate whether the insertion is
|
233
231
|
intended to be AFTER the previous item or BEFORE the items you are
|
@@ -23,17 +23,15 @@ SC.IMAGE_FAILED_ERROR = SC.$error("SC.Image.FailedError", "Image", -101) ;
|
|
23
23
|
Note that if you use the SC.ImageView class, it will use this image queue
|
24
24
|
for you automatically.
|
25
25
|
|
26
|
-
|
26
|
+
## Loading Images
|
27
27
|
|
28
28
|
When you need to display an image, simply call the loadImage() method with
|
29
29
|
the URL of the image, along with a target/method callback. The signature of
|
30
30
|
your callback should be:
|
31
31
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
}
|
36
|
-
}}}
|
32
|
+
imageDidLoad: function(imageUrl, imageOrError) {
|
33
|
+
//...
|
34
|
+
}
|
37
35
|
|
38
36
|
The "imageOrError" parameter will contain either an image object or an error
|
39
37
|
object if the image could not be loaded for some reason. If you receive an
|
@@ -44,7 +42,7 @@ SC.IMAGE_FAILED_ERROR = SC.$error("SC.Image.FailedError", "Image", -101) ;
|
|
44
42
|
background. Background images are loaded with a lower priority than
|
45
43
|
foreground images.
|
46
44
|
|
47
|
-
|
45
|
+
## Aborting Image Loads
|
48
46
|
|
49
47
|
If you request an image load but then no longer require the image for some
|
50
48
|
reason, you should notify the imageQueue by calling the releaseImage()
|
@@ -59,7 +57,7 @@ SC.IMAGE_FAILED_ERROR = SC.$error("SC.Image.FailedError", "Image", -101) ;
|
|
59
57
|
or it may abort an image load in progress to make room for other images. If
|
60
58
|
the image is already loaded, this method will have no effect.
|
61
59
|
|
62
|
-
|
60
|
+
## Reloading an Image
|
63
61
|
|
64
62
|
If you have already loaded an image, the imageQueue will avoid loading the
|
65
63
|
image again. However, if you need to force the imageQueue to reload the
|
@@ -95,10 +93,8 @@ SC.imageQueue = SC.Object.create(/** @scope SC.imageQueue.prototype */ {
|
|
95
93
|
notified when the image has loaded. Your callback should have a signature
|
96
94
|
like:
|
97
95
|
|
98
|
-
|
99
|
-
|
100
|
-
}}}
|
101
|
-
|
96
|
+
imageDidLoad: function(imageUrl, imageOrError) { .. }
|
97
|
+
|
102
98
|
If you do pass a target/method you can optionally also choose to load the
|
103
99
|
image either in the foreground or in the background. The imageQueue
|
104
100
|
prioritizes foreground images over background images. This does not impact
|