lsd_rails 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Packages/Sheet.js/Demo/index.html +78 -0
- data/Packages/Sheet.js/Demo/pp.css +69 -0
- data/Packages/Sheet.js/Demo/subtlegradient-jslib.js +450 -0
- data/Packages/Sheet.js/LICENSE +21 -0
- data/Packages/Sheet.js/README.md +59 -0
- data/Packages/Sheet.js/Source/Sheet.DOM.js +65 -0
- data/Packages/Sheet.js/Source/Sheet.js +80 -0
- data/Packages/Sheet.js/Source/SheetParser.CSS.js +194 -0
- data/Packages/Sheet.js/Source/SheetParser.Property.js +227 -0
- data/Packages/Sheet.js/Source/SheetParser.Styles.js +115 -0
- data/Packages/Sheet.js/Source/SheetParser.Value.js +114 -0
- data/Packages/Sheet.js/Source/sg-regex-tools.js +42 -0
- data/Packages/Sheet.js/Test/DOM-styleSheet.api.js +404 -0
- data/Packages/Sheet.js/Test/Sheet.test.js +25 -0
- data/Packages/Sheet.js/Test/SheetParser.CSS.RegExp.test.js +108 -0
- data/Packages/Sheet.js/Test/SheetParser.Property.test.js +230 -0
- data/Packages/Sheet.js/Test/SheetParser.Value.test.js +94 -0
- data/Packages/Sheet.js/Test/all-types.mock.css +103 -0
- data/Packages/Sheet.js/Test/document.styleSheets.test.js +7 -0
- data/Packages/Sheet.js/Test/index.html +12 -0
- data/Packages/Sheet.js/Test/lib/qunit/package.json +21 -0
- data/Packages/Sheet.js/Test/lib/qunit/qunit/qunit.css +196 -0
- data/Packages/Sheet.js/Test/lib/qunit/qunit/qunit.js +1303 -0
- data/Packages/Sheet.js/Test/lib/sg-assert-helpers.js +93 -0
- data/Packages/Sheet.js/Test/lib/sg-qunit-testrunner.js +40 -0
- data/Packages/Sheet.js/Test/lib/sg-testrunner.js +49 -0
- data/Packages/Sheet.js/Test/properties.html +39 -0
- data/Packages/Sheet.js/Test/run.html +43 -0
- data/Packages/Sheet.js/Test/run.js +10 -0
- data/Packages/Sheet.js/Test/test-browser.html +47 -0
- data/Packages/Sheet.js/Test/values.html +38 -0
- data/Packages/Sheet.js/package.json +59 -0
- data/Packages/Sheet.js/test-all +13 -0
- data/Packages/art/Docs/ART/ART.Group.md +106 -0
- data/Packages/art/Docs/ART/ART.Path.md +167 -0
- data/Packages/art/Docs/ART/ART.Shape.md +106 -0
- data/Packages/art/Docs/ART/ART.Transform.md +148 -0
- data/Packages/art/Docs/ART/ART.md +113 -0
- data/Packages/art/Docs/Modes/ART.Base.md +10 -0
- data/Packages/art/Docs/Modes/ART.SVG.md +9 -0
- data/Packages/art/Docs/Modes/ART.VML.md +12 -0
- data/Packages/art/Docs/Shapes/ART.Font.md +15 -0
- data/Packages/art/Docs/Shapes/ART.Shapes.md +63 -0
- data/Packages/art/Docs/Shapes/ART.Text.md +14 -0
- data/Packages/art/Fonts/Moderna.Bold.js +31 -0
- data/Packages/art/Fonts/Moderna.js +31 -0
- data/Packages/art/README.md +3 -0
- data/Packages/art/Source/ART.Base.js +33 -0
- data/Packages/art/Source/ART.Font.js +89 -0
- data/Packages/art/Source/ART.Path.js +440 -0
- data/Packages/art/Source/ART.SVG.js +593 -0
- data/Packages/art/Source/ART.Shapes.js +136 -0
- data/Packages/art/Source/ART.VML.js +772 -0
- data/Packages/art/Source/ART.js +202 -0
- data/Packages/art/license.txt +21 -0
- data/Packages/art/package.yml +24 -0
- data/Packages/art-morph/Demos/index.html +18 -0
- data/Packages/art-morph/Demos/morph.js +30 -0
- data/Packages/art-morph/README.md +3 -0
- data/Packages/art-morph/Source/ART.Path.Morph.js +76 -0
- data/Packages/art-morph/license.txt +21 -0
- data/Packages/lsd/CHANGELOG +152 -0
- data/Packages/lsd/README.md +233 -0
- data/Packages/lsd/Source/ART/ART.Element.js +51 -0
- data/Packages/lsd/Source/ART/ART.Glyphs.js +51 -0
- data/Packages/lsd/Source/ART/ART.SVG.js +122 -0
- data/Packages/lsd/Source/ART/ART.Shape.Arrow.js +104 -0
- data/Packages/lsd/Source/ART/ART.Shape.Ellipse.js +42 -0
- data/Packages/lsd/Source/ART/ART.Shape.Flower.js +71 -0
- data/Packages/lsd/Source/ART/ART.Shape.Rectangle.js +67 -0
- data/Packages/lsd/Source/ART/ART.Shape.Star.js +57 -0
- data/Packages/lsd/Source/ART/ART.js +41 -0
- data/Packages/lsd/Source/Action/Clone.js +36 -0
- data/Packages/lsd/Source/Action/Counter.js +98 -0
- data/Packages/lsd/Source/Action/Create.js +26 -0
- data/Packages/lsd/Source/Action/Delete.js +32 -0
- data/Packages/lsd/Source/Action/Display.js +50 -0
- data/Packages/lsd/Source/Action/Edit.js +138 -0
- data/Packages/lsd/Source/Action/Focus.js +29 -0
- data/Packages/lsd/Source/Action/History.js +27 -0
- data/Packages/lsd/Source/Action/Invoke.js +34 -0
- data/Packages/lsd/Source/Action/List.js +40 -0
- data/Packages/lsd/Source/Action/Set.js +36 -0
- data/Packages/lsd/Source/Action/State.js +33 -0
- data/Packages/lsd/Source/Action/Submit.js +60 -0
- data/Packages/lsd/Source/Action/Toggle.js +41 -0
- data/Packages/lsd/Source/Action/Update.js +79 -0
- data/Packages/lsd/Source/Action.js +169 -0
- data/Packages/lsd/Source/Behavior.js +68 -0
- data/Packages/lsd/Source/Command.js +135 -0
- data/Packages/lsd/Source/Document.js +188 -0
- data/Packages/lsd/Source/Interpolation.js +103 -0
- data/Packages/lsd/Source/LSD.js +163 -0
- data/Packages/lsd/Source/Layer/Color.js +43 -0
- data/Packages/lsd/Source/Layer/Offset.js +37 -0
- data/Packages/lsd/Source/Layer/Position.js +35 -0
- data/Packages/lsd/Source/Layer/Radius.js +39 -0
- data/Packages/lsd/Source/Layer/Scale.js +36 -0
- data/Packages/lsd/Source/Layer/Shadow.Blur.js +41 -0
- data/Packages/lsd/Source/Layer/Shadow.Inset.js +99 -0
- data/Packages/lsd/Source/Layer/Shadow.Native.js +35 -0
- data/Packages/lsd/Source/Layer/Shadow.Onion.js +105 -0
- data/Packages/lsd/Source/Layer/Shadow.js +46 -0
- data/Packages/lsd/Source/Layer/Shape.js +56 -0
- data/Packages/lsd/Source/Layer/Size.js +38 -0
- data/Packages/lsd/Source/Layer/Stroke.js +61 -0
- data/Packages/lsd/Source/Layer.js +212 -0
- data/Packages/lsd/Source/Layout.js +445 -0
- data/Packages/lsd/Source/Mixin/Animation.js +77 -0
- data/Packages/lsd/Source/Mixin/Choice.js +62 -0
- data/Packages/lsd/Source/Mixin/Command.js +98 -0
- data/Packages/lsd/Source/Mixin/ContentEditable.js +124 -0
- data/Packages/lsd/Source/Mixin/Draggable.js +113 -0
- data/Packages/lsd/Source/Mixin/Fieldset.js +235 -0
- data/Packages/lsd/Source/Mixin/Focusable.js +122 -0
- data/Packages/lsd/Source/Mixin/Invokable.js +83 -0
- data/Packages/lsd/Source/Mixin/List.js +99 -0
- data/Packages/lsd/Source/Mixin/Placeholder.js +77 -0
- data/Packages/lsd/Source/Mixin/Request.js +120 -0
- data/Packages/lsd/Source/Mixin/Resizable.js +182 -0
- data/Packages/lsd/Source/Mixin/Resource.js +81 -0
- data/Packages/lsd/Source/Mixin/Root.js +41 -0
- data/Packages/lsd/Source/Mixin/Scrollable.js +69 -0
- data/Packages/lsd/Source/Mixin/Sortable.js +134 -0
- data/Packages/lsd/Source/Mixin/Submittable.js +64 -0
- data/Packages/lsd/Source/Mixin/Target.js +102 -0
- data/Packages/lsd/Source/Mixin/Touchable.js +41 -0
- data/Packages/lsd/Source/Mixin/Unselectable.js +35 -0
- data/Packages/lsd/Source/Mixin/Uploader.js +277 -0
- data/Packages/lsd/Source/Mixin/Validity.js +102 -0
- data/Packages/lsd/Source/Mixin/Value.js +160 -0
- data/Packages/lsd/Source/Module/Accessories/Actions.js +79 -0
- data/Packages/lsd/Source/Module/Accessories/Attributes.js +192 -0
- data/Packages/lsd/Source/Module/Accessories/Chain.js +232 -0
- data/Packages/lsd/Source/Module/Accessories/Dimensions.js +114 -0
- data/Packages/lsd/Source/Module/Accessories/Element.js +233 -0
- data/Packages/lsd/Source/Module/Accessories/Events.js +352 -0
- data/Packages/lsd/Source/Module/Accessories/Options.js +112 -0
- data/Packages/lsd/Source/Module/Accessories/Shortcuts.js +46 -0
- data/Packages/lsd/Source/Module/Accessories/States.js +28 -0
- data/Packages/lsd/Source/Module/Accessories/Styles.js +230 -0
- data/Packages/lsd/Source/Module/Accessories/Tag.js +145 -0
- data/Packages/lsd/Source/Module/Accessories.js +47 -0
- data/Packages/lsd/Source/Module/Ambient/Allocations.js +184 -0
- data/Packages/lsd/Source/Module/Ambient/Container.js +56 -0
- data/Packages/lsd/Source/Module/Ambient/DOM.js +355 -0
- data/Packages/lsd/Source/Module/Ambient/Expectations.js +358 -0
- data/Packages/lsd/Source/Module/Ambient/Layout.js +97 -0
- data/Packages/lsd/Source/Module/Ambient/Mutations.js +101 -0
- data/Packages/lsd/Source/Module/Ambient/Proxies.js +84 -0
- data/Packages/lsd/Source/Module/Ambient/Relations.js +99 -0
- data/Packages/lsd/Source/Module/Ambient/Selectors.js +136 -0
- data/Packages/lsd/Source/Module/Ambient.js +39 -0
- data/Packages/lsd/Source/Module/Graphics/Layers.js +177 -0
- data/Packages/lsd/Source/Module/Graphics/Render.js +96 -0
- data/Packages/lsd/Source/Module/Graphics/Shape.js +56 -0
- data/Packages/lsd/Source/Module/Graphics.js +30 -0
- data/Packages/lsd/Source/Relation.js +397 -0
- data/Packages/lsd/Source/Sheet.js +324 -0
- data/Packages/lsd/Source/Trait/Date.js +66 -0
- data/Packages/lsd/Source/Trait/Input.js +65 -0
- data/Packages/lsd/Source/Trait/Menu.js +21 -0
- data/Packages/lsd/Source/Trait/Slider.js +93 -0
- data/Packages/lsd/Source/Type.js +92 -0
- data/Packages/lsd/Source/Widget.js +60 -0
- data/Packages/lsd/UNLICENSE +24 -0
- data/Packages/lsd/package.yml +114 -0
- data/Packages/lsd-mobile/Source/Body/Dialog.js +57 -0
- data/Packages/lsd-mobile/Source/Body/Page.js +50 -0
- data/Packages/lsd-mobile/Source/Body.js +30 -0
- data/Packages/lsd-mobile/Source/Dialog.js +0 -0
- data/Packages/lsd-mobile/Source/Document.js +78 -0
- data/Packages/lsd-mobile/Source/Input/Date.js +119 -0
- data/Packages/lsd-mobile/Source/Input.js +24 -0
- data/Packages/lsd-mobile/Source/Mobile.js +27 -0
- data/Packages/lsd-mobile/package.yml +15 -0
- data/Packages/lsd-native/README.md +0 -0
- data/Packages/lsd-native/Source/Input/Checkbox.js +42 -0
- data/Packages/lsd-native/Source/Input/Date.js +33 -0
- data/Packages/lsd-native/Source/Input/File.js +23 -0
- data/Packages/lsd-native/Source/Input/Hidden.js +23 -0
- data/Packages/lsd-native/Source/Input/Password.js +29 -0
- data/Packages/lsd-native/Source/Input/Radio.js +42 -0
- data/Packages/lsd-native/Source/Input/Search.js +23 -0
- data/Packages/lsd-native/Source/Input.js +48 -0
- data/Packages/lsd-native/Source/Select.js +29 -0
- data/Packages/lsd-native/Source/Textarea.js +27 -0
- data/Packages/lsd-native/package.yml +18 -0
- data/Packages/lsd-specs/Compiled/includes.js +217 -0
- data/Packages/lsd-specs/Configuration.js +124 -0
- data/Packages/lsd-specs/compile.sh +1 -0
- data/Packages/lsd-specs/index.html +26 -0
- data/Packages/lsd-specs/lsd/Action/Counter.js +35 -0
- data/Packages/lsd-specs/lsd/Layout.js +146 -0
- data/Packages/lsd-specs/lsd/Module/Accessories/Attributes.js +68 -0
- data/Packages/lsd-specs/lsd/Module/Accessories/Chain.js +385 -0
- data/Packages/lsd-specs/lsd/Module/Accessories/Dimensions.js +53 -0
- data/Packages/lsd-specs/lsd/Module/Accessories/Element.js +112 -0
- data/Packages/lsd-specs/lsd/Module/Accessories/Events.js +151 -0
- data/Packages/lsd-specs/lsd/Module/Accessories/Options.js +36 -0
- data/Packages/lsd-specs/lsd/Module/Accessories/Shortcuts.js +0 -0
- data/Packages/lsd-specs/lsd/Module/Accessories/States.js +0 -0
- data/Packages/lsd-specs/lsd/Module/Accessories/Styles.js +14 -0
- data/Packages/lsd-specs/lsd/Module/Accessories/Tag.js +84 -0
- data/Packages/lsd-specs/lsd/Module/Ambient/DOM.js +394 -0
- data/Packages/lsd-specs/lsd/Module/Ambient/Expectations.js +199 -0
- data/Packages/lsd-specs/lsd/Module/Ambient/Layout.js +0 -0
- data/Packages/lsd-specs/lsd/Module/Ambient/Relations.js +7 -0
- data/Packages/lsd-specs/lsd/Module/Behavior/Target.Parser.js +123 -0
- data/Packages/lsd-specs/lsd/Module/Behavior/Target.js +0 -0
- data/Packages/lsd-specs/lsd/Relation.js +428 -0
- data/Packages/lsd-specs/lsd/Trait/Dimensions.js +216 -0
- data/Packages/lsd-specs/lsd/Trait/Layers.js +66 -0
- data/Packages/lsd-specs/lsd/Type.js +27 -0
- data/Packages/lsd-specs/outdated/Focus.js +137 -0
- data/Packages/lsd-widgets/Source/Body/Dialog.js +68 -0
- data/Packages/lsd-widgets/Source/Body/Page.js +38 -0
- data/Packages/lsd-widgets/Source/Body.js +27 -0
- data/Packages/lsd-widgets/Source/Button.js +34 -0
- data/Packages/lsd-widgets/Source/Form.js +43 -0
- data/Packages/lsd-widgets/Source/Input/Checkbox.js +31 -0
- data/Packages/lsd-widgets/Source/Input/Date.js +43 -0
- data/Packages/lsd-widgets/Source/Input/File.js +63 -0
- data/Packages/lsd-widgets/Source/Input/HTML.js +54 -0
- data/Packages/lsd-widgets/Source/Input/Radio.js +31 -0
- data/Packages/lsd-widgets/Source/Input/Range.js +61 -0
- data/Packages/lsd-widgets/Source/Input/Submit.js +55 -0
- data/Packages/lsd-widgets/Source/Input.js +62 -0
- data/Packages/lsd-widgets/Source/Label.js +66 -0
- data/Packages/lsd-widgets/Source/Menu/Context.js +39 -0
- data/Packages/lsd-widgets/Source/Menu/List.js +49 -0
- data/Packages/lsd-widgets/Source/Menu/Toolbar.Menu.js +65 -0
- data/Packages/lsd-widgets/Source/Menu/Toolbar.js +30 -0
- data/Packages/lsd-widgets/Source/Menu.js +38 -0
- data/Packages/lsd-widgets/Source/Progress.js +45 -0
- data/Packages/lsd-widgets/Source/Scrollbar.js +131 -0
- data/Packages/lsd-widgets/Source/Select.js +81 -0
- data/Packages/lsd-widgets/Source/Table/Calendar.js +127 -0
- data/Packages/lsd-widgets/Source/Table.js +100 -0
- data/Packages/lsd-widgets/Source/Textarea.js +32 -0
- data/Packages/lsd-widgets/package.yml +32 -0
- data/Packages/mootools-color/README.md +4 -0
- data/Packages/mootools-color/Source/Color.js +167 -0
- data/Packages/mootools-color/license.txt +21 -0
- data/Packages/mootools-color/package.yml +20 -0
- data/Packages/mootools-core/Docs/Browser/Browser.md +102 -0
- data/Packages/mootools-core/Docs/Class/Class.Extras.md +453 -0
- data/Packages/mootools-core/Docs/Class/Class.md +133 -0
- data/Packages/mootools-core/Docs/Core/Core.md +385 -0
- data/Packages/mootools-core/Docs/Element/Element.Dimensions.md +235 -0
- data/Packages/mootools-core/Docs/Element/Element.Event.md +330 -0
- data/Packages/mootools-core/Docs/Element/Element.Style.md +121 -0
- data/Packages/mootools-core/Docs/Element/Element.md +1924 -0
- data/Packages/mootools-core/Docs/Fx/Fx.CSS.md +12 -0
- data/Packages/mootools-core/Docs/Fx/Fx.Morph.md +225 -0
- data/Packages/mootools-core/Docs/Fx/Fx.Transitions.md +157 -0
- data/Packages/mootools-core/Docs/Fx/Fx.Tween.md +303 -0
- data/Packages/mootools-core/Docs/Fx/Fx.md +172 -0
- data/Packages/mootools-core/Docs/Intro.md +37 -0
- data/Packages/mootools-core/Docs/Request/Request.HTML.md +179 -0
- data/Packages/mootools-core/Docs/Request/Request.JSON.md +61 -0
- data/Packages/mootools-core/Docs/Request/Request.md +461 -0
- data/Packages/mootools-core/Docs/Types/Array.md +797 -0
- data/Packages/mootools-core/Docs/Types/Event.md +204 -0
- data/Packages/mootools-core/Docs/Types/Function.md +409 -0
- data/Packages/mootools-core/Docs/Types/Number.md +212 -0
- data/Packages/mootools-core/Docs/Types/Object.md +599 -0
- data/Packages/mootools-core/Docs/Types/String.md +400 -0
- data/Packages/mootools-core/Docs/Utilities/Cookie.md +95 -0
- data/Packages/mootools-core/Docs/Utilities/DOMReady.md +21 -0
- data/Packages/mootools-core/Docs/Utilities/JSON.md +56 -0
- data/Packages/mootools-core/Docs/Utilities/Swiff.md +90 -0
- data/Packages/mootools-core/Docs/license.md +8 -0
- data/Packages/mootools-core/README.md +6 -0
- data/Packages/mootools-core/Source/Browser/Browser.js +264 -0
- data/Packages/mootools-core/Source/Class/Class.Extras.js +121 -0
- data/Packages/mootools-core/Source/Class/Class.js +115 -0
- data/Packages/mootools-core/Source/Core/Core.js +511 -0
- data/Packages/mootools-core/Source/Element/Element.Dimensions.js +283 -0
- data/Packages/mootools-core/Source/Element/Element.Event.js +175 -0
- data/Packages/mootools-core/Source/Element/Element.Style.js +184 -0
- data/Packages/mootools-core/Source/Element/Element.js +862 -0
- data/Packages/mootools-core/Source/Fx/Fx.CSS.js +149 -0
- data/Packages/mootools-core/Source/Fx/Fx.Morph.js +77 -0
- data/Packages/mootools-core/Source/Fx/Fx.Transitions.js +113 -0
- data/Packages/mootools-core/Source/Fx/Fx.Tween.js +103 -0
- data/Packages/mootools-core/Source/Fx/Fx.js +179 -0
- data/Packages/mootools-core/Source/Request/Request.HTML.js +88 -0
- data/Packages/mootools-core/Source/Request/Request.JSON.js +46 -0
- data/Packages/mootools-core/Source/Request/Request.js +278 -0
- data/Packages/mootools-core/Source/Slick/Slick.Finder.js +970 -0
- data/Packages/mootools-core/Source/Slick/Slick.Parser.js +230 -0
- data/Packages/mootools-core/Source/Types/Array.js +178 -0
- data/Packages/mootools-core/Source/Types/Event.js +135 -0
- data/Packages/mootools-core/Source/Types/Function.js +118 -0
- data/Packages/mootools-core/Source/Types/Number.js +52 -0
- data/Packages/mootools-core/Source/Types/Object.js +209 -0
- data/Packages/mootools-core/Source/Types/String.js +82 -0
- data/Packages/mootools-core/Source/Utilities/Cookie.js +74 -0
- data/Packages/mootools-core/Source/Utilities/DOMReady.js +105 -0
- data/Packages/mootools-core/Source/Utilities/JSON.js +81 -0
- data/Packages/mootools-core/Source/Utilities/Swiff.js +113 -0
- data/Packages/mootools-core/Source/license.txt +21 -0
- data/Packages/mootools-core/build +40 -0
- data/Packages/mootools-core/package.yml +43 -0
- data/Packages/mootools-custom-event/Demos/index.html +147 -0
- data/Packages/mootools-custom-event/Demos/mootools-core.js +3183 -0
- data/Packages/mootools-custom-event/Demos/style.css +44 -0
- data/Packages/mootools-custom-event/LICENSE +24 -0
- data/Packages/mootools-custom-event/README.md +128 -0
- data/Packages/mootools-custom-event/Source/Element.defineCustomEvent.js +90 -0
- data/Packages/mootools-custom-event/package.yml +20 -0
- data/Packages/mootools-ext/Examples/Class.Includes.js +47 -0
- data/Packages/mootools-ext/Examples/Class.Macros.js +69 -0
- data/Packages/mootools-ext/Examples/Class.States.js +20 -0
- data/Packages/mootools-ext/Examples/_includes.haml +17 -0
- data/Packages/mootools-ext/Examples/examples.js +8 -0
- data/Packages/mootools-ext/Examples/index.haml +22 -0
- data/Packages/mootools-ext/README.md +8 -0
- data/Packages/mootools-ext/Rakefile +5 -0
- data/Packages/mootools-ext/Source/Core/Class.Binds.Remover.js +21 -0
- data/Packages/mootools-ext/Source/Core/Class.Includes.js +68 -0
- data/Packages/mootools-ext/Source/Core/Class.Macros.js +90 -0
- data/Packages/mootools-ext/Source/Core/Class.Mixin.js +89 -0
- data/Packages/mootools-ext/Source/Core/Class.Shortcuts.js +124 -0
- data/Packages/mootools-ext/Source/Core/Class.States.js +95 -0
- data/Packages/mootools-ext/Source/Drag/Drag.Limits.js +42 -0
- data/Packages/mootools-ext/Source/Drag/Slider.js +33 -0
- data/Packages/mootools-ext/Source/Drag/Sortables.Delegation.js +64 -0
- data/Packages/mootools-ext/Source/Element/Element.Selection.js +45 -0
- data/Packages/mootools-ext/Source/Element/Element.from.js +50 -0
- data/Packages/mootools-ext/Source/Element/Element.js +47 -0
- data/Packages/mootools-ext/Source/Element/Element.onDispose.js +36 -0
- data/Packages/mootools-ext/Source/Element/Events/Input.js +23 -0
- data/Packages/mootools-ext/Source/Element/Events/Keypress.js +65 -0
- data/Packages/mootools-ext/Source/Element/Properties/BorderRadius.js +41 -0
- data/Packages/mootools-ext/Source/Element/Properties/BoxShadow.js +61 -0
- data/Packages/mootools-ext/Source/Element/Properties/Data.js +32 -0
- data/Packages/mootools-ext/Source/Element/Properties/Item.js +210 -0
- data/Packages/mootools-ext/Source/Element/Properties/UserSelect.js +32 -0
- data/Packages/mootools-ext/Source/Element/Properties/Widget.js +32 -0
- data/Packages/mootools-ext/Source/Request/Request.Auto.js +38 -0
- data/Packages/mootools-ext/Source/Request/Request.Form.js +108 -0
- data/Packages/mootools-ext/Source/Request/Request.Headers.js +41 -0
- data/Packages/mootools-ext/Source/Request/Request.Statuses.js +95 -0
- data/Packages/mootools-ext/Source/Types/Event.js +336 -0
- data/Packages/mootools-ext/Source/Types/FastArray.js +74 -0
- data/Packages/mootools-ext/Source/Types/Object.js +34 -0
- data/Packages/mootools-ext/Source/Types/String.js +33 -0
- data/Packages/mootools-ext/package.yml +45 -0
- data/Packages/mootools-history/Demos/demo.css +14 -0
- data/Packages/mootools-history/Demos/demo.js +66 -0
- data/Packages/mootools-history/Demos/index.html +32 -0
- data/Packages/mootools-history/Demos/mootools-class-extras.js +27 -0
- data/Packages/mootools-history/Demos/mootools-core.js +4422 -0
- data/Packages/mootools-history/Demos/mootools.html +27 -0
- data/Packages/mootools-history/Demos/other.html +27 -0
- data/Packages/mootools-history/Demos/style.css +96 -0
- data/Packages/mootools-history/LICENSE +24 -0
- data/Packages/mootools-history/README.md +97 -0
- data/Packages/mootools-history/Source/History.handleInitialState.js +42 -0
- data/Packages/mootools-history/Source/History.js +102 -0
- data/Packages/mootools-history/package.yml +21 -0
- data/Packages/mootools-mobile/Demos/custom-event.js +91 -0
- data/Packages/mootools-mobile/Demos/demo.css +13 -0
- data/Packages/mootools-mobile/Demos/index.html +99 -0
- data/Packages/mootools-mobile/Demos/mootools-core.js +3831 -0
- data/Packages/mootools-mobile/Demos/pinch.html +60 -0
- data/Packages/mootools-mobile/Demos/style.css +121 -0
- data/Packages/mootools-mobile/Demos/swipe.html +45 -0
- data/Packages/mootools-mobile/Demos/touchhold.html +50 -0
- data/Packages/mootools-mobile/LICENSE +24 -0
- data/Packages/mootools-mobile/README.md +173 -0
- data/Packages/mootools-mobile/Source/Browser/Features.Touch.js +52 -0
- data/Packages/mootools-mobile/Source/Browser/Mobile.js +37 -0
- data/Packages/mootools-mobile/Source/Desktop/Mouse.js +60 -0
- data/Packages/mootools-mobile/Source/Touch/Click.js +30 -0
- data/Packages/mootools-mobile/Source/Touch/Pinch.js +66 -0
- data/Packages/mootools-mobile/Source/Touch/Swipe.js +95 -0
- data/Packages/mootools-mobile/Source/Touch/Touch.js +62 -0
- data/Packages/mootools-mobile/Source/Touch/Touchhold.js +69 -0
- data/Packages/mootools-mobile/package.yml +24 -0
- data/Packages/mootools-more/Docs/Class/Chain.Wait.md +69 -0
- data/Packages/mootools-more/Docs/Class/Class.Binds.md +84 -0
- data/Packages/mootools-more/Docs/Class/Class.Occlude.md +61 -0
- data/Packages/mootools-more/Docs/Class/Class.Refactor.md +65 -0
- data/Packages/mootools-more/Docs/Class/Events.Pseudos.md +125 -0
- data/Packages/mootools-more/Docs/Drag/Drag.Move.md +147 -0
- data/Packages/mootools-more/Docs/Drag/Drag.md +206 -0
- data/Packages/mootools-more/Docs/Drag/Slider.md +249 -0
- data/Packages/mootools-more/Docs/Drag/Sortables.md +287 -0
- data/Packages/mootools-more/Docs/Element/Element.Delegation.md +120 -0
- data/Packages/mootools-more/Docs/Element/Element.Event.Pseudos.Keys.md +67 -0
- data/Packages/mootools-more/Docs/Element/Element.Event.Pseudos.md +124 -0
- data/Packages/mootools-more/Docs/Element/Element.Forms.md +231 -0
- data/Packages/mootools-more/Docs/Element/Element.Measure.md +130 -0
- data/Packages/mootools-more/Docs/Element/Element.Pin.md +56 -0
- data/Packages/mootools-more/Docs/Element/Element.Position.md +77 -0
- data/Packages/mootools-more/Docs/Element/Element.Shortcuts.md +121 -0
- data/Packages/mootools-more/Docs/Element/Elements.From.md +32 -0
- data/Packages/mootools-more/Docs/Forms/Form.Request.Append.md +36 -0
- data/Packages/mootools-more/Docs/Forms/Form.Request.md +141 -0
- data/Packages/mootools-more/Docs/Forms/Form.Validator.Extras.md +157 -0
- data/Packages/mootools-more/Docs/Forms/Form.Validator.Inline.md +100 -0
- data/Packages/mootools-more/Docs/Forms/Form.Validator.md +666 -0
- data/Packages/mootools-more/Docs/Forms/OverText.md +237 -0
- data/Packages/mootools-more/Docs/Fx/Fx.Accordion.md +178 -0
- data/Packages/mootools-more/Docs/Fx/Fx.Elements.md +114 -0
- data/Packages/mootools-more/Docs/Fx/Fx.Move.md +160 -0
- data/Packages/mootools-more/Docs/Fx/Fx.Reveal.md +235 -0
- data/Packages/mootools-more/Docs/Fx/Fx.Scroll.md +291 -0
- data/Packages/mootools-more/Docs/Fx/Fx.Slide.md +272 -0
- data/Packages/mootools-more/Docs/Fx/Fx.SmoothScroll.md +50 -0
- data/Packages/mootools-more/Docs/Fx/Fx.Sort.md +201 -0
- data/Packages/mootools-more/Docs/Interface/HtmlTable.Select.md +246 -0
- data/Packages/mootools-more/Docs/Interface/HtmlTable.Sort.md +193 -0
- data/Packages/mootools-more/Docs/Interface/HtmlTable.Zebra.md +94 -0
- data/Packages/mootools-more/Docs/Interface/HtmlTable.md +250 -0
- data/Packages/mootools-more/Docs/Interface/Keyboard.Extras.md +163 -0
- data/Packages/mootools-more/Docs/Interface/Keyboard.md +226 -0
- data/Packages/mootools-more/Docs/Interface/Mask.md +232 -0
- data/Packages/mootools-more/Docs/Interface/Scroller.md +97 -0
- data/Packages/mootools-more/Docs/Interface/Spinner.md +284 -0
- data/Packages/mootools-more/Docs/Interface/Tips.md +267 -0
- data/Packages/mootools-more/Docs/Locale/Date.md +222 -0
- data/Packages/mootools-more/Docs/Locale/Form.Validator.md +197 -0
- data/Packages/mootools-more/Docs/Locale/Locale.Set.From.md +29 -0
- data/Packages/mootools-more/Docs/Locale/Locale.md +208 -0
- data/Packages/mootools-more/Docs/Locale/Number.md +97 -0
- data/Packages/mootools-more/Docs/More/More.md +20 -0
- data/Packages/mootools-more/Docs/Request/Request.JSONP.md +126 -0
- data/Packages/mootools-more/Docs/Request/Request.Periodical.md +82 -0
- data/Packages/mootools-more/Docs/Request/Request.Queue.md +337 -0
- data/Packages/mootools-more/Docs/Types/Array.Extras.md +193 -0
- data/Packages/mootools-more/Docs/Types/Date.Extras.md +97 -0
- data/Packages/mootools-more/Docs/Types/Date.md +564 -0
- data/Packages/mootools-more/Docs/Types/Hash.Extras.md +111 -0
- data/Packages/mootools-more/Docs/Types/Hash.md +633 -0
- data/Packages/mootools-more/Docs/Types/Number.Format.md +91 -0
- data/Packages/mootools-more/Docs/Types/Object.Extras.md +134 -0
- data/Packages/mootools-more/Docs/Types/String.Extras.md +188 -0
- data/Packages/mootools-more/Docs/Types/String.QueryString.md +56 -0
- data/Packages/mootools-more/Docs/Types/URI.Relative.md +46 -0
- data/Packages/mootools-more/Docs/Types/URI.md +213 -0
- data/Packages/mootools-more/Docs/Utilities/Assets.md +175 -0
- data/Packages/mootools-more/Docs/Utilities/Color.md +276 -0
- data/Packages/mootools-more/Docs/Utilities/Group.md +75 -0
- data/Packages/mootools-more/Docs/Utilities/Hash.Cookie.md +117 -0
- data/Packages/mootools-more/Docs/Utilities/IframeShim.md +136 -0
- data/Packages/mootools-more/Docs/Utilities/Table.md +114 -0
- data/Packages/mootools-more/Docs/license.md +8 -0
- data/Packages/mootools-more/README.md +244 -0
- data/Packages/mootools-more/Source/Class/Chain.Wait.js +63 -0
- data/Packages/mootools-more/Source/Class/Class.Binds.js +37 -0
- data/Packages/mootools-more/Source/Class/Class.Occlude.js +38 -0
- data/Packages/mootools-more/Source/Class/Class.Refactor.js +41 -0
- data/Packages/mootools-more/Source/Class/Events.Pseudos.js +180 -0
- data/Packages/mootools-more/Source/Drag/Drag.Move.js +197 -0
- data/Packages/mootools-more/Source/Drag/Drag.js +234 -0
- data/Packages/mootools-more/Source/Drag/Slider.js +225 -0
- data/Packages/mootools-more/Source/Drag/Sortables.js +233 -0
- data/Packages/mootools-more/Source/Element/Element.Delegation.js +140 -0
- data/Packages/mootools-more/Source/Element/Element.Event.Pseudos.Keys.js +82 -0
- data/Packages/mootools-more/Source/Element/Element.Event.Pseudos.js +36 -0
- data/Packages/mootools-more/Source/Element/Element.Forms.js +140 -0
- data/Packages/mootools-more/Source/Element/Element.Measure.js +170 -0
- data/Packages/mootools-more/Source/Element/Element.Pin.js +130 -0
- data/Packages/mootools-more/Source/Element/Element.Position.js +235 -0
- data/Packages/mootools-more/Source/Element/Element.Shortcuts.js +76 -0
- data/Packages/mootools-more/Source/Element/Elements.From.js +40 -0
- data/Packages/mootools-more/Source/Forms/Form.Request.Append.js +77 -0
- data/Packages/mootools-more/Source/Forms/Form.Request.js +203 -0
- data/Packages/mootools-more/Source/Forms/Form.Validator.Extras.js +231 -0
- data/Packages/mootools-more/Source/Forms/Form.Validator.Inline.js +190 -0
- data/Packages/mootools-more/Source/Forms/Form.Validator.js +523 -0
- data/Packages/mootools-more/Source/Forms/OverText.js +258 -0
- data/Packages/mootools-more/Source/Fx/Fx.Accordion.js +240 -0
- data/Packages/mootools-more/Source/Fx/Fx.Elements.js +74 -0
- data/Packages/mootools-more/Source/Fx/Fx.Move.js +71 -0
- data/Packages/mootools-more/Source/Fx/Fx.Reveal.js +246 -0
- data/Packages/mootools-more/Source/Fx/Fx.Scroll.js +180 -0
- data/Packages/mootools-more/Source/Fx/Fx.Slide.js +170 -0
- data/Packages/mootools-more/Source/Fx/Fx.SmoothScroll.js +70 -0
- data/Packages/mootools-more/Source/Fx/Fx.Sort.js +172 -0
- data/Packages/mootools-more/Source/Interface/HtmlTable.Select.js +352 -0
- data/Packages/mootools-more/Source/Interface/HtmlTable.Sort.js +349 -0
- data/Packages/mootools-more/Source/Interface/HtmlTable.Zebra.js +64 -0
- data/Packages/mootools-more/Source/Interface/HtmlTable.js +150 -0
- data/Packages/mootools-more/Source/Interface/Keyboard.Extras.js +109 -0
- data/Packages/mootools-more/Source/Interface/Keyboard.js +242 -0
- data/Packages/mootools-more/Source/Interface/Mask.js +211 -0
- data/Packages/mootools-more/Source/Interface/Scroller.js +104 -0
- data/Packages/mootools-more/Source/Interface/Spinner.js +216 -0
- data/Packages/mootools-more/Source/Interface/Tips.js +259 -0
- data/Packages/mootools-more/Source/Locale/Locale.EU.Number.js +30 -0
- data/Packages/mootools-more/Source/Locale/Locale.Set.From.js +52 -0
- data/Packages/mootools-more/Source/Locale/Locale.ar.Date.js +28 -0
- data/Packages/mootools-more/Source/Locale/Locale.ar.Form.Validator.js +40 -0
- data/Packages/mootools-more/Source/Locale/Locale.ca-CA.Date.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.ca-CA.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.cs-CZ.Date.js +80 -0
- data/Packages/mootools-more/Source/Locale/Locale.cs-CZ.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.da-DK.Date.js +68 -0
- data/Packages/mootools-more/Source/Locale/Locale.da-DK.Form.Validator.js +54 -0
- data/Packages/mootools-more/Source/Locale/Locale.de-CH.Date.js +22 -0
- data/Packages/mootools-more/Source/Locale/Locale.de-CH.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.de-DE.Date.js +70 -0
- data/Packages/mootools-more/Source/Locale/Locale.de-DE.Form.Validator.js +57 -0
- data/Packages/mootools-more/Source/Locale/Locale.de-DE.Number.js +22 -0
- data/Packages/mootools-more/Source/Locale/Locale.en-GB.Date.js +29 -0
- data/Packages/mootools-more/Source/Locale/Locale.en-US.Date.js +70 -0
- data/Packages/mootools-more/Source/Locale/Locale.en-US.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.en-US.Number.js +51 -0
- data/Packages/mootools-more/Source/Locale/Locale.es-AR.Date.js +23 -0
- data/Packages/mootools-more/Source/Locale/Locale.es-AR.Form.Validator.js +54 -0
- data/Packages/mootools-more/Source/Locale/Locale.es-ES.Date.js +67 -0
- data/Packages/mootools-more/Source/Locale/Locale.es-ES.Form.Validator.js +54 -0
- data/Packages/mootools-more/Source/Locale/Locale.es-VE.Date.js +22 -0
- data/Packages/mootools-more/Source/Locale/Locale.es-VE.Form.Validator.js +34 -0
- data/Packages/mootools-more/Source/Locale/Locale.es-VE.Number.js +44 -0
- data/Packages/mootools-more/Source/Locale/Locale.et-EE.Date.js +67 -0
- data/Packages/mootools-more/Source/Locale/Locale.et-EE.Form.Validator.js +54 -0
- data/Packages/mootools-more/Source/Locale/Locale.fa.Date.js +66 -0
- data/Packages/mootools-more/Source/Locale/Locale.fa.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.fi-FI.Date.js +72 -0
- data/Packages/mootools-more/Source/Locale/Locale.fi-FI.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.fi-FI.Number.js +26 -0
- data/Packages/mootools-more/Source/Locale/Locale.fr-FR.Date.js +70 -0
- data/Packages/mootools-more/Source/Locale/Locale.fr-FR.Form.Validator.js +56 -0
- data/Packages/mootools-more/Source/Locale/Locale.fr-FR.Number.js +27 -0
- data/Packages/mootools-more/Source/Locale/Locale.he-IL.Date.js +67 -0
- data/Packages/mootools-more/Source/Locale/Locale.he-IL.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.he-IL.Number.js +30 -0
- data/Packages/mootools-more/Source/Locale/Locale.hu-HU.Date.js +67 -0
- data/Packages/mootools-more/Source/Locale/Locale.hu-HU.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.it-IT.Date.js +68 -0
- data/Packages/mootools-more/Source/Locale/Locale.it-IT.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.ja-JP.Date.js +67 -0
- data/Packages/mootools-more/Source/Locale/Locale.ja-JP.Form.Validator.js +54 -0
- data/Packages/mootools-more/Source/Locale/Locale.ja-JP.Number.js +31 -0
- data/Packages/mootools-more/Source/Locale/Locale.js +188 -0
- data/Packages/mootools-more/Source/Locale/Locale.nl-NL.Date.js +68 -0
- data/Packages/mootools-more/Source/Locale/Locale.nl-NL.Form.Validator.js +57 -0
- data/Packages/mootools-more/Source/Locale/Locale.nl-NL.Number.js +25 -0
- data/Packages/mootools-more/Source/Locale/Locale.no-NO.Date.js +39 -0
- data/Packages/mootools-more/Source/Locale/Locale.no-NO.Form.Validator.js +40 -0
- data/Packages/mootools-more/Source/Locale/Locale.pl-PL.Date.js +57 -0
- data/Packages/mootools-more/Source/Locale/Locale.pl-PL.Form.Validator.js +54 -0
- data/Packages/mootools-more/Source/Locale/Locale.pt-BR.Date.js +27 -0
- data/Packages/mootools-more/Source/Locale/Locale.pt-BR.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.pt-BR.Number.js +33 -0
- data/Packages/mootools-more/Source/Locale/Locale.pt-PT.Date.js +67 -0
- data/Packages/mootools-more/Source/Locale/Locale.pt-PT.Form.Validator.js +40 -0
- data/Packages/mootools-more/Source/Locale/Locale.ru-RU.Date.js +98 -0
- data/Packages/mootools-more/Source/Locale/Locale.ru-RU.Form.Validator.js +46 -0
- data/Packages/mootools-more/Source/Locale/Locale.si-SI.Date.js +75 -0
- data/Packages/mootools-more/Source/Locale/Locale.si-SI.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.sv-SE.Date.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.sv-SE.Form.Validator.js +54 -0
- data/Packages/mootools-more/Source/Locale/Locale.sv-SE.Number.js +29 -0
- data/Packages/mootools-more/Source/Locale/Locale.tr-TR.Date.js +67 -0
- data/Packages/mootools-more/Source/Locale/Locale.tr-TR.Form.Validator.js +55 -0
- data/Packages/mootools-more/Source/Locale/Locale.tr-TR.Number.js +29 -0
- data/Packages/mootools-more/Source/Locale/Locale.uk-UA.Date.js +82 -0
- data/Packages/mootools-more/Source/Locale/Locale.uk-UA.Form.Validator.js +54 -0
- data/Packages/mootools-more/Source/Locale/Locale.zh-CH.Date.js +117 -0
- data/Packages/mootools-more/Source/Locale/Locale.zh-CH.Form.Validator.js +110 -0
- data/Packages/mootools-more/Source/Locale/Locale.zh-CH.Number.js +32 -0
- data/Packages/mootools-more/Source/More/More.js +33 -0
- data/Packages/mootools-more/Source/Request/Request.JSONP.js +142 -0
- data/Packages/mootools-more/Source/Request/Request.Periodical.js +51 -0
- data/Packages/mootools-more/Source/Request/Request.Queue.js +212 -0
- data/Packages/mootools-more/Source/Types/Array.Extras.js +79 -0
- data/Packages/mootools-more/Source/Types/Date.Extras.js +117 -0
- data/Packages/mootools-more/Source/Types/Date.js +559 -0
- data/Packages/mootools-more/Source/Types/Hash.Extras.js +38 -0
- data/Packages/mootools-more/Source/Types/Hash.js +145 -0
- data/Packages/mootools-more/Source/Types/Number.Format.js +105 -0
- data/Packages/mootools-more/Source/Types/Object.Extras.js +66 -0
- data/Packages/mootools-more/Source/Types/String.Extras.js +148 -0
- data/Packages/mootools-more/Source/Types/String.QueryString.js +68 -0
- data/Packages/mootools-more/Source/Types/URI.Relative.js +57 -0
- data/Packages/mootools-more/Source/Types/URI.js +169 -0
- data/Packages/mootools-more/Source/Utilities/Assets.js +131 -0
- data/Packages/mootools-more/Source/Utilities/Color.js +162 -0
- data/Packages/mootools-more/Source/Utilities/Group.js +60 -0
- data/Packages/mootools-more/Source/Utilities/Hash.Cookie.js +61 -0
- data/Packages/mootools-more/Source/Utilities/IframeShim.js +130 -0
- data/Packages/mootools-more/Source/Utilities/Table.js +57 -0
- data/Packages/mootools-more/Source/license.txt +21 -0
- data/Packages/mootools-more/Styles/Interface/Mask/mask.css +8 -0
- data/Packages/mootools-more/Styles/Interface/Spinner/spinner.css +19 -0
- data/Packages/mootools-more/Styles/Interface/Spinner/spinner.gif +0 -0
- data/Packages/mootools-more/Tests/Interactive/Class/Chain.Wait_(tween).html +14 -0
- data/Packages/mootools-more/Tests/Interactive/Class/Chain.Wait_(tween).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(basic).html +39 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(basic).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(container).html +130 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(container).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(drag_in_drag).html +46 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(drag_in_drag).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(drag_in_drag_border).html +48 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(drag_in_drag_border).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(droppables).html +88 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(droppables).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(no_offsetParent).html +42 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(no_offsetParent).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(position_right_bottom).html +41 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(style_false).html +23 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag.Move_(style_false).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag_(resize).html +48 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Drag_(resize).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Slider.html +169 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Slider.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Sortables_(images).html +19 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Sortables_(images).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Sortables_(multi).html +44 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Sortables_(multi).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Sortables_(revert).html +51 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Sortables_(single).html +67 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Sortables_(single).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Sortables_(table).html +46 -0
- data/Packages/mootools-more/Tests/Interactive/Drag/Sortables_(table).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Delegation.html +89 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Delegation.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Delegation_(focus_blur).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Delegation_(non_bubbling).html +126 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Event.Pseudos.Keys.html +39 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Event.Pseudos.Keys.yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Event.Pseudos.html +56 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Forms.html +125 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Forms.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Pin.html +46 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Pin.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Position_(basic).html +118 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Position_(basic).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Position_(scrolled).html +47 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Position_(scrolled).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Position_(scrolling).html +46 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Position_(scrolling).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Shortcuts.html +171 -0
- data/Packages/mootools-more/Tests/Interactive/Element/Element.Shortcuts.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Request.Append.html +29 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Request.Append.yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Request.html +49 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Request.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Extras.html +88 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Extras.yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Extras_(data-).html +87 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Extras_(data-).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline.html +54 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline.yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(data-).html +54 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(data-).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(data-warnings).html +42 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(data-warnings).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(onBlur).html +60 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(onBlur).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(onChange).html +68 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(onChange).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(single_input).html +33 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(single_input).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(warnings).html +42 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/Form.Validator.Inline_(warnings).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/OverText.html +116 -0
- data/Packages/mootools-more/Tests/Interactive/Forms/OverText.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Accordion.html +152 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Accordion.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Elements.html +34 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Elements.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Move.html +91 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Move.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Reveal.html +42 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Reveal.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Scroll_(element).html +107 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Scroll_(element).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Scroll_(window).html +88 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Scroll_(window).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Slide.html +63 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Slide.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.SmoothScroll.html +77 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.SmoothScroll.yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Sort.html +100 -0
- data/Packages/mootools-more/Tests/Interactive/Fx/Fx.Sort.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable.Select.html +109 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable.Select.yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable.html +46 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(empty_and_refill).html +46 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(empty_and_refill).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(id).html +43 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(id).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(sortable).html +256 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(sortable).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(zebra).html +93 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(zebra).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Keyboard_(nested).html +129 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Keyboard_(nested).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Keyboard_(single).html +93 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Keyboard_(single).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Mask.html +63 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Mask.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Scroller.html +40 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Scroller.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Scroller_(With_Drag).html +45 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Scroller_(With_Drag).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Spinner.html +125 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Spinner.yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Tips.html +156 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Tips.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Tips_(offset).html +64 -0
- data/Packages/mootools-more/Tests/Interactive/Interface/Tips_(offset).yml +3 -0
- data/Packages/mootools-more/Tests/Interactive/README.md +3 -0
- data/Packages/mootools-more/Tests/Interactive/Request/Request.JSONP.html +22 -0
- data/Packages/mootools-more/Tests/Interactive/Request/Request.JSONP.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Request/Request.JSONP_(async).html +33 -0
- data/Packages/mootools-more/Tests/Interactive/Request/Request.JSONP_(async).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Request/Request.JSONP_(timeout).html +46 -0
- data/Packages/mootools-more/Tests/Interactive/Request/Request.JSONP_(timeout).yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Request/Request.Periodical.html +38 -0
- data/Packages/mootools-more/Tests/Interactive/Request/Request.Periodical.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Request/Request.Queue.html +42 -0
- data/Packages/mootools-more/Tests/Interactive/Request/Request.Queue.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Utilities/Assets.html +78 -0
- data/Packages/mootools-more/Tests/Interactive/Utilities/Assets.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/Utilities/IframeShim.html +36 -0
- data/Packages/mootools-more/Tests/Interactive/Utilities/IframeShim.yml +2 -0
- data/Packages/mootools-more/Tests/Interactive/_assets/Assets.css.test.css +24 -0
- data/Packages/mootools-more/Tests/Interactive/_assets/Assets.js.test.js +3 -0
- data/Packages/mootools-more/Tests/Interactive/_assets/bullet_arrow_down.png +0 -0
- data/Packages/mootools-more/Tests/Interactive/_assets/bullet_arrow_up.png +0 -0
- data/Packages/mootools-more/Tests/Interactive/_assets/cow.png +0 -0
- data/Packages/mootools-more/Tests/Interactive/_assets/mask.css +8 -0
- data/Packages/mootools-more/Tests/Interactive/_assets/mediaplayer.swf +0 -0
- data/Packages/mootools-more/Tests/Interactive/_assets/mootools.png +0 -0
- data/Packages/mootools-more/Tests/Interactive/_assets/spinner.css +19 -0
- data/Packages/mootools-more/Tests/Interactive/_assets/spinner.gif +0 -0
- data/Packages/mootools-more/Tests/Interactive/_assets/video.flv +0 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Class/Chain.Wait.js +74 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Class/Class.Binds.js +91 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Class/Class.Occlude.js +49 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Class/Class.Refactor.js +103 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Class/Events.Pseudos.js +367 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Element/Element.Delegation.js +32 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Element/Element.Event.Pseudos.Keys.js +33 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Element/Element.Event.Pseudos.js +69 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Element/Element.Forms.js +155 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Element/Element.Measure.js +92 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Element/Element.Pin.js +131 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Element/Element.Position.js +181 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Element/Element.Shortcuts.js +93 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Element/Elements.From.js +22 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Forms/Form.Validator.js +384 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Fx/Fx.Reveal.js +24 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Fx/Fx.Slide.js +21 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Interface/HtmlTable.Select.js +153 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Interface/HtmlTable.Sort.js +181 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Interface/HtmlTable.Zebra.js +39 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Interface/HtmlTable.js +153 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Interface/Keyboard.js +130 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Locale/Locale.js +104 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Request/Request.JSONP.js +55 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/Array.Extras.js +119 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/Date.Extras.js +80 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/Date.js +709 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/Hash.Extras.js +21 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/Hash.js +202 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/Number.Format.js +90 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/Object.Extras.js +105 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/Object.Extras_client.js +17 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/String.Extras.js +72 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/String.QueryString.js +63 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/URI.Relative.js +114 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Types/URI.js +123 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Utilities/Assets.js +211 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Utilities/Color.js +78 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Utilities/Group.js +25 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Utilities/Hash.Cookie.js +50 -0
- data/Packages/mootools-more/Tests/Specs/1.3/Utilities/Table.js +56 -0
- data/Packages/mootools-more/Tests/Specs/Configuration.js +245 -0
- data/Packages/mootools-more/Tests/Specs/assets/Assets.css.test.css +24 -0
- data/Packages/mootools-more/Tests/Specs/assets/Assets.js.test.js +3 -0
- data/Packages/mootools-more/Tests/Specs/assets/cow.png +0 -0
- data/Packages/mootools-more/Tests/Specs/assets/jsonp.js +8 -0
- data/Packages/mootools-more/Tests/Specs/assets/mootools.png +0 -0
- data/Packages/mootools-more/Tests/Specs/index.html +26 -0
- data/Packages/mootools-more/Tests/Specs/package.yml +47 -0
- data/Packages/mootools-more/build +40 -0
- data/Packages/mootools-more/package.yml +145 -0
- data/Packages/mootools-resource/README.md +60 -0
- data/Packages/mootools-resource/Source/Resource.Collection.js +40 -0
- data/Packages/mootools-resource/Source/Resource.Model.Actions.js +98 -0
- data/Packages/mootools-resource/Source/Resource.Model.js +175 -0
- data/Packages/mootools-resource/Source/Resource.Parser.HTML.js +28 -0
- data/Packages/mootools-resource/Source/Resource.Parser.JSON.js +35 -0
- data/Packages/mootools-resource/Source/Resource.Parser.XML.js +31 -0
- data/Packages/mootools-resource/Source/Resource.Parser.js +50 -0
- data/Packages/mootools-resource/Source/Resource.js +282 -0
- data/Packages/mootools-resource/package.yml +18 -0
- data/Packages/mootools-speedups/README.md +10 -0
- data/Packages/mootools-speedups/Source/Core/Class.Extras.Speedups.js +14 -0
- data/Packages/mootools-speedups/Source/Core/Class.Speedups.js +129 -0
- data/Packages/mootools-speedups/Source/Core/Core.Speedups.js +89 -0
- data/Packages/mootools-speedups/Source/Types/Object.js +36 -0
- data/Packages/mootools-speedups/package.yml +19 -0
- data/Packages/mootools-string-inflections/README.md +292 -0
- data/Packages/mootools-string-inflections/Source/String.Inflections.js +230 -0
- data/Packages/mootools-string-inflections/TODO.md +2 -0
- data/Packages/mootools-string-inflections/Tests/index.html +12 -0
- data/Packages/mootools-string-inflections/Tests/test.js +95 -0
- data/Packages/mootools-string-inflections/package.yml +7 -0
- data/Packages/qfocuser/README +63 -0
- data/Packages/qfocuser/Source/QFocuser.js +278 -0
- data/Packages/qfocuser/package.yml +8 -0
- data/Packages/slick/Makefile +19 -0
- data/Packages/slick/README.md +127 -0
- data/Packages/slick/SlickSpec/Configuration.js +56 -0
- data/Packages/slick/SlickSpec/assets/JSSpecHelpers.js +187 -0
- data/Packages/slick/SlickSpec/assets/getgetter.js +65 -0
- data/Packages/slick/SlickSpec/assets/ie.css +37 -0
- data/Packages/slick/SlickSpec/assets/moobugger/bookmarklet.html +46 -0
- data/Packages/slick/SlickSpec/assets/moobugger/debugger-iframe.js +386 -0
- data/Packages/slick/SlickSpec/assets/moobugger/debugger.css +190 -0
- data/Packages/slick/SlickSpec/assets/moobugger/debugger.html +25 -0
- data/Packages/slick/SlickSpec/assets/moobugger/debugger.js +284 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/close.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/error.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/group-close.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/group-open.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/icon.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/info.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/lick.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/max.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/min.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/mootools.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/time.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/images/warning.png +0 -0
- data/Packages/slick/SlickSpec/assets/moobugger/mootools.js +57 -0
- data/Packages/slick/SlickSpec/assets/moobugger/test.html +88 -0
- data/Packages/slick/SlickSpec/assets/screen.css +259 -0
- data/Packages/slick/SlickSpec/assets/simple_request.js +67 -0
- data/Packages/slick/SlickSpec/assets/slickspec.css +366 -0
- data/Packages/slick/SlickSpec/bootstrap/moo12.slickspec.js +55 -0
- data/Packages/slick/SlickSpec/bootstrap/nwmatcher.slickspec.js +27 -0
- data/Packages/slick/SlickSpec/bootstrap/sizzle.slickspec.js +65 -0
- data/Packages/slick/SlickSpec/bootstrap/slick.slickspec.js +66 -0
- data/Packages/slick/SlickSpec/bootstrap/yui.slickspec.js +36 -0
- data/Packages/slick/SlickSpec/index.html +26 -0
- data/Packages/slick/SlickSpec/mocks/MooTools_Logo.svg +24 -0
- data/Packages/slick/SlickSpec/mocks/html5-shim.html +70 -0
- data/Packages/slick/SlickSpec/mocks/query_test-dojo.html +79 -0
- data/Packages/slick/SlickSpec/mocks/query_test-google_closure.html +72 -0
- data/Packages/slick/SlickSpec/mocks/query_test-jquery.html +213 -0
- data/Packages/slick/SlickSpec/mocks/query_test-prototype.html +95 -0
- data/Packages/slick/SlickSpec/mocks/query_test-slick.html +20 -0
- data/Packages/slick/SlickSpec/mocks/query_test-yui.html +88 -0
- data/Packages/slick/SlickSpec/mocks/template-almost.html +2932 -0
- data/Packages/slick/SlickSpec/mocks/template-chromeframe.html +2932 -0
- data/Packages/slick/SlickSpec/mocks/template-ie7.html +2932 -0
- data/Packages/slick/SlickSpec/mocks/template-quirks.html +2932 -0
- data/Packages/slick/SlickSpec/mocks/template-standard.html +2932 -0
- data/Packages/slick/SlickSpec/mocks/template-transitional.html +2932 -0
- data/Packages/slick/SlickSpec/mocks/template.xhtml +2476 -0
- data/Packages/slick/SlickSpec/mocks/template.xml +2475 -0
- data/Packages/slick/SlickSpec/mocks/xml.xml +21 -0
- data/Packages/slick/SlickSpec/select.html +107 -0
- data/Packages/slick/SlickSpec/setup.js +93 -0
- data/Packages/slick/SlickSpec/slickspec.html +261 -0
- data/Packages/slick/SlickSpec/specrunner_browser.html +69 -0
- data/Packages/slick/SlickSpec/specs/api.js +167 -0
- data/Packages/slick/SlickSpec/specs/browser_bugs.js +269 -0
- data/Packages/slick/SlickSpec/specs/dojo.js +260 -0
- data/Packages/slick/SlickSpec/specs/engine_bugs.js +388 -0
- data/Packages/slick/SlickSpec/specs/google_closure.js +176 -0
- data/Packages/slick/SlickSpec/specs/html.js +58 -0
- data/Packages/slick/SlickSpec/specs/html5.js +40 -0
- data/Packages/slick/SlickSpec/specs/isxml.js +24 -0
- data/Packages/slick/SlickSpec/specs/jquery.js +465 -0
- data/Packages/slick/SlickSpec/specs/match.js +139 -0
- data/Packages/slick/SlickSpec/specs/mock_template.js +360 -0
- data/Packages/slick/SlickSpec/specs/parser.js +409 -0
- data/Packages/slick/SlickSpec/specs/prototype.js +428 -0
- data/Packages/slick/SlickSpec/specs/select_exhaustive.js +84 -0
- data/Packages/slick/SlickSpec/specs/select_nth-child.js +64 -0
- data/Packages/slick/SlickSpec/specs/syntax.js +45 -0
- data/Packages/slick/SlickSpec/specs/unit.js +87 -0
- data/Packages/slick/SlickSpec/specs/xml.js +47 -0
- data/Packages/slick/SlickSpec/specs/yui.js +510 -0
- data/Packages/slick/SlickSpec/user-specs/pseudos.html +45 -0
- data/Packages/slick/Source/Slick.Finder.js +1012 -0
- data/Packages/slick/Source/Slick.Parser.js +231 -0
- data/Packages/slick/Source/slick.js +10 -0
- data/Packages/slick/package.json +12 -0
- data/Packages/slick/package.yml +19 -0
- data/Packages/slick/speed/frameworks/dojo-acme.js +1625 -0
- data/Packages/slick/speed/frameworks/dojo.js +16 -0
- data/Packages/slick/speed/frameworks/domass.js +1365 -0
- data/Packages/slick/speed/frameworks/jquery.js +4376 -0
- data/Packages/slick/speed/frameworks/mootools-core-1.3.js +5367 -0
- data/Packages/slick/speed/frameworks/mootools-slick.js +626 -0
- data/Packages/slick/speed/frameworks/mootools.js +4329 -0
- data/Packages/slick/speed/frameworks/native.js +0 -0
- data/Packages/slick/speed/frameworks/nwmatcher.js +1264 -0
- data/Packages/slick/speed/frameworks/prototype.js +4320 -0
- data/Packages/slick/speed/frameworks/sizzle.js +1102 -0
- data/Packages/slick/speed/frameworks/slick.js +1099 -0
- data/Packages/slick/speed/frameworks/sly.js +857 -0
- data/Packages/slick/speed/frameworks/yass.css3.js +490 -0
- data/Packages/slick/speed/jslitmus/JSLitmus.js +714 -0
- data/Packages/slick/speed/jslitmus/JSLitmusHelpers.js +3 -0
- data/Packages/slick/speed/jslitmus/bench_catch.html +49 -0
- data/Packages/slick/speed/jslitmus/bench_match.html +214 -0
- data/Packages/slick/speed/jslitmus/bench_match.js +98 -0
- data/Packages/slick/speed/jslitmus/bench_parse.html +161 -0
- data/Packages/slick/speed/jslitmus/bench_parse.js +68 -0
- data/Packages/slick/speed/jslitmus/bench_select.html +198 -0
- data/Packages/slick/speed/jslitmus/bench_select.js +106 -0
- data/Packages/slick/speed/jslitmus/bench_select2.js +106 -0
- data/Packages/slick/speed/jslitmus/bench_uidOf.html +121 -0
- data/Packages/slick/speed/jslitmus/closedNodes.html +92 -0
- data/Packages/slick/speed/jslitmus/demo.html +97 -0
- data/Packages/slick/speed/jslitmus/get_attribute.html +75 -0
- data/Packages/slick/speed/jslitmus/label_break-vs-fn_return.html +65 -0
- data/Packages/slick/speed/jslitmus/label_string-vs-var.html +94 -0
- data/Packages/slick/speed/jslitmus/method_vs_propfn.html +109 -0
- data/Packages/slick/speed/jslitmus/nodeListtoArray.html +89 -0
- data/Packages/slick/speed/jslitmus/parse_vs_clone.html +41 -0
- data/Packages/slick/speed/jslitmus/results.html +68 -0
- data/Packages/slick/speed/jslitmus/select.html +25 -0
- data/Packages/slick/speed/jslitmus/selectHTML.html +206 -0
- data/Packages/slick/speed/jslitmus/selectXML.html +140 -0
- data/Packages/slick/speed/jslitmus/select_class-doctypes.html +150 -0
- data/Packages/slick/speed/jslitmus/select_class.html +92 -0
- data/Packages/slick/speed/jslitmus/select_id.html +133 -0
- data/Packages/slick/speed/slickspeed/config.ini +54 -0
- data/Packages/slick/speed/slickspeed/footer.html +3 -0
- data/Packages/slick/speed/slickspeed/header.php +28 -0
- data/Packages/slick/speed/slickspeed/index.php +36 -0
- data/Packages/slick/speed/slickspeed/instructions.txt +4 -0
- data/Packages/slick/speed/slickspeed/logo.png +0 -0
- data/Packages/slick/speed/slickspeed/selectors.list.crazy.css +319 -0
- data/Packages/slick/speed/slickspeed/selectors.list.css +40 -0
- data/Packages/slick/speed/slickspeed/selectors.list.extended.css +81 -0
- data/Packages/slick/speed/slickspeed/selectors.list.mine.css +54 -0
- data/Packages/slick/speed/slickspeed/selectors.list.org.css +37 -0
- data/Packages/slick/speed/slickspeed/selectors.list.simple.css +105 -0
- data/Packages/slick/speed/slickspeed/selectors.list.sly.css +54 -0
- data/Packages/slick/speed/slickspeed/selectors.list.yahoo.css +33 -0
- data/Packages/slick/speed/slickspeed/style.css +197 -0
- data/Packages/slick/speed/slickspeed/system/index.php +172 -0
- data/Packages/slick/speed/slickspeed/system/slickspeed.js +162 -0
- data/Packages/slick/speed/slickspeed/system/template.php +154 -0
- data/Packages/slick/speed/slickspeed/system_slackerspeed/index.php +295 -0
- data/Packages/slick/speed/slickspeed/system_slackerspeed/slickspeed.js +147 -0
- data/Packages/slick/speed/slickspeed/system_slackerspeed/template.php +54 -0
- data/Packages/slick/speed/slickspeed/template.html +2921 -0
- data/Packages/slick/speed/slickspeed/template.yahoo.html +1 -0
- data/Packages/slick/speed/speedtests/deepmatch/index.html +294 -0
- data/Packages/slick/speed/speedtests/index.html +14 -0
- data/Packages/slick/speed/speedtests/setdocument/index.html +44 -0
- data/Packages/slick/speed/speedtests/setdocument/slow-document.js +69 -0
- data/Packages/slick/speed/subtleslickspeed/README.mdown +6 -0
- data/Packages/slick/speed/subtleslickspeed/lib/ie.css +26 -0
- data/Packages/slick/speed/subtleslickspeed/lib/jslib.js +389 -0
- data/Packages/slick/speed/subtleslickspeed/lib/own_tests/report_test.html +64 -0
- data/Packages/slick/speed/subtleslickspeed/lib/print.css +30 -0
- data/Packages/slick/speed/subtleslickspeed/lib/screen.css +251 -0
- data/Packages/slick/speed/subtleslickspeed/lib/subtlesandbox.js +174 -0
- data/Packages/slick/speed/subtleslickspeed/lib/subtlesandbox_strict.html +18 -0
- data/Packages/slick/speed/subtleslickspeed/lib/subtleslickspeed.js +290 -0
- data/Packages/slick/speed/subtleslickspeed/lib/subtleslickspeed.reports.js +87 -0
- data/Packages/slick/speed/subtleslickspeed/lib/subtleslickspeed.reports.table.js +353 -0
- data/Packages/slick/speed/subtleslickspeed/lib/table_report.css +241 -0
- data/Packages/slick/speed/subtleslickspeed/selectors.html +156 -0
- data/Packages/slick/speed/subtleslickspeed/string_replace.html +2998 -0
- data/Packages/slick/speed/subtleslickspeed/tests/selectors/template.html +14 -0
- data/Packages/slick/speed/subtleslickspeed/tests/selectors/template.js +2924 -0
- data/Packages/slick/speed/subtleslickspeed/tests/selectors/tests.js +177 -0
- data/lib/lsd/helper.rb +12 -0
- data/lib/lsd/packages.rb +25 -0
- data/lib/lsd/railtie.rb +33 -0
- data/lib/lsd/source.rb +37 -0
- data/lib/lsd/widget_generator.rb +24 -0
- data/lib/lsd.rake +17 -0
- data/lib/lsd.rb +20 -0
- data/lib/templates/Application.js +37 -0
- data/lib/templates/Widget.js +25 -0
- data/lib/templates/app_name.js +18 -0
- data/lib/templates/new_widget.js +25 -0
- data/lib/templates/package.yml +18 -0
- metadata +1053 -0
@@ -0,0 +1,1102 @@
|
|
1
|
+
/*!
|
2
|
+
* Sizzle CSS Selector Engine - v1.0
|
3
|
+
* Copyright 2009, The Dojo Foundation
|
4
|
+
* Released under the MIT, BSD, and GPL Licenses.
|
5
|
+
* More information: http://sizzlejs.com/
|
6
|
+
*/
|
7
|
+
(function(){
|
8
|
+
|
9
|
+
var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
|
10
|
+
done = 0,
|
11
|
+
toString = Object.prototype.toString,
|
12
|
+
hasDuplicate = false,
|
13
|
+
baseHasDuplicate = true;
|
14
|
+
|
15
|
+
// Here we check if the JavaScript engine is using some sort of
|
16
|
+
// optimization where it does not always call our comparision
|
17
|
+
// function. If that is the case, discard the hasDuplicate value.
|
18
|
+
// Thus far that includes Google Chrome.
|
19
|
+
[0, 0].sort(function(){
|
20
|
+
baseHasDuplicate = false;
|
21
|
+
return 0;
|
22
|
+
});
|
23
|
+
|
24
|
+
var Sizzle = function(selector, context, results, seed) {
|
25
|
+
results = results || [];
|
26
|
+
context = context || document;
|
27
|
+
|
28
|
+
var origContext = context;
|
29
|
+
|
30
|
+
if ( context.nodeType !== 1 && context.nodeType !== 9 ) {
|
31
|
+
return [];
|
32
|
+
}
|
33
|
+
|
34
|
+
if ( !selector || typeof selector !== "string" ) {
|
35
|
+
return results;
|
36
|
+
}
|
37
|
+
|
38
|
+
var parts = [], m, set, checkSet, extra, prune = true, contextXML = Sizzle.isXML(context),
|
39
|
+
soFar = selector, ret, cur, pop, i;
|
40
|
+
|
41
|
+
// Reset the position of the chunker regexp (start from head)
|
42
|
+
do {
|
43
|
+
chunker.exec("");
|
44
|
+
m = chunker.exec(soFar);
|
45
|
+
|
46
|
+
if ( m ) {
|
47
|
+
soFar = m[3];
|
48
|
+
|
49
|
+
parts.push( m[1] );
|
50
|
+
|
51
|
+
if ( m[2] ) {
|
52
|
+
extra = m[3];
|
53
|
+
break;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
} while ( m );
|
57
|
+
|
58
|
+
if ( parts.length > 1 && origPOS.exec( selector ) ) {
|
59
|
+
if ( parts.length === 2 && Expr.relative[ parts[0] ] ) {
|
60
|
+
set = posProcess( parts[0] + parts[1], context );
|
61
|
+
} else {
|
62
|
+
set = Expr.relative[ parts[0] ] ?
|
63
|
+
[ context ] :
|
64
|
+
Sizzle( parts.shift(), context );
|
65
|
+
|
66
|
+
while ( parts.length ) {
|
67
|
+
selector = parts.shift();
|
68
|
+
|
69
|
+
if ( Expr.relative[ selector ] ) {
|
70
|
+
selector += parts.shift();
|
71
|
+
}
|
72
|
+
|
73
|
+
set = posProcess( selector, set );
|
74
|
+
}
|
75
|
+
}
|
76
|
+
} else {
|
77
|
+
// Take a shortcut and set the context if the root selector is an ID
|
78
|
+
// (but not if it'll be faster if the inner selector is an ID)
|
79
|
+
if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
|
80
|
+
Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
|
81
|
+
ret = Sizzle.find( parts.shift(), context, contextXML );
|
82
|
+
context = ret.expr ? Sizzle.filter( ret.expr, ret.set )[0] : ret.set[0];
|
83
|
+
}
|
84
|
+
|
85
|
+
if ( context ) {
|
86
|
+
ret = seed ?
|
87
|
+
{ expr: parts.pop(), set: makeArray(seed) } :
|
88
|
+
Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML );
|
89
|
+
set = ret.expr ? Sizzle.filter( ret.expr, ret.set ) : ret.set;
|
90
|
+
|
91
|
+
if ( parts.length > 0 ) {
|
92
|
+
checkSet = makeArray(set);
|
93
|
+
} else {
|
94
|
+
prune = false;
|
95
|
+
}
|
96
|
+
|
97
|
+
while ( parts.length ) {
|
98
|
+
cur = parts.pop();
|
99
|
+
pop = cur;
|
100
|
+
|
101
|
+
if ( !Expr.relative[ cur ] ) {
|
102
|
+
cur = "";
|
103
|
+
} else {
|
104
|
+
pop = parts.pop();
|
105
|
+
}
|
106
|
+
|
107
|
+
if ( pop == null ) {
|
108
|
+
pop = context;
|
109
|
+
}
|
110
|
+
|
111
|
+
Expr.relative[ cur ]( checkSet, pop, contextXML );
|
112
|
+
}
|
113
|
+
} else {
|
114
|
+
checkSet = parts = [];
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
if ( !checkSet ) {
|
119
|
+
checkSet = set;
|
120
|
+
}
|
121
|
+
|
122
|
+
if ( !checkSet ) {
|
123
|
+
Sizzle.error( cur || selector );
|
124
|
+
}
|
125
|
+
|
126
|
+
if ( toString.call(checkSet) === "[object Array]" ) {
|
127
|
+
if ( !prune ) {
|
128
|
+
results.push.apply( results, checkSet );
|
129
|
+
} else if ( context && context.nodeType === 1 ) {
|
130
|
+
for ( i = 0; checkSet[i] != null; i++ ) {
|
131
|
+
if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) {
|
132
|
+
results.push( set[i] );
|
133
|
+
}
|
134
|
+
}
|
135
|
+
} else {
|
136
|
+
for ( i = 0; checkSet[i] != null; i++ ) {
|
137
|
+
if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
|
138
|
+
results.push( set[i] );
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
} else {
|
143
|
+
makeArray( checkSet, results );
|
144
|
+
}
|
145
|
+
|
146
|
+
if ( extra ) {
|
147
|
+
Sizzle( extra, origContext, results, seed );
|
148
|
+
Sizzle.uniqueSort( results );
|
149
|
+
}
|
150
|
+
|
151
|
+
return results;
|
152
|
+
};
|
153
|
+
|
154
|
+
Sizzle.uniqueSort = function(results){
|
155
|
+
if ( sortOrder ) {
|
156
|
+
hasDuplicate = baseHasDuplicate;
|
157
|
+
results.sort(sortOrder);
|
158
|
+
|
159
|
+
if ( hasDuplicate ) {
|
160
|
+
for ( var i = 1; i < results.length; i++ ) {
|
161
|
+
if ( results[i] === results[i-1] ) {
|
162
|
+
results.splice(i--, 1);
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
return results;
|
169
|
+
};
|
170
|
+
|
171
|
+
Sizzle.matches = function(expr, set){
|
172
|
+
return Sizzle(expr, null, null, set);
|
173
|
+
};
|
174
|
+
|
175
|
+
Sizzle.find = function(expr, context, isXML){
|
176
|
+
var set;
|
177
|
+
|
178
|
+
if ( !expr ) {
|
179
|
+
return [];
|
180
|
+
}
|
181
|
+
|
182
|
+
for ( var i = 0, l = Expr.order.length; i < l; i++ ) {
|
183
|
+
var type = Expr.order[i], match;
|
184
|
+
|
185
|
+
if ( (match = Expr.leftMatch[ type ].exec( expr )) ) {
|
186
|
+
var left = match[1];
|
187
|
+
match.splice(1,1);
|
188
|
+
|
189
|
+
if ( left.substr( left.length - 1 ) !== "\\" ) {
|
190
|
+
match[1] = (match[1] || "").replace(/\\/g, "");
|
191
|
+
set = Expr.find[ type ]( match, context, isXML );
|
192
|
+
if ( set != null ) {
|
193
|
+
expr = expr.replace( Expr.match[ type ], "" );
|
194
|
+
break;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
}
|
199
|
+
|
200
|
+
if ( !set ) {
|
201
|
+
set = context.getElementsByTagName("*");
|
202
|
+
}
|
203
|
+
|
204
|
+
return {set: set, expr: expr};
|
205
|
+
};
|
206
|
+
|
207
|
+
Sizzle.filter = function(expr, set, inplace, not){
|
208
|
+
var old = expr, result = [], curLoop = set, match, anyFound,
|
209
|
+
isXMLFilter = set && set[0] && Sizzle.isXML(set[0]);
|
210
|
+
|
211
|
+
while ( expr && set.length ) {
|
212
|
+
for ( var type in Expr.filter ) {
|
213
|
+
if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) {
|
214
|
+
var filter = Expr.filter[ type ], found, item, left = match[1];
|
215
|
+
anyFound = false;
|
216
|
+
|
217
|
+
match.splice(1,1);
|
218
|
+
|
219
|
+
if ( left.substr( left.length - 1 ) === "\\" ) {
|
220
|
+
continue;
|
221
|
+
}
|
222
|
+
|
223
|
+
if ( curLoop === result ) {
|
224
|
+
result = [];
|
225
|
+
}
|
226
|
+
|
227
|
+
if ( Expr.preFilter[ type ] ) {
|
228
|
+
match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );
|
229
|
+
|
230
|
+
if ( !match ) {
|
231
|
+
anyFound = found = true;
|
232
|
+
} else if ( match === true ) {
|
233
|
+
continue;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
if ( match ) {
|
238
|
+
for ( var i = 0; (item = curLoop[i]) != null; i++ ) {
|
239
|
+
if ( item ) {
|
240
|
+
found = filter( item, match, i, curLoop );
|
241
|
+
var pass = not ^ !!found;
|
242
|
+
|
243
|
+
if ( inplace && found != null ) {
|
244
|
+
if ( pass ) {
|
245
|
+
anyFound = true;
|
246
|
+
} else {
|
247
|
+
curLoop[i] = false;
|
248
|
+
}
|
249
|
+
} else if ( pass ) {
|
250
|
+
result.push( item );
|
251
|
+
anyFound = true;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
if ( found !== undefined ) {
|
258
|
+
if ( !inplace ) {
|
259
|
+
curLoop = result;
|
260
|
+
}
|
261
|
+
|
262
|
+
expr = expr.replace( Expr.match[ type ], "" );
|
263
|
+
|
264
|
+
if ( !anyFound ) {
|
265
|
+
return [];
|
266
|
+
}
|
267
|
+
|
268
|
+
break;
|
269
|
+
}
|
270
|
+
}
|
271
|
+
}
|
272
|
+
|
273
|
+
// Improper expression
|
274
|
+
if ( expr === old ) {
|
275
|
+
if ( anyFound == null ) {
|
276
|
+
Sizzle.error( expr );
|
277
|
+
} else {
|
278
|
+
break;
|
279
|
+
}
|
280
|
+
}
|
281
|
+
|
282
|
+
old = expr;
|
283
|
+
}
|
284
|
+
|
285
|
+
return curLoop;
|
286
|
+
};
|
287
|
+
|
288
|
+
Sizzle.error = function( msg ) {
|
289
|
+
throw "Syntax error, unrecognized expression: " + msg;
|
290
|
+
};
|
291
|
+
|
292
|
+
var Expr = Sizzle.selectors = {
|
293
|
+
order: [ "ID", "NAME", "TAG" ],
|
294
|
+
match: {
|
295
|
+
ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
|
296
|
+
CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
|
297
|
+
NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
|
298
|
+
ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
|
299
|
+
TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,
|
300
|
+
CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,
|
301
|
+
POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
|
302
|
+
PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
|
303
|
+
},
|
304
|
+
leftMatch: {},
|
305
|
+
attrMap: {
|
306
|
+
"class": "className",
|
307
|
+
"for": "htmlFor"
|
308
|
+
},
|
309
|
+
attrHandle: {
|
310
|
+
href: function(elem){
|
311
|
+
return elem.getAttribute("href");
|
312
|
+
}
|
313
|
+
},
|
314
|
+
relative: {
|
315
|
+
"+": function(checkSet, part){
|
316
|
+
var isPartStr = typeof part === "string",
|
317
|
+
isTag = isPartStr && !/\W/.test(part),
|
318
|
+
isPartStrNotTag = isPartStr && !isTag;
|
319
|
+
|
320
|
+
if ( isTag ) {
|
321
|
+
part = part.toLowerCase();
|
322
|
+
}
|
323
|
+
|
324
|
+
for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
|
325
|
+
if ( (elem = checkSet[i]) ) {
|
326
|
+
while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
|
327
|
+
|
328
|
+
checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ?
|
329
|
+
elem || false :
|
330
|
+
elem === part;
|
331
|
+
}
|
332
|
+
}
|
333
|
+
|
334
|
+
if ( isPartStrNotTag ) {
|
335
|
+
Sizzle.filter( part, checkSet, true );
|
336
|
+
}
|
337
|
+
},
|
338
|
+
">": function(checkSet, part){
|
339
|
+
var isPartStr = typeof part === "string",
|
340
|
+
elem, i = 0, l = checkSet.length;
|
341
|
+
|
342
|
+
if ( isPartStr && !/\W/.test(part) ) {
|
343
|
+
part = part.toLowerCase();
|
344
|
+
|
345
|
+
for ( ; i < l; i++ ) {
|
346
|
+
elem = checkSet[i];
|
347
|
+
if ( elem ) {
|
348
|
+
var parent = elem.parentNode;
|
349
|
+
checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false;
|
350
|
+
}
|
351
|
+
}
|
352
|
+
} else {
|
353
|
+
for ( ; i < l; i++ ) {
|
354
|
+
elem = checkSet[i];
|
355
|
+
if ( elem ) {
|
356
|
+
checkSet[i] = isPartStr ?
|
357
|
+
elem.parentNode :
|
358
|
+
elem.parentNode === part;
|
359
|
+
}
|
360
|
+
}
|
361
|
+
|
362
|
+
if ( isPartStr ) {
|
363
|
+
Sizzle.filter( part, checkSet, true );
|
364
|
+
}
|
365
|
+
}
|
366
|
+
},
|
367
|
+
"": function(checkSet, part, isXML){
|
368
|
+
var doneName = done++, checkFn = dirCheck, nodeCheck;
|
369
|
+
|
370
|
+
if ( typeof part === "string" && !/\W/.test(part) ) {
|
371
|
+
part = part.toLowerCase();
|
372
|
+
nodeCheck = part;
|
373
|
+
checkFn = dirNodeCheck;
|
374
|
+
}
|
375
|
+
|
376
|
+
checkFn("parentNode", part, doneName, checkSet, nodeCheck, isXML);
|
377
|
+
},
|
378
|
+
"~": function(checkSet, part, isXML){
|
379
|
+
var doneName = done++, checkFn = dirCheck, nodeCheck;
|
380
|
+
|
381
|
+
if ( typeof part === "string" && !/\W/.test(part) ) {
|
382
|
+
part = part.toLowerCase();
|
383
|
+
nodeCheck = part;
|
384
|
+
checkFn = dirNodeCheck;
|
385
|
+
}
|
386
|
+
|
387
|
+
checkFn("previousSibling", part, doneName, checkSet, nodeCheck, isXML);
|
388
|
+
}
|
389
|
+
},
|
390
|
+
find: {
|
391
|
+
ID: function(match, context, isXML){
|
392
|
+
if ( typeof context.getElementById !== "undefined" && !isXML ) {
|
393
|
+
var m = context.getElementById(match[1]);
|
394
|
+
// Check parentNode to catch when Blackberry 4.6 returns
|
395
|
+
// nodes that are no longer in the document #6963
|
396
|
+
return m && m.parentNode ? [m] : [];
|
397
|
+
}
|
398
|
+
},
|
399
|
+
NAME: function(match, context){
|
400
|
+
if ( typeof context.getElementsByName !== "undefined" ) {
|
401
|
+
var ret = [], results = context.getElementsByName(match[1]);
|
402
|
+
|
403
|
+
for ( var i = 0, l = results.length; i < l; i++ ) {
|
404
|
+
if ( results[i].getAttribute("name") === match[1] ) {
|
405
|
+
ret.push( results[i] );
|
406
|
+
}
|
407
|
+
}
|
408
|
+
|
409
|
+
return ret.length === 0 ? null : ret;
|
410
|
+
}
|
411
|
+
},
|
412
|
+
TAG: function(match, context){
|
413
|
+
return context.getElementsByTagName(match[1]);
|
414
|
+
}
|
415
|
+
},
|
416
|
+
preFilter: {
|
417
|
+
CLASS: function(match, curLoop, inplace, result, not, isXML){
|
418
|
+
match = " " + match[1].replace(/\\/g, "") + " ";
|
419
|
+
|
420
|
+
if ( isXML ) {
|
421
|
+
return match;
|
422
|
+
}
|
423
|
+
|
424
|
+
for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {
|
425
|
+
if ( elem ) {
|
426
|
+
if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n]/g, " ").indexOf(match) >= 0) ) {
|
427
|
+
if ( !inplace ) {
|
428
|
+
result.push( elem );
|
429
|
+
}
|
430
|
+
} else if ( inplace ) {
|
431
|
+
curLoop[i] = false;
|
432
|
+
}
|
433
|
+
}
|
434
|
+
}
|
435
|
+
|
436
|
+
return false;
|
437
|
+
},
|
438
|
+
ID: function(match){
|
439
|
+
return match[1].replace(/\\/g, "");
|
440
|
+
},
|
441
|
+
TAG: function(match, curLoop){
|
442
|
+
return match[1].toLowerCase();
|
443
|
+
},
|
444
|
+
CHILD: function(match){
|
445
|
+
if ( match[1] === "nth" ) {
|
446
|
+
// parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
|
447
|
+
var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(
|
448
|
+
match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" ||
|
449
|
+
!/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
|
450
|
+
|
451
|
+
// calculate the numbers (first)n+(last) including if they are negative
|
452
|
+
match[2] = (test[1] + (test[2] || 1)) - 0;
|
453
|
+
match[3] = test[3] - 0;
|
454
|
+
}
|
455
|
+
|
456
|
+
// TODO: Move to normal caching system
|
457
|
+
match[0] = done++;
|
458
|
+
|
459
|
+
return match;
|
460
|
+
},
|
461
|
+
ATTR: function(match, curLoop, inplace, result, not, isXML){
|
462
|
+
var name = match[1].replace(/\\/g, "");
|
463
|
+
|
464
|
+
if ( !isXML && Expr.attrMap[name] ) {
|
465
|
+
match[1] = Expr.attrMap[name];
|
466
|
+
}
|
467
|
+
|
468
|
+
if ( match[2] === "~=" ) {
|
469
|
+
match[4] = " " + match[4] + " ";
|
470
|
+
}
|
471
|
+
|
472
|
+
return match;
|
473
|
+
},
|
474
|
+
PSEUDO: function(match, curLoop, inplace, result, not){
|
475
|
+
if ( match[1] === "not" ) {
|
476
|
+
// If we're dealing with a complex expression, or a simple one
|
477
|
+
if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) {
|
478
|
+
match[3] = Sizzle(match[3], null, null, curLoop);
|
479
|
+
} else {
|
480
|
+
var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
|
481
|
+
if ( !inplace ) {
|
482
|
+
result.push.apply( result, ret );
|
483
|
+
}
|
484
|
+
return false;
|
485
|
+
}
|
486
|
+
} else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
|
487
|
+
return true;
|
488
|
+
}
|
489
|
+
|
490
|
+
return match;
|
491
|
+
},
|
492
|
+
POS: function(match){
|
493
|
+
match.unshift( true );
|
494
|
+
return match;
|
495
|
+
}
|
496
|
+
},
|
497
|
+
filters: {
|
498
|
+
enabled: function(elem){
|
499
|
+
return elem.disabled === false && elem.type !== "hidden";
|
500
|
+
},
|
501
|
+
disabled: function(elem){
|
502
|
+
return elem.disabled === true;
|
503
|
+
},
|
504
|
+
checked: function(elem){
|
505
|
+
return elem.checked === true;
|
506
|
+
},
|
507
|
+
selected: function(elem){
|
508
|
+
// Accessing this property makes selected-by-default
|
509
|
+
// options in Safari work properly
|
510
|
+
elem.parentNode.selectedIndex;
|
511
|
+
return elem.selected === true;
|
512
|
+
},
|
513
|
+
parent: function(elem){
|
514
|
+
return !!elem.firstChild;
|
515
|
+
},
|
516
|
+
empty: function(elem){
|
517
|
+
return !elem.firstChild;
|
518
|
+
},
|
519
|
+
has: function(elem, i, match){
|
520
|
+
return !!Sizzle( match[3], elem ).length;
|
521
|
+
},
|
522
|
+
header: function(elem){
|
523
|
+
return (/h\d/i).test( elem.nodeName );
|
524
|
+
},
|
525
|
+
text: function(elem){
|
526
|
+
return "text" === elem.type;
|
527
|
+
},
|
528
|
+
radio: function(elem){
|
529
|
+
return "radio" === elem.type;
|
530
|
+
},
|
531
|
+
checkbox: function(elem){
|
532
|
+
return "checkbox" === elem.type;
|
533
|
+
},
|
534
|
+
file: function(elem){
|
535
|
+
return "file" === elem.type;
|
536
|
+
},
|
537
|
+
password: function(elem){
|
538
|
+
return "password" === elem.type;
|
539
|
+
},
|
540
|
+
submit: function(elem){
|
541
|
+
return "submit" === elem.type;
|
542
|
+
},
|
543
|
+
image: function(elem){
|
544
|
+
return "image" === elem.type;
|
545
|
+
},
|
546
|
+
reset: function(elem){
|
547
|
+
return "reset" === elem.type;
|
548
|
+
},
|
549
|
+
button: function(elem){
|
550
|
+
return "button" === elem.type || elem.nodeName.toLowerCase() === "button";
|
551
|
+
},
|
552
|
+
input: function(elem){
|
553
|
+
return (/input|select|textarea|button/i).test(elem.nodeName);
|
554
|
+
}
|
555
|
+
},
|
556
|
+
setFilters: {
|
557
|
+
first: function(elem, i){
|
558
|
+
return i === 0;
|
559
|
+
},
|
560
|
+
last: function(elem, i, match, array){
|
561
|
+
return i === array.length - 1;
|
562
|
+
},
|
563
|
+
even: function(elem, i){
|
564
|
+
return i % 2 === 0;
|
565
|
+
},
|
566
|
+
odd: function(elem, i){
|
567
|
+
return i % 2 === 1;
|
568
|
+
},
|
569
|
+
lt: function(elem, i, match){
|
570
|
+
return i < match[3] - 0;
|
571
|
+
},
|
572
|
+
gt: function(elem, i, match){
|
573
|
+
return i > match[3] - 0;
|
574
|
+
},
|
575
|
+
nth: function(elem, i, match){
|
576
|
+
return match[3] - 0 === i;
|
577
|
+
},
|
578
|
+
eq: function(elem, i, match){
|
579
|
+
return match[3] - 0 === i;
|
580
|
+
}
|
581
|
+
},
|
582
|
+
filter: {
|
583
|
+
PSEUDO: function(elem, match, i, array){
|
584
|
+
var name = match[1], filter = Expr.filters[ name ];
|
585
|
+
|
586
|
+
if ( filter ) {
|
587
|
+
return filter( elem, i, match, array );
|
588
|
+
} else if ( name === "contains" ) {
|
589
|
+
return (elem.textContent || elem.innerText || Sizzle.getText([ elem ]) || "").indexOf(match[3]) >= 0;
|
590
|
+
} else if ( name === "not" ) {
|
591
|
+
var not = match[3];
|
592
|
+
|
593
|
+
for ( var j = 0, l = not.length; j < l; j++ ) {
|
594
|
+
if ( not[j] === elem ) {
|
595
|
+
return false;
|
596
|
+
}
|
597
|
+
}
|
598
|
+
|
599
|
+
return true;
|
600
|
+
} else {
|
601
|
+
Sizzle.error( "Syntax error, unrecognized expression: " + name );
|
602
|
+
}
|
603
|
+
},
|
604
|
+
CHILD: function(elem, match){
|
605
|
+
var type = match[1], node = elem;
|
606
|
+
switch (type) {
|
607
|
+
case 'only':
|
608
|
+
case 'first':
|
609
|
+
while ( (node = node.previousSibling) ) {
|
610
|
+
if ( node.nodeType === 1 ) {
|
611
|
+
return false;
|
612
|
+
}
|
613
|
+
}
|
614
|
+
if ( type === "first" ) {
|
615
|
+
return true;
|
616
|
+
}
|
617
|
+
node = elem;
|
618
|
+
case 'last':
|
619
|
+
while ( (node = node.nextSibling) ) {
|
620
|
+
if ( node.nodeType === 1 ) {
|
621
|
+
return false;
|
622
|
+
}
|
623
|
+
}
|
624
|
+
return true;
|
625
|
+
case 'nth':
|
626
|
+
var first = match[2], last = match[3];
|
627
|
+
|
628
|
+
if ( first === 1 && last === 0 ) {
|
629
|
+
return true;
|
630
|
+
}
|
631
|
+
|
632
|
+
var doneName = match[0],
|
633
|
+
parent = elem.parentNode;
|
634
|
+
|
635
|
+
if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) {
|
636
|
+
var count = 0;
|
637
|
+
for ( node = parent.firstChild; node; node = node.nextSibling ) {
|
638
|
+
if ( node.nodeType === 1 ) {
|
639
|
+
node.nodeIndex = ++count;
|
640
|
+
}
|
641
|
+
}
|
642
|
+
parent.sizcache = doneName;
|
643
|
+
}
|
644
|
+
|
645
|
+
var diff = elem.nodeIndex - last;
|
646
|
+
if ( first === 0 ) {
|
647
|
+
return diff === 0;
|
648
|
+
} else {
|
649
|
+
return ( diff % first === 0 && diff / first >= 0 );
|
650
|
+
}
|
651
|
+
}
|
652
|
+
},
|
653
|
+
ID: function(elem, match){
|
654
|
+
return elem.nodeType === 1 && elem.getAttribute("id") === match;
|
655
|
+
},
|
656
|
+
TAG: function(elem, match){
|
657
|
+
return (match === "*" && elem.nodeType === 1) || elem.nodeName.toLowerCase() === match;
|
658
|
+
},
|
659
|
+
CLASS: function(elem, match){
|
660
|
+
return (" " + (elem.className || elem.getAttribute("class")) + " ")
|
661
|
+
.indexOf( match ) > -1;
|
662
|
+
},
|
663
|
+
ATTR: function(elem, match){
|
664
|
+
var name = match[1],
|
665
|
+
result = Expr.attrHandle[ name ] ?
|
666
|
+
Expr.attrHandle[ name ]( elem ) :
|
667
|
+
elem[ name ] != null ?
|
668
|
+
elem[ name ] :
|
669
|
+
elem.getAttribute( name ),
|
670
|
+
value = result + "",
|
671
|
+
type = match[2],
|
672
|
+
check = match[4];
|
673
|
+
|
674
|
+
return result == null ?
|
675
|
+
type === "!=" :
|
676
|
+
type === "=" ?
|
677
|
+
value === check :
|
678
|
+
type === "*=" ?
|
679
|
+
value.indexOf(check) >= 0 :
|
680
|
+
type === "~=" ?
|
681
|
+
(" " + value + " ").indexOf(check) >= 0 :
|
682
|
+
!check ?
|
683
|
+
value && result !== false :
|
684
|
+
type === "!=" ?
|
685
|
+
value !== check :
|
686
|
+
type === "^=" ?
|
687
|
+
value.indexOf(check) === 0 :
|
688
|
+
type === "$=" ?
|
689
|
+
value.substr(value.length - check.length) === check :
|
690
|
+
type === "|=" ?
|
691
|
+
value === check || value.substr(0, check.length + 1) === check + "-" :
|
692
|
+
false;
|
693
|
+
},
|
694
|
+
POS: function(elem, match, i, array){
|
695
|
+
var name = match[2], filter = Expr.setFilters[ name ];
|
696
|
+
|
697
|
+
if ( filter ) {
|
698
|
+
return filter( elem, i, match, array );
|
699
|
+
}
|
700
|
+
}
|
701
|
+
}
|
702
|
+
};
|
703
|
+
|
704
|
+
var origPOS = Expr.match.POS,
|
705
|
+
fescape = function(all, num){
|
706
|
+
return "\\" + (num - 0 + 1);
|
707
|
+
};
|
708
|
+
|
709
|
+
for ( var type in Expr.match ) {
|
710
|
+
Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) );
|
711
|
+
Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) );
|
712
|
+
}
|
713
|
+
|
714
|
+
var makeArray = function(array, results) {
|
715
|
+
array = Array.prototype.slice.call( array, 0 );
|
716
|
+
|
717
|
+
if ( results ) {
|
718
|
+
results.push.apply( results, array );
|
719
|
+
return results;
|
720
|
+
}
|
721
|
+
|
722
|
+
return array;
|
723
|
+
};
|
724
|
+
|
725
|
+
// Perform a simple check to determine if the browser is capable of
|
726
|
+
// converting a NodeList to an array using builtin methods.
|
727
|
+
// Also verifies that the returned array holds DOM nodes
|
728
|
+
// (which is not the case in the Blackberry browser)
|
729
|
+
try {
|
730
|
+
Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType;
|
731
|
+
|
732
|
+
// Provide a fallback method if it does not work
|
733
|
+
} catch(e){
|
734
|
+
makeArray = function(array, results) {
|
735
|
+
var ret = results || [], i = 0;
|
736
|
+
|
737
|
+
if ( toString.call(array) === "[object Array]" ) {
|
738
|
+
Array.prototype.push.apply( ret, array );
|
739
|
+
} else {
|
740
|
+
if ( typeof array.length === "number" ) {
|
741
|
+
for ( var l = array.length; i < l; i++ ) {
|
742
|
+
ret.push( array[i] );
|
743
|
+
}
|
744
|
+
} else {
|
745
|
+
for ( ; array[i]; i++ ) {
|
746
|
+
ret.push( array[i] );
|
747
|
+
}
|
748
|
+
}
|
749
|
+
}
|
750
|
+
|
751
|
+
return ret;
|
752
|
+
};
|
753
|
+
}
|
754
|
+
|
755
|
+
var sortOrder, siblingCheck;
|
756
|
+
|
757
|
+
if ( document.documentElement.compareDocumentPosition ) {
|
758
|
+
sortOrder = function( a, b ) {
|
759
|
+
if ( a === b ) {
|
760
|
+
hasDuplicate = true;
|
761
|
+
return 0;
|
762
|
+
}
|
763
|
+
|
764
|
+
if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) {
|
765
|
+
return a.compareDocumentPosition ? -1 : 1;
|
766
|
+
}
|
767
|
+
|
768
|
+
return a.compareDocumentPosition(b) & 4 ? -1 : 1;
|
769
|
+
};
|
770
|
+
} else {
|
771
|
+
sortOrder = function( a, b ) {
|
772
|
+
var ap = [], bp = [], aup = a.parentNode, bup = b.parentNode,
|
773
|
+
cur = aup, al, bl;
|
774
|
+
|
775
|
+
// The nodes are identical, we can exit early
|
776
|
+
if ( a === b ) {
|
777
|
+
hasDuplicate = true;
|
778
|
+
return 0;
|
779
|
+
|
780
|
+
// If the nodes are siblings (or identical) we can do a quick check
|
781
|
+
} else if ( aup === bup ) {
|
782
|
+
return siblingCheck( a, b );
|
783
|
+
|
784
|
+
// If no parents were found then the nodes are disconnected
|
785
|
+
} else if ( !aup ) {
|
786
|
+
return -1;
|
787
|
+
|
788
|
+
} else if ( !bup ) {
|
789
|
+
return 1;
|
790
|
+
}
|
791
|
+
|
792
|
+
// Otherwise they're somewhere else in the tree so we need
|
793
|
+
// to build up a full list of the parentNodes for comparison
|
794
|
+
while ( cur ) {
|
795
|
+
ap.unshift( cur );
|
796
|
+
cur = cur.parentNode;
|
797
|
+
}
|
798
|
+
|
799
|
+
cur = bup;
|
800
|
+
|
801
|
+
while ( cur ) {
|
802
|
+
bp.unshift( cur );
|
803
|
+
cur = cur.parentNode;
|
804
|
+
}
|
805
|
+
|
806
|
+
al = ap.length;
|
807
|
+
bl = bp.length;
|
808
|
+
|
809
|
+
// Start walking down the tree looking for a discrepancy
|
810
|
+
for ( var i = 0; i < al && i < bl; i++ ) {
|
811
|
+
if ( ap[i] !== bp[i] ) {
|
812
|
+
return siblingCheck( ap[i], bp[i] );
|
813
|
+
}
|
814
|
+
}
|
815
|
+
|
816
|
+
// We ended someplace up the tree so do a sibling check
|
817
|
+
return i === al ?
|
818
|
+
siblingCheck( a, bp[i], -1 ) :
|
819
|
+
siblingCheck( ap[i], b, 1 );
|
820
|
+
};
|
821
|
+
|
822
|
+
siblingCheck = function( a, b, ret ) {
|
823
|
+
if ( a === b ) {
|
824
|
+
return ret;
|
825
|
+
}
|
826
|
+
|
827
|
+
var cur = a.nextSibling;
|
828
|
+
|
829
|
+
while ( cur ) {
|
830
|
+
if ( cur === b ) {
|
831
|
+
return -1;
|
832
|
+
}
|
833
|
+
|
834
|
+
cur = cur.nextSibling;
|
835
|
+
}
|
836
|
+
|
837
|
+
return 1;
|
838
|
+
};
|
839
|
+
}
|
840
|
+
|
841
|
+
// Utility function for retreiving the text value of an array of DOM nodes
|
842
|
+
Sizzle.getText = function( elems ) {
|
843
|
+
var ret = "", elem;
|
844
|
+
|
845
|
+
for ( var i = 0; elems[i]; i++ ) {
|
846
|
+
elem = elems[i];
|
847
|
+
|
848
|
+
// Get the text from text nodes and CDATA nodes
|
849
|
+
if ( elem.nodeType === 3 || elem.nodeType === 4 ) {
|
850
|
+
ret += elem.nodeValue;
|
851
|
+
|
852
|
+
// Traverse everything else, except comment nodes
|
853
|
+
} else if ( elem.nodeType !== 8 ) {
|
854
|
+
ret += Sizzle.getText( elem.childNodes );
|
855
|
+
}
|
856
|
+
}
|
857
|
+
|
858
|
+
return ret;
|
859
|
+
};
|
860
|
+
|
861
|
+
// Check to see if the browser returns elements by name when
|
862
|
+
// querying by getElementById (and provide a workaround)
|
863
|
+
(function(){
|
864
|
+
// We're going to inject a fake input element with a specified name
|
865
|
+
var form = document.createElement("div"),
|
866
|
+
id = "script" + (new Date()).getTime();
|
867
|
+
form.innerHTML = "<a name='" + id + "'/>";
|
868
|
+
|
869
|
+
// Inject it into the root element, check its status, and remove it quickly
|
870
|
+
var root = document.documentElement;
|
871
|
+
root.insertBefore( form, root.firstChild );
|
872
|
+
|
873
|
+
// The workaround has to do additional checks after a getElementById
|
874
|
+
// Which slows things down for other browsers (hence the branching)
|
875
|
+
if ( document.getElementById( id ) ) {
|
876
|
+
Expr.find.ID = function(match, context, isXML){
|
877
|
+
if ( typeof context.getElementById !== "undefined" && !isXML ) {
|
878
|
+
var m = context.getElementById(match[1]);
|
879
|
+
return m ? m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? [m] : undefined : [];
|
880
|
+
}
|
881
|
+
};
|
882
|
+
|
883
|
+
Expr.filter.ID = function(elem, match){
|
884
|
+
var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
|
885
|
+
return elem.nodeType === 1 && node && node.nodeValue === match;
|
886
|
+
};
|
887
|
+
}
|
888
|
+
|
889
|
+
root.removeChild( form );
|
890
|
+
root = form = null; // release memory in IE
|
891
|
+
})();
|
892
|
+
|
893
|
+
(function(){
|
894
|
+
// Check to see if the browser returns only elements
|
895
|
+
// when doing getElementsByTagName("*")
|
896
|
+
|
897
|
+
// Create a fake element
|
898
|
+
var div = document.createElement("div");
|
899
|
+
div.appendChild( document.createComment("") );
|
900
|
+
|
901
|
+
// Make sure no comments are found
|
902
|
+
if ( div.getElementsByTagName("*").length > 0 ) {
|
903
|
+
Expr.find.TAG = function(match, context){
|
904
|
+
var results = context.getElementsByTagName(match[1]);
|
905
|
+
|
906
|
+
// Filter out possible comments
|
907
|
+
if ( match[1] === "*" ) {
|
908
|
+
var tmp = [];
|
909
|
+
|
910
|
+
for ( var i = 0; results[i]; i++ ) {
|
911
|
+
if ( results[i].nodeType === 1 ) {
|
912
|
+
tmp.push( results[i] );
|
913
|
+
}
|
914
|
+
}
|
915
|
+
|
916
|
+
results = tmp;
|
917
|
+
}
|
918
|
+
|
919
|
+
return results;
|
920
|
+
};
|
921
|
+
}
|
922
|
+
|
923
|
+
// Check to see if an attribute returns normalized href attributes
|
924
|
+
div.innerHTML = "<a href='#'></a>";
|
925
|
+
if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" &&
|
926
|
+
div.firstChild.getAttribute("href") !== "#" ) {
|
927
|
+
Expr.attrHandle.href = function(elem){
|
928
|
+
return elem.getAttribute("href", 2);
|
929
|
+
};
|
930
|
+
}
|
931
|
+
|
932
|
+
div = null; // release memory in IE
|
933
|
+
})();
|
934
|
+
|
935
|
+
if ( document.querySelectorAll ) {
|
936
|
+
(function(){
|
937
|
+
var oldSizzle = Sizzle, div = document.createElement("div");
|
938
|
+
div.innerHTML = "<p class='TEST'></p>";
|
939
|
+
|
940
|
+
// Safari can't handle uppercase or unicode characters when
|
941
|
+
// in quirks mode.
|
942
|
+
if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) {
|
943
|
+
return;
|
944
|
+
}
|
945
|
+
|
946
|
+
Sizzle = function(query, context, extra, seed){
|
947
|
+
context = context || document;
|
948
|
+
|
949
|
+
// Only use querySelectorAll on non-XML documents
|
950
|
+
// (ID selectors don't work in non-HTML documents)
|
951
|
+
if ( !seed && context.nodeType === 9 && !Sizzle.isXML(context) ) {
|
952
|
+
try {
|
953
|
+
return makeArray( context.querySelectorAll(query), extra );
|
954
|
+
} catch(e){}
|
955
|
+
}
|
956
|
+
|
957
|
+
return oldSizzle(query, context, extra, seed);
|
958
|
+
};
|
959
|
+
|
960
|
+
for ( var prop in oldSizzle ) {
|
961
|
+
Sizzle[ prop ] = oldSizzle[ prop ];
|
962
|
+
}
|
963
|
+
|
964
|
+
div = null; // release memory in IE
|
965
|
+
})();
|
966
|
+
}
|
967
|
+
|
968
|
+
(function(){
|
969
|
+
var div = document.createElement("div");
|
970
|
+
|
971
|
+
div.innerHTML = "<div class='test e'></div><div class='test'></div>";
|
972
|
+
|
973
|
+
// Opera can't find a second classname (in 9.6)
|
974
|
+
// Also, make sure that getElementsByClassName actually exists
|
975
|
+
if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) {
|
976
|
+
return;
|
977
|
+
}
|
978
|
+
|
979
|
+
// Safari caches class attributes, doesn't catch changes (in 3.2)
|
980
|
+
div.lastChild.className = "e";
|
981
|
+
|
982
|
+
if ( div.getElementsByClassName("e").length === 1 ) {
|
983
|
+
return;
|
984
|
+
}
|
985
|
+
|
986
|
+
Expr.order.splice(1, 0, "CLASS");
|
987
|
+
Expr.find.CLASS = function(match, context, isXML) {
|
988
|
+
if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
|
989
|
+
return context.getElementsByClassName(match[1]);
|
990
|
+
}
|
991
|
+
};
|
992
|
+
|
993
|
+
div = null; // release memory in IE
|
994
|
+
})();
|
995
|
+
|
996
|
+
function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
|
997
|
+
for ( var i = 0, l = checkSet.length; i < l; i++ ) {
|
998
|
+
var elem = checkSet[i];
|
999
|
+
if ( elem ) {
|
1000
|
+
elem = elem[dir];
|
1001
|
+
var match = false;
|
1002
|
+
|
1003
|
+
while ( elem ) {
|
1004
|
+
if ( elem.sizcache === doneName ) {
|
1005
|
+
match = checkSet[elem.sizset];
|
1006
|
+
break;
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
if ( elem.nodeType === 1 && !isXML ){
|
1010
|
+
elem.sizcache = doneName;
|
1011
|
+
elem.sizset = i;
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
if ( elem.nodeName.toLowerCase() === cur ) {
|
1015
|
+
match = elem;
|
1016
|
+
break;
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
elem = elem[dir];
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
checkSet[i] = match;
|
1023
|
+
}
|
1024
|
+
}
|
1025
|
+
}
|
1026
|
+
|
1027
|
+
function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
|
1028
|
+
for ( var i = 0, l = checkSet.length; i < l; i++ ) {
|
1029
|
+
var elem = checkSet[i];
|
1030
|
+
if ( elem ) {
|
1031
|
+
elem = elem[dir];
|
1032
|
+
var match = false;
|
1033
|
+
|
1034
|
+
while ( elem ) {
|
1035
|
+
if ( elem.sizcache === doneName ) {
|
1036
|
+
match = checkSet[elem.sizset];
|
1037
|
+
break;
|
1038
|
+
}
|
1039
|
+
|
1040
|
+
if ( elem.nodeType === 1 ) {
|
1041
|
+
if ( !isXML ) {
|
1042
|
+
elem.sizcache = doneName;
|
1043
|
+
elem.sizset = i;
|
1044
|
+
}
|
1045
|
+
if ( typeof cur !== "string" ) {
|
1046
|
+
if ( elem === cur ) {
|
1047
|
+
match = true;
|
1048
|
+
break;
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
} else if ( Sizzle.filter( cur, [elem] ).length > 0 ) {
|
1052
|
+
match = elem;
|
1053
|
+
break;
|
1054
|
+
}
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
elem = elem[dir];
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
checkSet[i] = match;
|
1061
|
+
}
|
1062
|
+
}
|
1063
|
+
}
|
1064
|
+
|
1065
|
+
Sizzle.contains = document.compareDocumentPosition ? function(a, b){
|
1066
|
+
return !!(a.compareDocumentPosition(b) & 16);
|
1067
|
+
} : function(a, b){
|
1068
|
+
return a !== b && (a.contains ? a.contains(b) : true);
|
1069
|
+
};
|
1070
|
+
|
1071
|
+
Sizzle.isXML = function(elem){
|
1072
|
+
// documentElement is verified for cases where it doesn't yet exist
|
1073
|
+
// (such as loading iframes in IE - #4833)
|
1074
|
+
var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
|
1075
|
+
return documentElement ? documentElement.nodeName !== "HTML" : false;
|
1076
|
+
};
|
1077
|
+
|
1078
|
+
var posProcess = function(selector, context){
|
1079
|
+
var tmpSet = [], later = "", match,
|
1080
|
+
root = context.nodeType ? [context] : context;
|
1081
|
+
|
1082
|
+
// Position selectors must be done after the filter
|
1083
|
+
// And so must :not(positional) so we move all PSEUDOs to the end
|
1084
|
+
while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
|
1085
|
+
later += match[0];
|
1086
|
+
selector = selector.replace( Expr.match.PSEUDO, "" );
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
selector = Expr.relative[selector] ? selector + "*" : selector;
|
1090
|
+
|
1091
|
+
for ( var i = 0, l = root.length; i < l; i++ ) {
|
1092
|
+
Sizzle( selector, root[i], tmpSet );
|
1093
|
+
}
|
1094
|
+
|
1095
|
+
return Sizzle.filter( later, tmpSet );
|
1096
|
+
};
|
1097
|
+
|
1098
|
+
// EXPOSE
|
1099
|
+
|
1100
|
+
window.Sizzle = Sizzle;
|
1101
|
+
|
1102
|
+
})();
|