├── lib ├── layout │ ├── deploy.bat │ ├── deploy.sh │ ├── tree │ │ ├── samples │ │ │ ├── TreeSample.css │ │ │ ├── package.js │ │ │ ├── assets │ │ │ │ ├── file.png │ │ │ │ ├── folder.png │ │ │ │ └── folder-open.png │ │ │ └── TreeSample.html │ │ ├── package.js │ │ └── source │ │ │ ├── package.js │ │ │ └── Node.css │ ├── imageview │ │ ├── samples │ │ │ ├── ImageViewSample.css │ │ │ ├── assets │ │ │ │ ├── mars.jpg │ │ │ │ ├── pin.png │ │ │ │ ├── earth.jpg │ │ │ │ ├── globe.jpg │ │ │ │ ├── saturn.jpg │ │ │ │ ├── uranus.jpg │ │ │ │ ├── venus.jpg │ │ │ │ ├── favicon.ico │ │ │ │ ├── jupiter.jpg │ │ │ │ ├── mercury.jpg │ │ │ │ └── neptune.jpg │ │ │ ├── package.js │ │ │ ├── ImageCarouselSample.css │ │ │ ├── ImageViewSample.html │ │ │ └── ImageCarouselSample.html │ │ ├── package.js │ │ └── source │ │ │ ├── ImageViewPin.css │ │ │ └── package.js │ ├── list │ │ ├── package.js │ │ ├── samples │ │ │ ├── assets │ │ │ │ ├── bg.png │ │ │ │ ├── pullup.png │ │ │ │ ├── pulldown.png │ │ │ │ ├── spinner.gif │ │ │ │ ├── item-hilite.png │ │ │ │ ├── remove-icon.png │ │ │ │ ├── avatars │ │ │ │ │ ├── angel.png │ │ │ │ │ ├── baby.png │ │ │ │ │ ├── clown.png │ │ │ │ │ ├── devil.png │ │ │ │ │ ├── doctor.png │ │ │ │ │ ├── dude.png │ │ │ │ │ ├── dude2.png │ │ │ │ │ ├── dude3.png │ │ │ │ │ ├── dude4.png │ │ │ │ │ ├── dude5.png │ │ │ │ │ ├── dude6.png │ │ │ │ │ ├── athlete.png │ │ │ │ │ └── astrologer.png │ │ │ │ └── search-input-search.png │ │ │ ├── ListPulldownSample.css │ │ │ ├── FlyweightRepeaterSample.css │ │ │ ├── package.js │ │ │ ├── ListBasicSample.css │ │ │ ├── ListBasicSample.html │ │ │ ├── PersistentSwipeableItemSample.html │ │ │ ├── ListPulldownSample.html │ │ │ ├── ListNoSelectSample.html │ │ │ ├── ListNoSelectSample.js │ │ │ ├── ListAroundSample.html │ │ │ └── ListContactsSample.html │ │ └── source │ │ │ ├── wip-package.js │ │ │ ├── package.js │ │ │ └── AlphaJumper.css │ ├── panels │ │ ├── package.js │ │ ├── source │ │ │ ├── package.js │ │ │ ├── Panels.css │ │ │ └── arrangers │ │ │ │ ├── package.js │ │ │ │ └── Arranger.css │ │ └── samples │ │ │ ├── assets │ │ │ ├── spinner.gif │ │ │ ├── spinner-large.gif │ │ │ └── search-input-search.png │ │ │ ├── package.js │ │ │ ├── PanelsSlidingSample.css │ │ │ ├── PanelsSample.css │ │ │ └── PanelsSample.html │ ├── fittable │ │ ├── package.js │ │ ├── source │ │ │ ├── package.js │ │ │ ├── FittableRows.js │ │ │ └── FittableColumns.js │ │ └── samples │ │ │ ├── package.js │ │ │ ├── FittableAppLayout3.js │ │ │ ├── FittableAppLayout1.js │ │ │ ├── FittableAppLayout4.js │ │ │ ├── FittableTests.html │ │ │ ├── FittableSample.html │ │ │ ├── FittableDescription.html │ │ │ ├── FittableAppLayout1.html │ │ │ ├── FittableAppLayout2.html │ │ │ ├── FittableAppLayout2.js │ │ │ ├── FittableAppLayout3.html │ │ │ └── FittableAppLayout4.html │ ├── slideable │ │ ├── package.js │ │ ├── source │ │ │ └── package.js │ │ └── samples │ │ │ ├── package.js │ │ │ ├── SlideableSample.css │ │ │ └── SlideableSample.html │ ├── package.js │ └── CONTRIBUTING md └── onyx │ ├── css │ ├── package.js │ ├── onyx.less │ ├── Grabber.less │ ├── TabButton.less │ ├── TimePicker.less │ ├── RangeSlider.less │ ├── DatePicker.less │ ├── Spinner.less │ ├── Popup.less │ ├── ButtonColors.less │ ├── Checkbox.less │ ├── Item.less │ ├── Slider.less │ ├── Icon.less │ ├── MoreToolbar.less │ ├── RichText.less │ ├── Scrim.less │ ├── ProgressButton.less │ └── TextArea.less │ ├── package.js │ ├── source │ ├── wip-package.js │ ├── RadioButton.js │ ├── RadioGroup.js │ ├── TextArea.js │ ├── Input.js │ ├── RichText.js │ ├── PickerButton.js │ ├── Grabber.js │ ├── package.js │ └── Checkbox.js │ ├── images │ ├── more.png │ ├── checkbox.png │ ├── gradient.png │ ├── grabbutton.png │ ├── slider-handle.png │ ├── spinner-dark.gif │ ├── spinner-light.gif │ ├── gradient-invert.png │ ├── search-input-cancel.png │ ├── search-input-search.png │ └── progress-button-cancel.png │ ├── samples │ ├── assets │ │ ├── favicon.ico │ │ ├── fish_bowl.png │ │ ├── menu-icon-bookmark.png │ │ └── search-input-search.png │ ├── package.js │ ├── SpinnerSample.js │ ├── DrawerSample.css │ ├── MenuSample.html │ ├── ButtonSample.html │ ├── InputSample.html │ ├── PickerSample.html │ ├── PopupSample.html │ ├── SliderSample.html │ ├── SpinnerSample.html │ ├── TooltipSample.html │ ├── CheckboxSample.html │ ├── DrawerSample.html │ ├── GroupboxSample.html │ ├── ProgressSample.html │ ├── IconButtonSample.html │ ├── MoreToolbarSample.html │ ├── ButtonGroupSample.html │ ├── ToggleButtonSample.html │ ├── ToolbarSample.html │ ├── DatePickerSample.html │ ├── TimePickerSample.html │ └── sample.css │ ├── design │ └── menu-icon-bookmark.png │ ├── deploy.sh │ └── deploy.bat ├── enyo ├── tools │ ├── node_modules │ │ ├── nopt │ │ │ ├── .npmignore │ │ │ └── node_modules │ │ │ │ └── abbrev │ │ │ │ └── README.md │ │ └── shelljs │ │ │ ├── test │ │ │ ├── resources │ │ │ │ ├── file1 │ │ │ │ ├── file2 │ │ │ │ ├── cp │ │ │ │ │ ├── a │ │ │ │ │ ├── b │ │ │ │ │ ├── dir_a │ │ │ │ │ │ └── z │ │ │ │ │ └── dir_b │ │ │ │ │ │ └── dir_b_a │ │ │ │ │ │ └── dir_b_a_a │ │ │ │ │ │ └── z │ │ │ │ ├── find │ │ │ │ │ ├── a │ │ │ │ │ ├── b │ │ │ │ │ ├── .hidden │ │ │ │ │ ├── dir1 │ │ │ │ │ │ ├── a_dir1 │ │ │ │ │ │ └── dir11 │ │ │ │ │ │ │ └── a_dir11 │ │ │ │ │ └── dir2 │ │ │ │ │ │ └── a_dir1 │ │ │ │ ├── external │ │ │ │ │ ├── tmp │ │ │ │ │ │ ├── output │ │ │ │ │ │ └── tempscript.js │ │ │ │ │ └── node_script.js │ │ │ │ ├── file1.js │ │ │ │ ├── file1.txt │ │ │ │ ├── file2.js │ │ │ │ ├── file2.txt │ │ │ │ ├── ls │ │ │ │ │ ├── file1 │ │ │ │ │ ├── file1.js │ │ │ │ │ ├── file2 │ │ │ │ │ ├── file2.js │ │ │ │ │ ├── .hidden_file │ │ │ │ │ ├── a_dir │ │ │ │ │ │ ├── b_dir │ │ │ │ │ │ │ └── z │ │ │ │ │ │ ├── nada │ │ │ │ │ │ └── .hidden_dir │ │ │ │ │ │ │ └── nada │ │ │ │ │ ├── .hidden_dir │ │ │ │ │ │ └── nada │ │ │ │ │ └── filename(with)[chars$]^that.must+be-escaped │ │ │ │ └── a.txt │ │ │ ├── .npmignore │ │ │ ├── env.js │ │ │ ├── silent.js │ │ │ ├── tempdir.js │ │ │ ├── pwd.js │ │ │ ├── which.js │ │ │ └── to.js │ │ │ ├── .documentup.json │ │ │ ├── global.js │ │ │ ├── .travis.yml │ │ │ └── scripts │ │ │ ├── docs.js │ │ │ └── run-tests.js │ ├── test │ │ ├── core │ │ │ ├── tests │ │ │ │ ├── loader1.js │ │ │ │ ├── loader2a.js │ │ │ │ ├── loader2b.js │ │ │ │ ├── package.js │ │ │ │ ├── ComponentHandlersTest.js │ │ │ │ ├── ComponentTest.js │ │ │ │ └── LoaderTest.js │ │ │ ├── index.html │ │ │ └── test.css │ │ └── ajax │ │ │ ├── package.js │ │ │ ├── php │ │ │ ├── redball.jpg │ │ │ ├── test3.php │ │ │ ├── test4.php │ │ │ ├── test1.php │ │ │ └── test5.php │ │ │ ├── tests │ │ │ ├── package.js │ │ │ └── XhrTest.js │ │ │ └── index.html │ ├── minifier │ │ └── node_modules │ │ │ ├── uglify-js │ │ │ ├── test │ │ │ │ └── unit │ │ │ │ │ └── compress │ │ │ │ │ ├── test │ │ │ │ │ ├── issue20.js │ │ │ │ │ ├── issue53.js │ │ │ │ │ ├── issue69.js │ │ │ │ │ ├── issue16.js │ │ │ │ │ ├── issue27.js │ │ │ │ │ ├── with.js │ │ │ │ │ ├── issue278.js │ │ │ │ │ ├── issue48.js │ │ │ │ │ ├── null_string.js │ │ │ │ │ ├── issue29.js │ │ │ │ │ ├── issue11.js │ │ │ │ │ ├── issue28.js │ │ │ │ │ ├── issue34.js │ │ │ │ │ ├── issue4.js │ │ │ │ │ ├── issue30.js │ │ │ │ │ ├── array1.js │ │ │ │ │ ├── issue17.js │ │ │ │ │ ├── issue54.1.js │ │ │ │ │ ├── issue9.js │ │ │ │ │ ├── issue10.js │ │ │ │ │ ├── strict-equals.js │ │ │ │ │ ├── if.js │ │ │ │ │ ├── issue21.js │ │ │ │ │ ├── var.js │ │ │ │ │ ├── array3.js │ │ │ │ │ ├── issue14.js │ │ │ │ │ ├── issue68.js │ │ │ │ │ ├── array2.js │ │ │ │ │ ├── mangle.js │ │ │ │ │ ├── concatstring.js │ │ │ │ │ ├── empty-blocks.js │ │ │ │ │ ├── ifreturn.js │ │ │ │ │ ├── issue25.js │ │ │ │ │ ├── issue13.js │ │ │ │ │ ├── array4.js │ │ │ │ │ ├── const.js │ │ │ │ │ ├── forstatement.js │ │ │ │ │ ├── assignment.js │ │ │ │ │ ├── issue50.js │ │ │ │ │ ├── ifreturn2.js │ │ │ │ │ └── whitespace.js │ │ │ │ │ └── expected │ │ │ │ │ ├── issue20.js │ │ │ │ │ ├── var.js │ │ │ │ │ ├── const.js │ │ │ │ │ ├── issue27.js │ │ │ │ │ ├── issue53.js │ │ │ │ │ ├── issue69.js │ │ │ │ │ ├── with.js │ │ │ │ │ ├── if.js │ │ │ │ │ ├── issue16.js │ │ │ │ │ ├── issue30.js │ │ │ │ │ ├── issue48.js │ │ │ │ │ ├── issue9.js │ │ │ │ │ ├── issue278.js │ │ │ │ │ ├── issue4.js │ │ │ │ │ ├── array1.js │ │ │ │ │ ├── issue17.js │ │ │ │ │ ├── null_string.js │ │ │ │ │ ├── ifreturn.js │ │ │ │ │ ├── issue11.js │ │ │ │ │ ├── issue21.js │ │ │ │ │ ├── issue25.js │ │ │ │ │ ├── issue28.js │ │ │ │ │ ├── issue29.js │ │ │ │ │ ├── issue34.js │ │ │ │ │ ├── whitespace.js │ │ │ │ │ ├── issue10.js │ │ │ │ │ ├── issue54.1.js │ │ │ │ │ ├── strict-equals.js │ │ │ │ │ ├── issue68.js │ │ │ │ │ ├── array3.js │ │ │ │ │ ├── mangle.js │ │ │ │ │ ├── array2.js │ │ │ │ │ ├── concatstring.js │ │ │ │ │ ├── array4.js │ │ │ │ │ ├── issue14.js │ │ │ │ │ ├── empty-blocks.js │ │ │ │ │ ├── issue50.js │ │ │ │ │ ├── assignment.js │ │ │ │ │ ├── ifreturn2.js │ │ │ │ │ ├── forstatement.js │ │ │ │ │ └── issue13.js │ │ │ ├── .npmignore │ │ │ ├── uglify-js.js │ │ │ └── tmp │ │ │ │ └── hoist.js │ │ │ └── less │ │ │ ├── test │ │ │ ├── less │ │ │ │ ├── errors │ │ │ │ │ ├── parse-error-curly-bracket.less │ │ │ │ │ ├── import-missing.less │ │ │ │ │ ├── comment-in-selector.less │ │ │ │ │ ├── import-no-semi.less │ │ │ │ │ ├── import-subfolder1.less │ │ │ │ │ ├── import-subfolder2.less │ │ │ │ │ ├── imports │ │ │ │ │ │ ├── import-subfolder1.less │ │ │ │ │ │ ├── import-subfolder2.less │ │ │ │ │ │ └── subfolder │ │ │ │ │ │ │ ├── mixin-not-defined.less │ │ │ │ │ │ │ └── parse-error-curly-bracket.less │ │ │ │ │ ├── javascript-error.less │ │ │ │ │ ├── parse-error-missing-bracket.less │ │ │ │ │ ├── property-ie5-hack.less │ │ │ │ │ ├── import-subfolder2.txt │ │ │ │ │ ├── parse-error-curly-bracket.txt │ │ │ │ │ ├── import-no-semi.txt │ │ │ │ │ ├── mixin-not-defined.txt │ │ │ │ │ ├── comment-in-selector.txt │ │ │ │ │ ├── import-subfolder1.txt │ │ │ │ │ ├── parse-error-missing-bracket.txt │ │ │ │ │ ├── import-missing.txt │ │ │ │ │ ├── property-ie5-hack.txt │ │ │ │ │ ├── mixin-not-defined.less │ │ │ │ │ └── javascript-error.txt │ │ │ │ ├── import │ │ │ │ │ ├── import-test-d.css │ │ │ │ │ ├── import-test-e.less │ │ │ │ │ ├── deeper │ │ │ │ │ │ └── import-once-test-a.less │ │ │ │ │ ├── import-test-a.less │ │ │ │ │ ├── import-test-c.less │ │ │ │ │ ├── import-once-test-c.less │ │ │ │ │ └── import-test-b.less │ │ │ │ ├── lazy-eval.less │ │ │ │ ├── import-once.less │ │ │ │ ├── debug │ │ │ │ │ ├── linenumbers.less │ │ │ │ │ └── import │ │ │ │ │ │ └── test.less │ │ │ │ ├── mixins-important.less │ │ │ │ ├── mixins-nested.less │ │ │ │ ├── import.less │ │ │ │ ├── mixins-closure.less │ │ │ │ ├── ie-filters.less │ │ │ │ ├── mixins-named-args.less │ │ │ │ ├── scope.less │ │ │ │ ├── css-escapes.less │ │ │ │ ├── parens.less │ │ │ │ ├── rulesets.less │ │ │ │ ├── javascript.less │ │ │ │ └── whitespace.less │ │ │ └── css │ │ │ │ ├── lazy-eval.css │ │ │ │ ├── import-once.css │ │ │ │ ├── mixins-closure.css │ │ │ │ ├── mixins-nested.css │ │ │ │ ├── scope.css │ │ │ │ ├── mixins-named-args.css │ │ │ │ ├── mixins-important.css │ │ │ │ ├── javascript.css │ │ │ │ ├── parens.css │ │ │ │ ├── ie-filters.css │ │ │ │ ├── import.css │ │ │ │ ├── css-escapes.css │ │ │ │ ├── variables.css │ │ │ │ ├── debug │ │ │ │ └── linenumbers-comments.css │ │ │ │ ├── mixins-pattern.css │ │ │ │ └── whitespace.css │ │ │ ├── build │ │ │ ├── require-rhino.js │ │ │ ├── require.js │ │ │ ├── amd.js │ │ │ └── header.js │ │ │ ├── lib │ │ │ └── less │ │ │ │ └── tree │ │ │ │ ├── ratio.js │ │ │ │ ├── comment.js │ │ │ │ ├── paren.js │ │ │ │ ├── alpha.js │ │ │ │ ├── assignment.js │ │ │ │ ├── keyword.js │ │ │ │ ├── anonymous.js │ │ │ │ ├── value.js │ │ │ │ ├── expression.js │ │ │ │ └── variable.js │ │ │ └── package.json │ ├── lessc.bat │ ├── minify.bat │ ├── lessc.sh │ └── minify.sh ├── minify │ ├── package.js │ ├── minify.sh │ └── minify.bat ├── source │ ├── boot │ │ └── package.js │ ├── package.js │ ├── ajax │ │ ├── package.js │ │ └── json.js │ ├── kernel │ │ └── package.js │ ├── ui │ │ ├── ToolDecorator.js │ │ ├── package.js │ │ ├── ui.css │ │ ├── TextArea.js │ │ ├── BaseLayout.js │ │ └── Image.js │ ├── dom │ │ ├── package.js │ │ └── transition.js │ └── touch │ │ ├── Scroller.css │ │ ├── package.js │ │ └── Thumb.css ├── samples │ ├── RepeaterSample.css │ ├── ScrollerSample.css │ ├── AjaxSample.css │ ├── JsonpSample.css │ ├── PlatformSample.css │ ├── WebServiceSample.css │ ├── assets │ │ ├── Sample1.js │ │ ├── Sample2.js │ │ └── Sample4.js │ ├── package.js │ ├── Playground.css │ ├── AjaxSample.html │ ├── JsonpSample.html │ ├── GestureSample.html │ ├── PlatformSample.html │ ├── RepeaterSample.html │ ├── ScrollerSample.html │ ├── WebServiceSample.html │ └── Playground.html ├── CONTRIBUTING md └── package.json ├── icon.png ├── images ├── wpcom.png ├── favicon.png ├── icon128.png ├── icon30.png ├── icon48.png ├── icon60.png ├── icon64.png ├── wplogo.png ├── toolbar │ ├── wp.png │ ├── back.png │ ├── new.png │ ├── save.png │ ├── drawer.png │ ├── preview.png │ ├── publish.png │ └── refresh.png └── compose │ ├── icon_ol.png │ ├── icon_ul.png │ ├── icon_left.png │ ├── icon_link.png │ ├── icon_more.png │ ├── icon_right.png │ ├── icon_bquote.png │ ├── icon_camera.png │ └── icon_center.png ├── package.js ├── source ├── package.js ├── menu.js └── postpreview.js ├── index.html └── manifest.webapp /lib/layout/deploy.bat: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/layout/deploy.sh: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/layout/tree/samples/TreeSample.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/nopt/.npmignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/layout/imageview/samples/ImageViewSample.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/file1: -------------------------------------------------------------------------------- 1 | test1 -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/file2: -------------------------------------------------------------------------------- 1 | test2 -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/.npmignore: -------------------------------------------------------------------------------- 1 | tmp/ 2 | 3 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/cp/a: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/cp/b: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/find/a: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/find/b: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /lib/layout/list/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "source/" 3 | ); -------------------------------------------------------------------------------- /lib/layout/panels/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "source/" 3 | ); -------------------------------------------------------------------------------- /lib/layout/tree/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "source" 3 | ); -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/cp/dir_a/z: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/external/tmp/output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/file1.js: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/file1.txt: -------------------------------------------------------------------------------- 1 | test1 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/file2.js: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/file2.txt: -------------------------------------------------------------------------------- 1 | test2 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/find/.hidden: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/ls/file1: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/ls/file1.js: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/ls/file2: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/ls/file2.js: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /enyo/tools/test/core/tests/loader1.js: -------------------------------------------------------------------------------- 1 | window.LOADER_TEST = "loader1"; -------------------------------------------------------------------------------- /lib/layout/fittable/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "source" 3 | ); -------------------------------------------------------------------------------- /lib/onyx/css/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "onyx.less" 3 | ); 4 | -------------------------------------------------------------------------------- /lib/onyx/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "source", 3 | "css" 4 | ); -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/find/dir1/a_dir1: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/find/dir2/a_dir1: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/ls/.hidden_file: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/ls/a_dir/b_dir/z: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/ls/a_dir/nada: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/test/core/tests/loader2a.js: -------------------------------------------------------------------------------- 1 | window.LOADER_TEST = "loader2a"; -------------------------------------------------------------------------------- /enyo/tools/test/core/tests/loader2b.js: -------------------------------------------------------------------------------- 1 | window.LOADER_TEST = "loader2b"; -------------------------------------------------------------------------------- /lib/layout/imageview/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "source/" 3 | ); 4 | -------------------------------------------------------------------------------- /lib/layout/slideable/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "source" 3 | ); 4 | -------------------------------------------------------------------------------- /lib/onyx/source/wip-package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "TabPanels.js" 3 | ); -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/ls/.hidden_dir/nada: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/ls/a_dir/.hidden_dir/nada: -------------------------------------------------------------------------------- 1 | nada -------------------------------------------------------------------------------- /lib/layout/tree/samples/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "TreeSample.js" 3 | ); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue20.js: -------------------------------------------------------------------------------- 1 | {a: 1} -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/find/dir1/dir11/a_dir11: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/test/ajax/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "$lib/extra/test" 3 | ); 4 | -------------------------------------------------------------------------------- /lib/layout/slideable/source/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "Slideable.js" 3 | ); 4 | -------------------------------------------------------------------------------- /enyo/minify/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "../source/boot", 3 | "../source" 4 | ); 5 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/parse-error-curly-bracket.less: -------------------------------------------------------------------------------- 1 | }} -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue20.js: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/var.js: -------------------------------------------------------------------------------- 1 | var a=1,b=2 -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/cp/dir_b/dir_b_a/dir_b_a_a/z: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /lib/layout/tree/source/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "Node.css", 3 | "Node.js" 4 | ); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/const.js: -------------------------------------------------------------------------------- 1 | var a=13,b=1/3 -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue27.js: -------------------------------------------------------------------------------- 1 | (a?b:c)?d:e -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue53.js: -------------------------------------------------------------------------------- 1 | x=(y,z) 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue69.js: -------------------------------------------------------------------------------- 1 | [(a,b)] 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/with.js: -------------------------------------------------------------------------------- 1 | with({}); 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue53.js: -------------------------------------------------------------------------------- 1 | x = (y, z) 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue69.js: -------------------------------------------------------------------------------- 1 | [(a,b)] 2 | -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/icon.png -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/if.js: -------------------------------------------------------------------------------- 1 | var a=1;a==1?a=2:a=17 -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue16.js: -------------------------------------------------------------------------------- 1 | var a=3250441966 -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue30.js: -------------------------------------------------------------------------------- 1 | var a=8,b=4,c=4 -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue48.js: -------------------------------------------------------------------------------- 1 | var s,i;s="",i=0 -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue9.js: -------------------------------------------------------------------------------- 1 | var a={a:1,b:2} -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue16.js: -------------------------------------------------------------------------------- 1 | var a = 0xC1BDCEEE; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue27.js: -------------------------------------------------------------------------------- 1 | (a ? b : c) ? d : e -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/with.js: -------------------------------------------------------------------------------- 1 | with({}) { 2 | }; 3 | -------------------------------------------------------------------------------- /enyo/source/boot/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "enyo.js", 3 | "../../loader.js", 4 | "boot.js" 5 | ); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/lazy-eval.css: -------------------------------------------------------------------------------- 1 | .lazy-eval { 2 | width: 100%; 3 | } 4 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/import/import-test-d.css: -------------------------------------------------------------------------------- 1 | #css { color: yellow; } 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/import/import-test-e.less: -------------------------------------------------------------------------------- 1 | 2 | body { width: 100% } 3 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue278.js: -------------------------------------------------------------------------------- 1 | if(!x)debugger 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue4.js: -------------------------------------------------------------------------------- 1 | var a=2e3,b=.002,c=2e-5 -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue278.js: -------------------------------------------------------------------------------- 1 | if (!x) debugger; 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue48.js: -------------------------------------------------------------------------------- 1 | var s, i; s = ''; i = 0; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/null_string.js: -------------------------------------------------------------------------------- 1 | var nullString = "\0" -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/ls/filename(with)[chars$]^that.must+be-escaped: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/array1.js: -------------------------------------------------------------------------------- 1 | [],Array(1),[1,2,3] 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue17.js: -------------------------------------------------------------------------------- 1 | var a=function(b){b(),a()} -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/null_string.js: -------------------------------------------------------------------------------- 1 | var nullString="\0" -------------------------------------------------------------------------------- /images/wpcom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/wpcom.png -------------------------------------------------------------------------------- /enyo/source/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "kernel", 3 | "ajax", 4 | "dom", 5 | "touch", 6 | "ui" 7 | ); 8 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/import-missing.less: -------------------------------------------------------------------------------- 1 | @import "file-does-not-exist.less"; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/ifreturn.js: -------------------------------------------------------------------------------- 1 | function a(a){return a==1?2:17} -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue11.js: -------------------------------------------------------------------------------- 1 | new(A,B),new(A||B),new(X?A:B) -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue21.js: -------------------------------------------------------------------------------- 1 | var a=0;switch(a){case 0:a++} -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue25.js: -------------------------------------------------------------------------------- 1 | a:break a;console.log(1) 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue28.js: -------------------------------------------------------------------------------- 1 | o={".5":.5},o={.5:.5},o={.5:.5} -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue29.js: -------------------------------------------------------------------------------- 1 | result=function(){return 1}() -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue34.js: -------------------------------------------------------------------------------- 1 | var a={};a["this"]=1,a.that=2 -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/whitespace.js: -------------------------------------------------------------------------------- 1 | function id(a){return a} 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue29.js: -------------------------------------------------------------------------------- 1 | result=(function(){ return 1;})() -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/external/node_script.js: -------------------------------------------------------------------------------- 1 | console.log('node_script_1234'); 2 | 3 | -------------------------------------------------------------------------------- /images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/favicon.png -------------------------------------------------------------------------------- /images/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/icon128.png -------------------------------------------------------------------------------- /images/icon30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/icon30.png -------------------------------------------------------------------------------- /images/icon48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/icon48.png -------------------------------------------------------------------------------- /images/icon60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/icon60.png -------------------------------------------------------------------------------- /images/icon64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/icon64.png -------------------------------------------------------------------------------- /images/wplogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/wplogo.png -------------------------------------------------------------------------------- /lib/layout/panels/source/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "arrangers", 3 | "Panels.css", 4 | "Panels.js" 5 | ); -------------------------------------------------------------------------------- /lib/layout/slideable/samples/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "SlideableSample.css", 3 | "SlideableSample.js" 4 | ); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/comment-in-selector.less: -------------------------------------------------------------------------------- 1 | #gaga /* Comment */ span { color: red } -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/import-no-semi.less: -------------------------------------------------------------------------------- 1 | @import "this-statement-is-invalid.less" -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/import-subfolder1.less: -------------------------------------------------------------------------------- 1 | @import "imports/import-subfolder1.less"; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/import-subfolder2.less: -------------------------------------------------------------------------------- 1 | @import "imports/import-subfolder2.less"; -------------------------------------------------------------------------------- /images/toolbar/wp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/toolbar/wp.png -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/import/deeper/import-once-test-a.less: -------------------------------------------------------------------------------- 1 | @import-once "../import-test-d.css"; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/import/import-test-a.less: -------------------------------------------------------------------------------- 1 | @import "import-test-b.less"; 2 | @a: 20%; 3 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue10.js: -------------------------------------------------------------------------------- 1 | function f(){var a;return(a="a")?a:a}f() -------------------------------------------------------------------------------- /images/toolbar/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/toolbar/back.png -------------------------------------------------------------------------------- /images/toolbar/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/toolbar/new.png -------------------------------------------------------------------------------- /images/toolbar/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/toolbar/save.png -------------------------------------------------------------------------------- /lib/layout/imageview/source/ImageViewPin.css: -------------------------------------------------------------------------------- 1 | 2 | .pinDebug { 3 | background:yellow; 4 | border:1px solid yellow; 5 | } -------------------------------------------------------------------------------- /lib/onyx/images/more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/images/more.png -------------------------------------------------------------------------------- /enyo/minify/minify.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd $(dirname $0) 3 | ../tools/minify.sh package.js -no-alias -output ../../build/enyo 4 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/imports/import-subfolder1.less: -------------------------------------------------------------------------------- 1 | @import "subfolder/mixin-not-defined.less"; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/javascript-error.less: -------------------------------------------------------------------------------- 1 | .scope { 2 | var: `this.foo.toJS()`; 3 | } 4 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/parse-error-missing-bracket.less: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #fff; 3 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue54.1.js: -------------------------------------------------------------------------------- 1 | foo+"",a.toString(16),b.toString.call(c) 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/strict-equals.js: -------------------------------------------------------------------------------- 1 | typeof a=="string",b+""!=c+"",d> 1; 3 | var c = 8 >>> 1; -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/.documentup.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ShellJS", 3 | "twitter": [ 4 | "arturadib" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /images/compose/icon_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/compose/icon_left.png -------------------------------------------------------------------------------- /images/compose/icon_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/compose/icon_link.png -------------------------------------------------------------------------------- /images/compose/icon_more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/compose/icon_more.png -------------------------------------------------------------------------------- /images/compose/icon_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/compose/icon_right.png -------------------------------------------------------------------------------- /lib/onyx/images/checkbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/images/checkbox.png -------------------------------------------------------------------------------- /lib/onyx/images/gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/images/gradient.png -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/imports/import-subfolder2.less: -------------------------------------------------------------------------------- 1 | @import "subfolder/parse-error-curly-bracket.less"; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/imports/subfolder/mixin-not-defined.less: -------------------------------------------------------------------------------- 1 | @import "../../mixin-not-defined.less"; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/lazy-eval.less: -------------------------------------------------------------------------------- 1 | @var: @a; 2 | @a: 100%; 3 | 4 | .lazy-eval { 5 | width: @var; 6 | } 7 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/array3.js: -------------------------------------------------------------------------------- 1 | (function(){function a(){}return new a(1,2,3,4)})() 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/mangle.js: -------------------------------------------------------------------------------- 1 | (function(){var a=function b(a,b,c){return b}})() 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/array1.js: -------------------------------------------------------------------------------- 1 | new Array(); 2 | new Array(1); 3 | new Array(1, 2, 3); 4 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue17.js: -------------------------------------------------------------------------------- 1 | var a = function(b) { 2 | b(); 3 | a() 4 | } 5 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/global.js: -------------------------------------------------------------------------------- 1 | var shell = require('./shell.js'); 2 | for (cmd in shell) 3 | global[cmd] = shell[cmd]; 4 | -------------------------------------------------------------------------------- /images/compose/icon_bquote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/compose/icon_bquote.png -------------------------------------------------------------------------------- /images/compose/icon_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/compose/icon_camera.png -------------------------------------------------------------------------------- /images/compose/icon_center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/images/compose/icon_center.png -------------------------------------------------------------------------------- /lib/onyx/images/grabbutton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/images/grabbutton.png -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .tmp*~ 3 | *.local.* 4 | .pinf-* 5 | node_modules/ 6 | npm-debug.log 7 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/array2.js: -------------------------------------------------------------------------------- 1 | (function(){var a=function(){};return new a(1,2,3,4)})() 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue54.1.js: -------------------------------------------------------------------------------- 1 | foo.toString(); 2 | a.toString(16); 3 | b.toString.call(c); 4 | -------------------------------------------------------------------------------- /lib/layout/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "fittable", 3 | "list", 4 | "slideable", 5 | "panels", 6 | "tree", 7 | "imageview" 8 | ); 9 | -------------------------------------------------------------------------------- /lib/onyx/images/slider-handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/images/slider-handle.png -------------------------------------------------------------------------------- /lib/onyx/images/spinner-dark.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/images/spinner-dark.gif -------------------------------------------------------------------------------- /lib/onyx/images/spinner-light.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/images/spinner-light.gif -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/concatstring.js: -------------------------------------------------------------------------------- 1 | var a=a+"a"+"b"+1+c,b=a+"c"+"ds"+123+c,c=a+"c"+123+d+"ds"+c -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue9.js: -------------------------------------------------------------------------------- 1 | var a = { 2 | a: 1, 3 | b: 2, // <-- trailing comma 4 | }; 5 | -------------------------------------------------------------------------------- /enyo/tools/test/ajax/php/redball.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/enyo/tools/test/ajax/php/redball.jpg -------------------------------------------------------------------------------- /enyo/tools/test/ajax/tests/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "XhrTest.js", 3 | "AjaxTest.js", 4 | "JsonpTest.js", 5 | "WebServiceTest.js" 6 | ); 7 | -------------------------------------------------------------------------------- /lib/onyx/images/gradient-invert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/images/gradient-invert.png -------------------------------------------------------------------------------- /lib/onyx/samples/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/samples/assets/favicon.ico -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/imports/subfolder/parse-error-curly-bracket.less: -------------------------------------------------------------------------------- 1 | @import "../../parse-error-curly-bracket.less"; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/array4.js: -------------------------------------------------------------------------------- 1 | (function(){function a(){}(function(){return new a(1,2,3)})()})() 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue10.js: -------------------------------------------------------------------------------- 1 | function f() { var a; if (a = 'a') { return a; } else { return a; } }; f(); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/strict-equals.js: -------------------------------------------------------------------------------- 1 | typeof a === 'string' 2 | b + "" !== c + "" 3 | d < e === f < g 4 | -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/bg.png -------------------------------------------------------------------------------- /lib/layout/tree/samples/assets/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/tree/samples/assets/file.png -------------------------------------------------------------------------------- /lib/onyx/design/menu-icon-bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/design/menu-icon-bookmark.png -------------------------------------------------------------------------------- /lib/onyx/images/search-input-cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/images/search-input-cancel.png -------------------------------------------------------------------------------- /lib/onyx/images/search-input-search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/images/search-input-search.png -------------------------------------------------------------------------------- /lib/onyx/samples/assets/fish_bowl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/samples/assets/fish_bowl.png -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/if.js: -------------------------------------------------------------------------------- 1 | var a = 1; 2 | if (a == 1) { 3 | a = 2; 4 | } else { 5 | a = 17; 6 | } 7 | -------------------------------------------------------------------------------- /lib/layout/imageview/source/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "ImageViewPin.js", 3 | "ImageViewPin.css", 4 | "ImageView.js", 5 | "ImageCarousel.js" 6 | ); 7 | -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/pullup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/pullup.png -------------------------------------------------------------------------------- /lib/layout/list/source/wip-package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | // Add wip controls here 3 | "AlphaJumper.css", 4 | "AlphaJumper.js", 5 | "AlphaJumpList.js" 6 | ); -------------------------------------------------------------------------------- /lib/layout/tree/samples/assets/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/tree/samples/assets/folder.png -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue21.js: -------------------------------------------------------------------------------- 1 | var a = 0; 2 | switch(a) { 3 | case 0: 4 | a++; 5 | break; 6 | } -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/var.js: -------------------------------------------------------------------------------- 1 | // var declarations after each other should be combined 2 | var a = 1; 3 | var b = 2; -------------------------------------------------------------------------------- /lib/layout/fittable/source/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "FittableLayout.css", 3 | "FittableLayout.js", 4 | "FittableRows.js", 5 | "FittableColumns.js" 6 | ); -------------------------------------------------------------------------------- /lib/layout/imageview/samples/assets/mars.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/imageview/samples/assets/mars.jpg -------------------------------------------------------------------------------- /lib/layout/imageview/samples/assets/pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/imageview/samples/assets/pin.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/pulldown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/pulldown.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/spinner.gif -------------------------------------------------------------------------------- /lib/layout/panels/samples/assets/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/panels/samples/assets/spinner.gif -------------------------------------------------------------------------------- /lib/onyx/images/progress-button-cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/images/progress-button-cancel.png -------------------------------------------------------------------------------- /package.js: -------------------------------------------------------------------------------- 1 | /* 2 | == DO NOT EDIT THIS FILE! == 3 | This is necessary to keep paths correct for the minification process 4 | */ 5 | enyo.depends("source"); 6 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/import/import-test-c.less: -------------------------------------------------------------------------------- 1 | 2 | @import "import-test-d.css"; 3 | @c: red; 4 | 5 | #import { 6 | color: @c; 7 | } 8 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | - 0.7 # development version of 0.8, may be unstable 6 | 7 | -------------------------------------------------------------------------------- /lib/layout/imageview/samples/assets/earth.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/imageview/samples/assets/earth.jpg -------------------------------------------------------------------------------- /lib/layout/imageview/samples/assets/globe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/imageview/samples/assets/globe.jpg -------------------------------------------------------------------------------- /lib/layout/imageview/samples/assets/saturn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/imageview/samples/assets/saturn.jpg -------------------------------------------------------------------------------- /lib/layout/imageview/samples/assets/uranus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/imageview/samples/assets/uranus.jpg -------------------------------------------------------------------------------- /lib/layout/imageview/samples/assets/venus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/imageview/samples/assets/venus.jpg -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/item-hilite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/item-hilite.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/remove-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/remove-icon.png -------------------------------------------------------------------------------- /lib/layout/tree/samples/assets/folder-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/tree/samples/assets/folder-open.png -------------------------------------------------------------------------------- /lib/onyx/samples/assets/menu-icon-bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/samples/assets/menu-icon-bookmark.png -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/import-subfolder2.txt: -------------------------------------------------------------------------------- 1 | ParseError: Syntax Error on line 1 in {pathrel}parse-error-curly-bracket.less:1:0 2 | 1 }} 3 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue14.js: -------------------------------------------------------------------------------- 1 | var a={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"} 2 | -------------------------------------------------------------------------------- /lib/layout/imageview/samples/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/imageview/samples/assets/favicon.ico -------------------------------------------------------------------------------- /lib/layout/imageview/samples/assets/jupiter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/imageview/samples/assets/jupiter.jpg -------------------------------------------------------------------------------- /lib/layout/imageview/samples/assets/mercury.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/imageview/samples/assets/mercury.jpg -------------------------------------------------------------------------------- /lib/layout/imageview/samples/assets/neptune.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/imageview/samples/assets/neptune.jpg -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/angel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/angel.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/baby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/baby.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/clown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/clown.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/devil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/devil.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/doctor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/doctor.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/dude.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/dude.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/dude2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/dude2.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/dude3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/dude3.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/dude4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/dude4.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/dude5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/dude5.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/dude6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/dude6.png -------------------------------------------------------------------------------- /lib/onyx/samples/assets/search-input-search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/onyx/samples/assets/search-input-search.png -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/import-once.css: -------------------------------------------------------------------------------- 1 | @import "import-test-d.css"; 2 | 3 | @import "../import-test-d.css"; 4 | #import { 5 | color: #ff0000; 6 | } 7 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/parse-error-curly-bracket.txt: -------------------------------------------------------------------------------- 1 | ParseError: Syntax Error on line 1 in {path}parse-error-curly-bracket.less:1:0 2 | 1 }} 3 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/import/import-once-test-c.less: -------------------------------------------------------------------------------- 1 | 2 | @import-once "import-test-d.css"; 3 | @c: red; 4 | 5 | #import { 6 | color: @c; 7 | } 8 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/empty-blocks.js: -------------------------------------------------------------------------------- 1 | function bar(){return--x}function foo(){while(bar());}function mak(){for(;;);}var x=5 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/array3.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | return new Array(1, 2, 3, 4); 3 | function Array() {}; 4 | })(); 5 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue14.js: -------------------------------------------------------------------------------- 1 | var a = {'\b': '\\b', '\t': '\\t', '\n': '\\n', '\f': '\\f', '\r': '\\r', '"' : '\\"', '\\': '\\\\'}; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue68.js: -------------------------------------------------------------------------------- 1 | function f() { 2 | if (a) return; 3 | g(); 4 | function g(){} 5 | }; 6 | -------------------------------------------------------------------------------- /lib/layout/imageview/samples/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "ImageViewSample.js", 3 | "ImageViewSample.css", 4 | "ImageCarouselSample.js", 5 | "ImageCarouselSample.css" 6 | ); -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/athlete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/athlete.png -------------------------------------------------------------------------------- /lib/layout/panels/samples/assets/spinner-large.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/panels/samples/assets/spinner-large.gif -------------------------------------------------------------------------------- /lib/onyx/css/onyx.less: -------------------------------------------------------------------------------- 1 | /* Onyx default parameters defined here */ 2 | @import "onyx-variables.less"; 3 | 4 | /* Onyx rules defined here */ 5 | @import "onyx-rules.less"; 6 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/import/import-test-b.less: -------------------------------------------------------------------------------- 1 | @import "import-test-c"; 2 | 3 | @b: 100%; 4 | 5 | .mixin { 6 | height: 10px; 7 | color: @c; 8 | } 9 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue50.js: -------------------------------------------------------------------------------- 1 | function bar(a){try{foo()}catch(b){alert("Exception caught (foo not defined)")}alert(a)}bar(10) 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/array2.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | var Array = function(){}; 3 | return new Array(1, 2, 3, 4); 4 | })(); 5 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/mangle.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var x = function fun(a, fun, b) { 3 | return fun; 4 | }; 5 | }()); 6 | -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/avatars/astrologer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/avatars/astrologer.png -------------------------------------------------------------------------------- /lib/layout/list/samples/assets/search-input-search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/list/samples/assets/search-input-search.png -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/assignment.js: -------------------------------------------------------------------------------- 1 | a=1,b=a,c=1,d=b,e=d,longname=2;if(longname+1){x=3;if(x)var z=7}z=1,y=1,x=1,g+=1,h=g,++i,j=i,i++,j=i+17 -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/external/tmp/tempscript.js: -------------------------------------------------------------------------------- 1 | throw __dirname; require('../../global.js'); silent(false); exec('node -e "console.log(1234);"', {silent:false}) -------------------------------------------------------------------------------- /lib/layout/list/source/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "FlyweightRepeater.js", 3 | "List.css", 4 | "List.js", 5 | "PulldownList.css", 6 | "PulldownList.js", 7 | "AroundList.js" 8 | ); -------------------------------------------------------------------------------- /lib/layout/panels/samples/assets/search-input-search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wordpress-mobile/wordpress-firefoxos/develop/lib/layout/panels/samples/assets/search-input-search.png -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/build/require-rhino.js: -------------------------------------------------------------------------------- 1 | // 2 | // Stub out `require` in rhino 3 | // 4 | function require(arg) { 5 | return less[arg.split('/')[1]]; 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/import-no-semi.txt: -------------------------------------------------------------------------------- 1 | ParseError: Syntax Error on line 1 in {path}import-no-semi.less:1:0 2 | 1 @import "this-statement-is-invalid.less" 3 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/ifreturn2.js: -------------------------------------------------------------------------------- 1 | function x(a){return typeof a=="object"?a:a===42?0:a*2}function y(a){return typeof a=="object"?a:null} 2 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/concatstring.js: -------------------------------------------------------------------------------- 1 | var a = a + "a" + "b" + 1 + c; 2 | var b = a + "c" + "ds" + 123 + c; 3 | var c = a + "c" + 123 + d + "ds" + c; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/build/require.js: -------------------------------------------------------------------------------- 1 | // 2 | // Stub out `require` in the browser 3 | // 4 | function require(arg) { 5 | return window.less[arg.split('/')[1]]; 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/mixin-not-defined.txt: -------------------------------------------------------------------------------- 1 | NameError: .mixin-not-defined is undefined in {path}mixin-not-defined.less:11:0 2 | 10 3 | 11 .mixin-not-defined(); 4 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/forstatement.js: -------------------------------------------------------------------------------- 1 | a=func(),b=z;for(a++;i<10;i++)alert(i);var z=1;g=2;for(;i<10;i++)alert(i);var a=2;for(var i=1;i<10;i++)alert(i) -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/mixins-closure.css: -------------------------------------------------------------------------------- 1 | .class { 2 | width: 99px; 3 | } 4 | .overwrite { 5 | width: 99px; 6 | } 7 | .nested .class { 8 | width: 5px; 9 | } 10 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/comment-in-selector.txt: -------------------------------------------------------------------------------- 1 | ParseError: Syntax Error on line 1 in {path}comment-in-selector.less:1:20 2 | 1 #gaga /* Comment */ span { color: red } 3 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/import-subfolder1.txt: -------------------------------------------------------------------------------- 1 | NameError: .mixin-not-defined is undefined in {pathrel}mixin-not-defined.less:11:0 2 | 10 3 | 11 .mixin-not-defined(); 4 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/parse-error-missing-bracket.txt: -------------------------------------------------------------------------------- 1 | ParseError: missing closing `}` in {path}parse-error-missing-bracket.less:3:1 2 | 2 background-color: #fff; 3 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/empty-blocks.js: -------------------------------------------------------------------------------- 1 | var x = 5; 2 | function bar() { return --x; } 3 | function foo() { while (bar()); } 4 | function mak() { for(;;); } 5 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/ifreturn.js: -------------------------------------------------------------------------------- 1 | function a(b) { 2 | if (b == 1) { 3 | return 2; 4 | } else { 5 | return 17; 6 | } 7 | 8 | return 3; 9 | } -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue25.js: -------------------------------------------------------------------------------- 1 | label1 : { 2 | label2 : { 3 | break label2; 4 | console.log(2); 5 | } 6 | console.log(1); 7 | } -------------------------------------------------------------------------------- /lib/layout/imageview/samples/ImageCarouselSample.css: -------------------------------------------------------------------------------- 1 | .imagecarousel-sample-input { 2 | margin:0px 6px; 3 | } 4 | 5 | .imagecarousel-sample-input input { 6 | text-align:center; 7 | width:30px; 8 | } -------------------------------------------------------------------------------- /enyo/samples/RepeaterSample.css: -------------------------------------------------------------------------------- 1 | .repeater-sample { 2 | padding:15px; 3 | } 4 | .repeater-sample-item { 5 | padding:4px; 6 | margin:2px; 7 | border:1px solid gray; 8 | background-color: lightgray; 9 | } -------------------------------------------------------------------------------- /enyo/samples/ScrollerSample.css: -------------------------------------------------------------------------------- 1 | .scroller-sample-panels { 2 | margin:15px; 3 | } 4 | .scroller-sample-content { 5 | width:4000px; 6 | } 7 | .scroller-sample-scroller { 8 | border: 1px solid orange; 9 | } -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/import-once.less: -------------------------------------------------------------------------------- 1 | @import-once "import/import-once-test-c"; 2 | @import-once "import/import-once-test-c"; 3 | @import-once "import/deeper/import-once-test-a"; -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/resources/a.txt: -------------------------------------------------------------------------------- 1 | This is line one 2 | This is line two 3 | 4 | This is line four 5 | . 6 | . 7 | More content here 8 | . 9 | . 10 | 11 | This is line eleven 12 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/import-missing.txt: -------------------------------------------------------------------------------- 1 | FileError: 'file-does-not-exist.less' wasn't found. 2 | in {path}import-missing.less:1:0 3 | 1 @import "file-does-not-exist.less"; 4 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/expected/issue13.js: -------------------------------------------------------------------------------- 1 | var a=/^(?:(\w+):)?(?:\/\/(?:(?:([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#])(?::(\d))?)?(..?$|(?:[^?#\/]\/))([^?#]*)(?:\?([^#]))?(?:#(.))?/ -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue13.js: -------------------------------------------------------------------------------- 1 | var a = /^(?:(\w+):)?(?:\/\/(?:(?:([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#])(?::(\d))?)?(..?$|(?:[^?#\/]\/))([^?#]*)(?:\?([^#]))?(?:#(.))?/; -------------------------------------------------------------------------------- /lib/onyx/css/Grabber.less: -------------------------------------------------------------------------------- 1 | /* Grabber.css */ 2 | .onyx-grabber { 3 | background: @onyx-grabber-image no-repeat center; 4 | width: @onyx-grabber-image-width; 5 | height: @onyx-grabber-image-height; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/property-ie5-hack.txt: -------------------------------------------------------------------------------- 1 | ParseError: Syntax Error on line 2 in {path}property-ie5-hack.less:2:2 2 | 1 .test { 3 | 2 display/*/: block; /*sorry for IE5*/ 4 | 3 } 5 | -------------------------------------------------------------------------------- /enyo/source/ajax/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "Async.js", 3 | "json.js", 4 | "cookie.js", 5 | "xhr.js", 6 | "formdata.js", 7 | "AjaxProperties.js", 8 | "Ajax.js", 9 | "Jsonp.js", 10 | "WebService.js" 11 | ); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/build/amd.js: -------------------------------------------------------------------------------- 1 | // amd.js 2 | // 3 | // Define Less as an AMD module. 4 | if (typeof define === "function" && define.amd) { 5 | define("less", [], function () { return less; } ); 6 | } 7 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/array4.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | (function(){ 3 | return new Array(1, 2, 3); 4 | })(); 5 | function Array(){}; 6 | })(); 7 | -------------------------------------------------------------------------------- /lib/layout/panels/samples/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "PanelsSample.css", 3 | "PanelsSample.js", 4 | "PanelsFlickrSample.css", 5 | "PanelsFlickrSample.js", 6 | "PanelsSlidingSample.css", 7 | "PanelsSlidingSample.js" 8 | ); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/build/header.js: -------------------------------------------------------------------------------- 1 | // 2 | // LESS - Leaner CSS v@VERSION 3 | // http://lesscss.org 4 | // 5 | // Copyright (c) 2009-2011, Alexis Sellier 6 | // Licensed under the Apache 2.0 License. 7 | // 8 | -------------------------------------------------------------------------------- /lib/onyx/css/TabButton.less: -------------------------------------------------------------------------------- 1 | /* TabButton.css */ 2 | .onyx-radiobutton.onyx-tabbutton { 3 | padding: @onyx-tabbutton-padding-tb @onyx-tabbutton-padding-lr; 4 | font-size: @onyx-tabbutton-font-size; 5 | border-radius: 0px; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /enyo/minify/minify.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | REM FIXME: minify has a problem if 'package.js' is not in CWD, hence push, cd, pop 3 | PUSHD "%CD%" 4 | CD "%~dp0" 5 | CALL ..\tools\minify.bat package.js -no-alias -output ..\..\build\enyo %* 6 | POPD 7 | -------------------------------------------------------------------------------- /lib/onyx/css/TimePicker.less: -------------------------------------------------------------------------------- 1 | /* TimePicker.css */ 2 | .onyx-timepicker-hour { 3 | min-width: 60px; 4 | } 5 | 6 | .onyx-timepicker-minute { 7 | min-width: 60px; 8 | } 9 | 10 | .onyx-timepicker-ampm { 11 | min-width: 60px; 12 | } -------------------------------------------------------------------------------- /enyo/source/kernel/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "log.js", 3 | "lang.js", 4 | "job.js", 5 | "macroize.js", 6 | "Oop.js", 7 | "Object.js", 8 | "Component.js", 9 | "UiComponent.js", 10 | "Layout.js", 11 | "Signals.js" 12 | ); 13 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/const.js: -------------------------------------------------------------------------------- 1 | // test that the calculation is fold to 13 2 | var a = 1 + 2 * 6; 3 | 4 | // test that it isn't replaced with 0.3333 because that is more characters 5 | var b = 1/3; -------------------------------------------------------------------------------- /lib/layout/panels/source/Panels.css: -------------------------------------------------------------------------------- 1 | .enyo-panels { 2 | } 3 | 4 | .enyo-panels-fit-narrow { 5 | } 6 | 7 | @media all and (max-width: 800px) { 8 | .enyo-panels-fit-narrow > * { 9 | min-width: 100%; 10 | max-width: 100%; 11 | } 12 | } -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/mixin-not-defined.less: -------------------------------------------------------------------------------- 1 | 2 | .error-is-further-on() { 3 | } 4 | 5 | .pad-here-to-reproduce-error-in() { 6 | } 7 | 8 | .the-import-subfolder-test() { 9 | } 10 | 11 | .mixin-not-defined(); -------------------------------------------------------------------------------- /lib/layout/fittable/samples/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "sample.css", 3 | "FittableSample.js", 4 | "FittableAppLayout1.js", 5 | "FittableAppLayout2.js", 6 | "FittableAppLayout3.js", 7 | "FittableAppLayout4.js", 8 | "FittableDescription.js" 9 | ); -------------------------------------------------------------------------------- /lib/onyx/css/RangeSlider.less: -------------------------------------------------------------------------------- 1 | /* RangeSlider.css */ 2 | .onyx-range-slider-knob { 3 | top: -17px; 4 | } 5 | .onyx-range-slider-label { 6 | position: relative; 7 | top: -18px; 8 | text-align: center; 9 | white-space: nowrap; 10 | } 11 | -------------------------------------------------------------------------------- /lib/onyx/css/DatePicker.less: -------------------------------------------------------------------------------- 1 | /* DatePicker.css */ 2 | .onyx-datepicker-month { 3 | min-width: 75px; 4 | } 5 | 6 | .onyx-datepicker-day { 7 | min-width: 60px; 8 | } 9 | 10 | .onyx-datepicker-year { 11 | min-width: 70px; 12 | } 13 | 14 | 15 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/errors/javascript-error.txt: -------------------------------------------------------------------------------- 1 | SyntaxError: JavaScript evaluation error: 'TypeError: Cannot call method 'toJS' of undefined' in {path}javascript-error.less:2:26 2 | 1 .scope { 3 | 2 var: `this.foo.toJS()`; 4 | 3 } 5 | -------------------------------------------------------------------------------- /enyo/source/ui/ToolDecorator.js: -------------------------------------------------------------------------------- 1 | /** 2 | _enyo.ToolDecorator_ lines up components in a row, centered vertically. 3 | */ 4 | enyo.kind({ 5 | name: "enyo.ToolDecorator", 6 | //* @protected 7 | kind: enyo.GroupItem, 8 | classes: "enyo-tool-decorator" 9 | }); 10 | -------------------------------------------------------------------------------- /lib/layout/panels/source/arrangers/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "Arranger.js", 3 | "Arranger.css", 4 | "CardArranger.js", 5 | "CardSlideInArranger.js", 6 | "CarouselArranger.js", 7 | "CollapsingArranger.js", 8 | "DockRightArranger.js", 9 | "OtherArrangers.js" 10 | ); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/forstatement.js: -------------------------------------------------------------------------------- 1 | a=func(); 2 | b=z; 3 | for (a++; i < 10; i++) { alert(i); } 4 | 5 | var z=1; 6 | g=2; 7 | for (; i < 10; i++) { alert(i); } 8 | 9 | var a = 2; 10 | for (var i = 1; i < 10; i++) { alert(i); } 11 | -------------------------------------------------------------------------------- /enyo/samples/AjaxSample.css: -------------------------------------------------------------------------------- 1 | .ajax-sample { 2 | padding: 15px; 3 | } 4 | 5 | .ajax-sample-source { 6 | padding:15px; 7 | font-family: monospace; 8 | font-size: 12px; 9 | white-space: pre-wrap; 10 | box-sizing: border-box; 11 | width:100%; 12 | height:100%; 13 | margin-top:15px; 14 | } 15 | -------------------------------------------------------------------------------- /enyo/samples/JsonpSample.css: -------------------------------------------------------------------------------- 1 | .jsonp-sample { 2 | padding: 15px; 3 | } 4 | 5 | .jsonp-sample-source { 6 | padding:15px; 7 | font-family: monospace; 8 | font-size: 12px; 9 | white-space: pre-wrap; 10 | box-sizing: border-box; 11 | width:100%; 12 | height:100%; 13 | margin-top:15px; 14 | } 15 | -------------------------------------------------------------------------------- /enyo/source/dom/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "dom.css", 3 | "dom.js", 4 | "transform.js", 5 | "Control.js", 6 | "platform.js", 7 | "animation.js", 8 | "phonegap.js", 9 | "dispatcher.js", 10 | "preview.js", 11 | "modal.js", 12 | "gesture.js", 13 | "drag.js", 14 | "transition.js" 15 | ); 16 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/assignment.js: -------------------------------------------------------------------------------- 1 | a=1; 2 | b=a; 3 | c=1; 4 | d=b; 5 | e=d; 6 | longname=2; 7 | if (longname+1) { 8 | x=3; 9 | if (x) var z = 7; 10 | } 11 | z=1,y=1,x=1 12 | 13 | g+=1; 14 | h=g; 15 | 16 | ++i; 17 | j=i; 18 | 19 | i++; 20 | j=i+17; -------------------------------------------------------------------------------- /enyo/samples/PlatformSample.css: -------------------------------------------------------------------------------- 1 | .platform-sample { 2 | padding: 15px; 3 | } 4 | .platform-sample-divider { 5 | color: #F49200; 6 | text-transform: uppercase; 7 | font-family: Segoe UI, Prelude Medium, Helvetica, Verdana, sans-serif; 8 | font-size: 14px; 9 | font-weight: bold; 10 | margin-bottom: 8px; 11 | } -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/mixins-nested.css: -------------------------------------------------------------------------------- 1 | .class .inner { 2 | height: 300; 3 | } 4 | .class .inner .innest { 5 | width: 30; 6 | border-width: 60; 7 | } 8 | .class2 .inner { 9 | height: 600; 10 | } 11 | .class2 .inner .innest { 12 | width: 60; 13 | border-width: 120; 14 | } 15 | -------------------------------------------------------------------------------- /enyo/samples/WebServiceSample.css: -------------------------------------------------------------------------------- 1 | .webservice-sample { 2 | padding: 15px; 3 | } 4 | 5 | .webservice-sample-source { 6 | padding:15px; 7 | font-family: monospace; 8 | font-size: 12px; 9 | white-space: pre-wrap; 10 | box-sizing: border-box; 11 | width:100%; 12 | height:100%; 13 | margin-top:15px; 14 | } 15 | -------------------------------------------------------------------------------- /enyo/tools/test/ajax/php/test3.php: -------------------------------------------------------------------------------- 1 | "get"); 14 | echo json_encode($result); 15 | } 16 | -------------------------------------------------------------------------------- /enyo/source/dom/transition.js: -------------------------------------------------------------------------------- 1 | enyo.dom.transition = (enyo.platform.ios || enyo.platform.android || enyo.platform.chrome || enyo.platform.androidChrome || enyo.platform.safari) 2 | ? "-webkit-transition" 3 | : (enyo.platform.firefox || enyo.platform.firefoxOS || enyo.platform.androidFirefox) 4 | ? "-moz-transition" 5 | : "transition"; -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/debug/linenumbers.less: -------------------------------------------------------------------------------- 1 | @import "import/test.less"; 2 | 3 | .start() { 4 | .test2 { 5 | color: red; 6 | } 7 | } 8 | 9 | .mix() { 10 | color: black; 11 | } 12 | 13 | .test1 { 14 | .mix(); 15 | } 16 | 17 | .start(); 18 | 19 | .mixin_import1(); 20 | 21 | .mixin_import2(); -------------------------------------------------------------------------------- /enyo/source/touch/Scroller.css: -------------------------------------------------------------------------------- 1 | .enyo-scroller { 2 | position: relative; 3 | } 4 | 5 | .enyo-fit.enyo-scroller { 6 | position: absolute; 7 | } 8 | 9 | .enyo-touch-scroller { 10 | overflow: hidden; 11 | } 12 | 13 | .enyo-touch-strategy-container { 14 | overflow: hidden; 15 | } 16 | 17 | .enyo-scrollee-fit { 18 | height: 100%; 19 | } -------------------------------------------------------------------------------- /enyo/source/touch/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "touch.js", 3 | "msevents.js", 4 | "gesture.js", 5 | "ScrollMath.js", 6 | "ScrollStrategy.js", 7 | "Thumb.css", 8 | "Thumb.js", 9 | "TouchScrollStrategy.js", 10 | "TranslateScrollStrategy.js", 11 | "TransitionScrollStrategy.js", 12 | "Scroller.js", 13 | "Scroller.css" 14 | ); 15 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/issue50.js: -------------------------------------------------------------------------------- 1 | function bar(a) { 2 | try { 3 | foo(); 4 | } catch(e) { 5 | alert("Exception caught (foo not defined)"); 6 | } 7 | alert(a); // 10 in FF, "[object Error]" in IE 8 | } 9 | bar(10); 10 | -------------------------------------------------------------------------------- /lib/onyx/css/Spinner.less: -------------------------------------------------------------------------------- 1 | /* Spinner.css */ 2 | .onyx-spinner { 3 | width: @onyx-spinner-image-width; 4 | height: @onyx-spinner-image-height; 5 | display: inline-block; 6 | background: @onyx-spinner-dark-image no-repeat 0 0; 7 | } 8 | 9 | .onyx-spinner.onyx-light { 10 | background: @onyx-spinner-light-image no-repeat 0 0; 11 | } 12 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/lib/less/tree/ratio.js: -------------------------------------------------------------------------------- 1 | (function (tree) { 2 | 3 | tree.Ratio = function (value) { 4 | this.value = value; 5 | }; 6 | tree.Ratio.prototype = { 7 | toCSS: function (env) { 8 | return this.value; 9 | }, 10 | eval: function () { return this } 11 | }; 12 | 13 | })(require('../tree')); 14 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/scope.css: -------------------------------------------------------------------------------- 1 | .tiny-scope { 2 | color: #998899; 3 | } 4 | .scope1 { 5 | color: #0000ff; 6 | border-color: #000000; 7 | } 8 | .scope1 .scope2 { 9 | color: #0000ff; 10 | } 11 | .scope1 .scope2 .scope3 { 12 | color: #ff0000; 13 | border-color: #000000; 14 | background-color: #ffffff; 15 | } 16 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/ifreturn2.js: -------------------------------------------------------------------------------- 1 | function x(a) { 2 | if (typeof a === 'object') 3 | return a; 4 | 5 | if (a === 42) 6 | return 0; 7 | 8 | return a * 2; 9 | } 10 | 11 | function y(a) { 12 | if (typeof a === 'object') 13 | return a; 14 | 15 | return null; 16 | }; 17 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/mixins-important.less: -------------------------------------------------------------------------------- 1 | 2 | .mixin (9) { 3 | border: 9 !important; 4 | } 5 | .mixin (@a: 0) { 6 | border: @a; 7 | boxer: @a; 8 | } 9 | 10 | .class { 11 | .mixin(1); 12 | .mixin(2) !important; 13 | .mixin(3); 14 | .mixin(4) !important; 15 | .mixin(5); 16 | .mixin !important; 17 | .mixin(9); 18 | } 19 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/mixins-nested.less: -------------------------------------------------------------------------------- 1 | .mix-inner (@var) { 2 | border-width: @var; 3 | } 4 | 5 | .mix (@a: 10) { 6 | .inner { 7 | height: @a * 10; 8 | 9 | .innest { 10 | width: @a; 11 | .mix-inner(@a * 2); 12 | } 13 | } 14 | } 15 | 16 | .class { 17 | .mix(30); 18 | } 19 | 20 | .class2 { 21 | .mix(60); 22 | } 23 | -------------------------------------------------------------------------------- /lib/layout/list/samples/ListPulldownSample.css: -------------------------------------------------------------------------------- 1 | a:link, a:visited { 2 | color: lightblue; 3 | text-decoration: underline; 4 | } 5 | .list-sample-pulldown-list { 6 | background: grey; 7 | } 8 | .list-sample-pulldown-item { 9 | border-bottom: 1px solid #0E0E0E; 10 | padding: 12px 16px; 11 | background-color: #333333; 12 | /**/ 13 | font-size: 14px; 14 | color: white; 15 | } -------------------------------------------------------------------------------- /enyo/tools/test/ajax/tests/XhrTest.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "XhrTest", 3 | kind: enyo.TestSuite, 4 | testXhrSync: function() { 5 | var x = enyo.xhr.request({ 6 | url: "php/test1.php?format=text", 7 | sync: true 8 | }); 9 | if (x.responseText) { 10 | this.finish(""); 11 | } 12 | else { 13 | this.finish("sync XHR didn't return with text"); 14 | } 15 | } 16 | }); -------------------------------------------------------------------------------- /lib/onyx/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | SOURCE=$(cd `dirname $0`; pwd) 4 | 5 | # target location 6 | TARGET=$1 7 | 8 | if [ x$TARGET = x ]; then 9 | 10 | cat <onyx.RadioGroup. 4 | 5 | For more information, see the documentation on 6 | [Buttons](https://github.com/enyojs/enyo/wiki/Buttons) in the Enyo Developer 7 | Guide. 8 | */ 9 | enyo.kind({ 10 | name: "onyx.RadioButton", 11 | kind: "Button", 12 | classes: "onyx-radiobutton" 13 | }); 14 | -------------------------------------------------------------------------------- /enyo/source/ui/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "ui.css", 3 | "Animator.js", 4 | "BaseLayout.js", 5 | "Image.js", 6 | "Input.js", 7 | "RichText.js", 8 | "TextArea.js", 9 | "Select.js", 10 | "Group.js", 11 | "GroupItem.js", 12 | "ToolDecorator.js", 13 | "Button.js", 14 | "Checkbox.js", 15 | "Repeater.js", 16 | "DragAvatar.js", 17 | "FloatingLayer.js", 18 | "Popup.js", 19 | "Selection.js" 20 | ); 21 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/lib/less/tree/comment.js: -------------------------------------------------------------------------------- 1 | (function (tree) { 2 | 3 | tree.Comment = function (value, silent) { 4 | this.value = value; 5 | this.silent = !!silent; 6 | }; 7 | tree.Comment.prototype = { 8 | toCSS: function (env) { 9 | return env.compress ? '' : this.value; 10 | }, 11 | eval: function () { return this } 12 | }; 13 | 14 | })(require('../tree')); 15 | -------------------------------------------------------------------------------- /enyo/source/touch/Thumb.css: -------------------------------------------------------------------------------- 1 | .enyo-thumb { 2 | position: absolute; 3 | -moz-box-sizing: border-box; 4 | box-sizing: border-box; 5 | border-radius: 4px; 6 | background: #333; 7 | border: 1px solid #666; 8 | opacity: 0.75; 9 | z-index: 1; 10 | } 11 | 12 | .enyo-vthumb { 13 | top: 0; 14 | right: 2px; 15 | width: 4px; 16 | } 17 | 18 | .enyo-hthumb { 19 | left: 0; 20 | bottom: 2px; 21 | height: 4px; 22 | } 23 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/mixins-important.css: -------------------------------------------------------------------------------- 1 | .class { 2 | border: 1; 3 | boxer: 1; 4 | border: 2 !important; 5 | boxer: 2 !important; 6 | border: 3; 7 | boxer: 3; 8 | border: 4 !important; 9 | boxer: 4 !important; 10 | border: 5; 11 | boxer: 5; 12 | border: 0 !important; 13 | boxer: 0 !important; 14 | border: 9 !important; 15 | border: 9; 16 | boxer: 9; 17 | } 18 | -------------------------------------------------------------------------------- /lib/layout/list/samples/FlyweightRepeaterSample.css: -------------------------------------------------------------------------------- 1 | .flyweight-repeater-sample { 2 | background-color: gray; 3 | position: relative; 4 | } 5 | .flyweight-repeater-sample-list { 6 | position: relative; 7 | width: 100%; 8 | margin: auto; 9 | background-color: #eee; 10 | } 11 | .flyweight-repeater-sample-item { 12 | border: 1px solid silver; 13 | padding: 18px; 14 | font-size: 18px; 15 | font-weight: bold; 16 | } -------------------------------------------------------------------------------- /lib/onyx/css/Popup.less: -------------------------------------------------------------------------------- 1 | /* Popup.css */ 2 | .onyx-popup { 3 | font-size: @onyx-popup-font-size; 4 | box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); 5 | border: 1px solid rgba(0,0,0,0.2); 6 | border-radius: 8px; 7 | padding: 6px; 8 | color: @onyx-popup-text-color; 9 | background: @onyx-popup-background @onyx-button-gradient repeat-x 0 bottom; 10 | } 11 | 12 | .onyx-popup-decorator { 13 | position: relative; 14 | } 15 | -------------------------------------------------------------------------------- /enyo/tools/test/core/tests/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "langTest.js", 3 | //"LoaderTest.js", 4 | "KindTest.js", 5 | "JsonTest.js", 6 | "AsyncTest.js", 7 | "AjaxTest.js", 8 | "ComponentTest.js", 9 | "ComponentDispatchTest.js", 10 | "ComponentHandlersTest.js", 11 | "ControlTest.js", 12 | "ControlPropsTest.js", 13 | "DecodePackagePathTest.js", 14 | "PathResolverTest.js", 15 | "ViewportPositioningTest.js" 16 | ); 17 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/lib/less/tree/paren.js: -------------------------------------------------------------------------------- 1 | 2 | (function (tree) { 3 | 4 | tree.Paren = function (node) { 5 | this.value = node; 6 | }; 7 | tree.Paren.prototype = { 8 | toCSS: function (env) { 9 | return '(' + this.value.toCSS(env) + ')'; 10 | }, 11 | eval: function (env) { 12 | return new(tree.Paren)(this.value.eval(env)); 13 | } 14 | }; 15 | 16 | })(require('../tree')); 17 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/javascript.css: -------------------------------------------------------------------------------- 1 | .eval { 2 | js: 42; 3 | js: 2; 4 | js: "hello world"; 5 | js: 1, 2, 3; 6 | title: "string"; 7 | ternary: true; 8 | multiline: 2; 9 | } 10 | .scope { 11 | var: 42; 12 | escaped: 7px; 13 | } 14 | .vars { 15 | width: 8; 16 | } 17 | .escape-interpol { 18 | width: hello world; 19 | } 20 | .arrays { 21 | ary: "1, 2, 3"; 22 | ary1: "1, 2, 3"; 23 | } 24 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/parens.css: -------------------------------------------------------------------------------- 1 | .parens { 2 | border: 2px solid #000000; 3 | margin: 1px 3px 16 3; 4 | width: 36; 5 | padding: 2px 36px; 6 | } 7 | .more-parens { 8 | padding: 8 4 4 4px; 9 | width: 96; 10 | height: 113; 11 | margin: 12; 12 | } 13 | .nested-parens { 14 | width: 71; 15 | height: 6; 16 | } 17 | .mixed-units { 18 | margin: 2px 4em 1 5pc; 19 | padding: 6px 1em 2px 2; 20 | } 21 | -------------------------------------------------------------------------------- /enyo/tools/test/ajax/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/env.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'); 4 | 5 | shell.silent(true); 6 | 7 | shell.rm('-rf', 'tmp'); 8 | shell.mkdir('tmp') 9 | 10 | // 11 | // Valids 12 | // 13 | 14 | assert.equal(shell.env['PATH'], process.env['PATH']); 15 | 16 | shell.env['MAKERJS_TEST'] = 'hello world'; 17 | assert.equal(shell.env['MAKERJS_TEST'], process.env['MAKERJS_TEST']); 18 | 19 | shell.exit(123); 20 | -------------------------------------------------------------------------------- /enyo/tools/lessc.bat: -------------------------------------------------------------------------------- 1 | REM don't watch the sausage being made 2 | @ECHO OFF 3 | 4 | REM the folder this script is in (*/enyo/tools) 5 | SET TOOLS=%~DP0 6 | 7 | REM enyo location 8 | SET ENYO=%TOOLS%\.. 9 | 10 | REM lessc script location 11 | SET LESSC=%TOOLS%\minifier\lessc.js 12 | 13 | REM node location 14 | SET NODE=node.exe 15 | 16 | REM use node to invoke lessc with a known path to enyo and imported parameters 17 | %NODE% "%LESSC%" -enyo "%ENYO%" %* 18 | -------------------------------------------------------------------------------- /enyo/samples/assets/Sample1.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "Sample", 3 | kind: "Control", 4 | components: [ 5 | {name: "input", tag: "input"}, 6 | {tag: "br"}, 7 | {name: "button", tag: "button", content: "Set Content", ontap: "buttonTap"}, 8 | {tag: "br"}, 9 | {name: "output", classes: "sample-output"} 10 | ], 11 | buttonTap: function(inSender, inEvent) { 12 | var value = this.$.input.hasNode().value; 13 | this.$.output.setContent(value); 14 | } 15 | }); -------------------------------------------------------------------------------- /enyo/tools/minify.bat: -------------------------------------------------------------------------------- 1 | REM don't watch the sausage being made 2 | @ECHO OFF 3 | 4 | REM the folder this script is in (*/enyo/tools) 5 | SET TOOLS=%~DP0 6 | 7 | REM enyo location 8 | SET ENYO=%TOOLS%\.. 9 | 10 | REM minify script location 11 | SET MINIFY=%TOOLS%\minifier\minify.js 12 | 13 | REM node location 14 | SET NODE=node.exe 15 | 16 | REM use node to invoke minify with a known path to enyo and imported parameters 17 | %NODE% "%MINIFY%" -enyo "%ENYO%" %* 18 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/scripts/docs.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../global'); 3 | 4 | echo('Appending docs to README.md'); 5 | 6 | cd(__dirname + '/..'); 7 | 8 | // Extract docs from shell.js 9 | var docs = grep('//@', 'shell.js'); 10 | // Remove '//@' 11 | docs = docs.replace(/\/\/\@ ?/g, ''); 12 | // Append docs to README 13 | sed('-i', /## Command reference(.|\n)*/, '## Command reference\n\n' + docs, 'README.md'); 14 | 15 | echo('All done.'); 16 | -------------------------------------------------------------------------------- /enyo/samples/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "$lib/extra/exampler", 3 | "PlatformSample.css", 4 | "PlatformSample.js", 5 | "Playground.css", 6 | "Playground.js", 7 | "AjaxSample.css", 8 | "AjaxSample.js", 9 | "JsonpSample.css", 10 | "JsonpSample.js", 11 | "WebServiceSample.css", 12 | "WebServiceSample.js", 13 | "RepeaterSample.css", 14 | "RepeaterSample.js", 15 | "ScrollerSample.css", 16 | "ScrollerSample.js", 17 | "GestureSample.css", 18 | "GestureSample.js" 19 | ); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/mixins-closure.less: -------------------------------------------------------------------------------- 1 | .scope { 2 | @var: 99px; 3 | .mixin () { 4 | width: @var; 5 | } 6 | } 7 | 8 | .class { 9 | .scope > .mixin; 10 | } 11 | 12 | .overwrite { 13 | @var: 0px; 14 | .scope > .mixin; 15 | } 16 | 17 | .nested { 18 | @var: 5px; 19 | .mixin () { 20 | width: @var; 21 | } 22 | .class { 23 | @var: 10px; 24 | .mixin; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/ie-filters.css: -------------------------------------------------------------------------------- 1 | .nav { 2 | filter: progid:DXImageTransform.Microsoft.Alpha(opacity=20); 3 | filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0); 4 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#333333", endColorstr="#000000", GradientType=0); 5 | } 6 | .evalTest1 { 7 | filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30); 8 | filter: progid:DXImageTransform.Microsoft.Alpha(opacity=5); 9 | } 10 | -------------------------------------------------------------------------------- /lib/layout/panels/samples/PanelsSlidingSample.css: -------------------------------------------------------------------------------- 1 | .panels-sample-sliding-panels > * { 2 | width: 320px; 3 | background-color: #EAEAEA; 4 | -moz-box-shadow: -4px 0 4px rgba(0,0,0,0.3); 5 | -webkit-box-shadow: -4px 0 4px rgba(0,0,0,0.3); 6 | box-shadow: -4px 0 4px rgba(0,0,0,0.3); 7 | } 8 | 9 | .panels-sample-sliding-item { 10 | padding: 10px; 11 | border-bottom: 1px solid black; 12 | } 13 | 14 | .panels-sample-sliding-content { 15 | text-align: left; 16 | padding: 10px; 17 | } -------------------------------------------------------------------------------- /enyo/samples/assets/Sample2.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "Sample", 3 | kind: "Control", 4 | components: [ 5 | {name: "input", tag: "input", attributes: {value: "red"}}, 6 | {tag: "br"}, 7 | {tag: "button", content: "Set Color", ontap: "buttonTap"}, 8 | {tag: "br"}, 9 | {name: "output", classes: "sample-output"} 10 | ], 11 | buttonTap: function(inSender, inEvent) { 12 | var color = this.$.input.hasNode().value; 13 | this.$.output.applyStyle("background", color); 14 | } 15 | }); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/debug/import/test.less: -------------------------------------------------------------------------------- 1 | .mixin_import1() { 2 | @media all { 3 | .tst { 4 | color: black; 5 | @media screen { 6 | color: red; 7 | .tst3 { 8 | color: white; 9 | } 10 | } 11 | } 12 | } 13 | } 14 | 15 | .mixin_import2() { 16 | .tst2 { 17 | color: white; 18 | } 19 | } 20 | 21 | .tst3 { 22 | color: grey; 23 | } -------------------------------------------------------------------------------- /enyo/source/ui/ui.css: -------------------------------------------------------------------------------- 1 | .enyo-inline, .enyo-tool-decorator { 2 | display: inline-block; 3 | } 4 | 5 | .enyo-children-inline > *, .enyo-tool-decorator > * { 6 | display: inline-block; 7 | } 8 | 9 | .enyo-children-middle > *, .enyo-tool-decorator > * { 10 | vertical-align: middle; 11 | } 12 | 13 | .enyo-positioned { 14 | position: relative; 15 | } 16 | 17 | .enyo-fill { 18 | position: relative; 19 | width: 100%; 20 | height: 100%; 21 | } 22 | 23 | .enyo-popup { 24 | position: absolute; 25 | z-index: 10; 26 | } -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/lib/less/tree/alpha.js: -------------------------------------------------------------------------------- 1 | (function (tree) { 2 | 3 | tree.Alpha = function (val) { 4 | this.value = val; 5 | }; 6 | tree.Alpha.prototype = { 7 | toCSS: function () { 8 | return "alpha(opacity=" + 9 | (this.value.toCSS ? this.value.toCSS() : this.value) + ")"; 10 | }, 11 | eval: function (env) { 12 | if (this.value.eval) { this.value = this.value.eval(env) } 13 | return this; 14 | } 15 | }; 16 | 17 | })(require('../tree')); 18 | -------------------------------------------------------------------------------- /enyo/tools/test/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Enyo Core Tests 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /enyo/CONTRIBUTING md: -------------------------------------------------------------------------------- 1 | # Contributions 2 | 3 | Contributions are welcome for Enyo and its associated libraries including onyx and layout. 4 | 5 | Please see [Contributing to Enyo](http://enyojs.com/community/contribute/) for details 6 | on our contribution policy and guidelines for use of the Enyo-DCO-1.1-Signed-off-by 7 | line in your commits and pull requests. 8 | 9 | If you're interested in introducing new kinds, you might also consider hosting your own repo 10 | and contributing to the [Enyo community gallery](http://enyojs.com/gallery). -------------------------------------------------------------------------------- /enyo/tools/lessc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # the folder this script is in (*/enyo/tools) 4 | TOOLS="$(cd `dirname $0`; pwd)" 5 | # enyo location 6 | ENYO="$TOOLS/.." 7 | # lessc script location 8 | LESSC="$TOOLS/minifier/lessc.js" 9 | 10 | # check for node, but quietly 11 | if command -v node >/dev/null 2>&1; then 12 | # use node to invoke minify with a known path to enyo and imported parameters 13 | echo "enyo/tools/lessc.sh args: " $@ 14 | node "$LESSC" -enyo "$ENYO" $@ 15 | else 16 | echo "No node found in path" 17 | exit 1 18 | fi 19 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/ie-filters.less: -------------------------------------------------------------------------------- 1 | @fat: 0; 2 | @cloudhead: "#000000"; 3 | 4 | .nav { 5 | filter: progid:DXImageTransform.Microsoft.Alpha(opacity = 20); 6 | filter: progid:DXImageTransform.Microsoft.Alpha(opacity=@fat); 7 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#333333", endColorstr=@cloudhead, GradientType=@fat); 8 | } 9 | .evalTest(@arg) { 10 | filter: progid:DXImageTransform.Microsoft.Alpha(opacity=@arg); 11 | } 12 | .evalTest1 { 13 | .evalTest(30); 14 | .evalTest(5); 15 | } -------------------------------------------------------------------------------- /lib/layout/CONTRIBUTING md: -------------------------------------------------------------------------------- 1 | # Contributions 2 | 3 | Contributions are welcome for Enyo and its associated libraries including onyx and layout. 4 | 5 | Please see [Contributing to Enyo](http://enyojs.com/community/contribute/) for details 6 | on our contribution policy and guidelines for use of the Enyo-DCO-1.0-Signed-off-by 7 | line in your commits and pull requests. 8 | 9 | If you're interested in introducing new kinds, you might also consider hosting your own repo 10 | and contributing to the [Enyo community gallery](http://enyojs.com/gallery). -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/import.css: -------------------------------------------------------------------------------- 1 | @import "import-test-d.css"; 2 | 3 | @import url(http://fonts.googleapis.com/css?family=Open+Sans); 4 | 5 | @import url(something.css) screen and (color) and (max-width: 600px); 6 | #import { 7 | color: #ff0000; 8 | } 9 | .mixin { 10 | height: 10px; 11 | color: #ff0000; 12 | } 13 | #import-test { 14 | height: 10px; 15 | color: #ff0000; 16 | width: 10px; 17 | height: 30%; 18 | } 19 | @media screen and (max-width: 600px) { 20 | body { 21 | width: 100%; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /enyo/tools/minify.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # the folder this script is in (*/enyo/tools) 4 | TOOLS="$(cd `dirname $0`; pwd)" 5 | # enyo location 6 | ENYO="$TOOLS/.." 7 | # minify script location 8 | MINIFY="$TOOLS/minifier/minify.js" 9 | 10 | # check for node, but quietly 11 | if command -v node >/dev/null 2>&1; then 12 | # use node to invoke minify with a known path to enyo and imported parameters 13 | echo "enyo/tools/minify.sh args: " $@ 14 | node "$MINIFY" -enyo "$ENYO" $@ 15 | else 16 | echo "No node found in path" 17 | exit 1 18 | fi 19 | -------------------------------------------------------------------------------- /lib/layout/list/samples/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "NameGenerator.js", 3 | "ListAroundSample.css", 4 | "ListAroundSample.js", 5 | "ListBasicSample.css", 6 | "ListBasicSample.js", 7 | "ListNoSelectSample.js", 8 | "ListContactsSample.css", 9 | "ListContactsSample.js", 10 | "ListPulldownSample.css", 11 | "ListPulldownSample.js", 12 | "ListLanguagesSample.css", 13 | "ListLanguagesSample.js", 14 | "FlyweightRepeaterSample.css", 15 | "FlyweightRepeaterSample.js", 16 | "PersistentSwipeableItemSample.css", 17 | "PersistentSwipeableItemSample.js" 18 | ); -------------------------------------------------------------------------------- /lib/onyx/css/ButtonColors.less: -------------------------------------------------------------------------------- 1 | /* ButtonColors.css */ 2 | .onyx-button.onyx-blue { 3 | background-color: #35A8EE; 4 | color: #F2F2F2; 5 | } 6 | 7 | .onyx-button.onyx-affirmative { 8 | background-color: #91BA07; 9 | color: #F2F2F2; 10 | } 11 | 12 | .onyx-button.onyx-negative { 13 | background-color: #C51616; 14 | color: #F2F2F2; 15 | } 16 | 17 | .onyx-button.onyx-dark { 18 | background-color: @onyx-dark-background; 19 | color: #F2F2F2; 20 | } 21 | 22 | .onyx-button.onyx-light { 23 | background-color: @onyx-light-background; 24 | color: #2F2F2F; 25 | } -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/test/unit/compress/test/whitespace.js: -------------------------------------------------------------------------------- 1 | function id(a) { 2 | // Form-Feed 3 | // Vertical Tab 4 | // No-Break Space 5 | ᠎// Mongolian Vowel Separator 6 |  // En quad 7 |  // Em quad 8 |  // En space 9 |  // Em space 10 |  // Three-Per-Em Space 11 |  // Four-Per-Em Space 12 |  // Six-Per-Em Space 13 |  // Figure Space 14 |  // Punctuation Space 15 |  // Thin Space 16 |  // Hair Space 17 |  // Narrow No-Break Space 18 |  // Medium Mathematical Space 19 |  // Ideographic Space 20 | return a; 21 | } 22 | -------------------------------------------------------------------------------- /enyo/tools/test/ajax/php/test4.php: -------------------------------------------------------------------------------- 1 | "post" , 'ctype' => $ctype , 'cacheCtrl' => $cacheCtrl); 15 | echo json_encode($result); 16 | 17 | # useful for test setup... 18 | #foreach ($_SERVER as $name => $value) { 19 | # echo "$name: $value\n"; 20 | #} 21 | } 22 | ?> -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/css-escapes.css: -------------------------------------------------------------------------------- 1 | .escape\|random\|char { 2 | color: red; 3 | } 4 | .mixin\!tUp { 5 | font-weight: bold; 6 | } 7 | .\34 04 { 8 | background: red; 9 | } 10 | .\34 04 strong { 11 | color: #ff00ff; 12 | font-weight: bold; 13 | } 14 | .trailingTest\+ { 15 | color: red; 16 | } 17 | /* This hideous test of hideousness checks for the selector "blockquote" with various permutations of hex escapes */ 18 | \62\6c\6f \63 \6B \0071 \000075o\74 e { 19 | color: silver; 20 | } 21 | [ng\:cloak], 22 | ng\:form { 23 | display: none; 24 | } 25 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/lib/less/tree/assignment.js: -------------------------------------------------------------------------------- 1 | (function (tree) { 2 | 3 | tree.Assignment = function (key, val) { 4 | this.key = key; 5 | this.value = val; 6 | }; 7 | tree.Assignment.prototype = { 8 | toCSS: function () { 9 | return this.key + '=' + (this.value.toCSS ? this.value.toCSS() : this.value); 10 | }, 11 | eval: function (env) { 12 | if (this.value.eval) { 13 | return new(tree.Assignment)(this.key, this.value.eval(env)); 14 | } 15 | return this; 16 | } 17 | }; 18 | 19 | })(require('../tree')); -------------------------------------------------------------------------------- /lib/onyx/css/Checkbox.less: -------------------------------------------------------------------------------- 1 | /* Checkbox.css */ 2 | .onyx-checkbox { 3 | cursor: pointer; 4 | height: @onyx-checkbox-image-height; 5 | width: @onyx-checkbox-image-width; 6 | background: @onyx-checkbox-image no-repeat; 7 | /* reset for ? */ 8 | margin: 0px; 9 | /* these entries cause toggle-button and checkbox to line up properly*/ 10 | display: inline-block; 11 | vertical-align: middle; 12 | } 13 | 14 | .onyx-checkbox[checked] { 15 | background-position: 0px -@onyx-checkbox-image-height; 16 | } 17 | 18 | .onyx-checkbox[disabled] { 19 | opacity: @onyx-disabled-opacity; 20 | } 21 | -------------------------------------------------------------------------------- /lib/onyx/samples/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "sample.css", 3 | "DrawerSample.css", 4 | "ButtonGroupSample.js", 5 | "ButtonSample.js", 6 | "CheckboxSample.js", 7 | "GroupboxSample.js", 8 | "IconButtonSample.js", 9 | "InputSample.js", 10 | "PopupSample.js", 11 | "ProgressSample.js", 12 | "SliderSample.js", 13 | "ToggleButtonSample.js", 14 | "ToolbarSample.js", 15 | "DrawerSample.js", 16 | "MenuSample.js", 17 | "TooltipSample.js", 18 | "SpinnerSample.js", 19 | "PickerSample.js", 20 | "DatePickerSample.js", 21 | "TimePickerSample.js", 22 | "ContextualPopupSample.js" 23 | ); -------------------------------------------------------------------------------- /lib/layout/panels/source/arrangers/Arranger.css: -------------------------------------------------------------------------------- 1 | .enyo-arranger { 2 | position: relative; 3 | overflow: hidden; 4 | } 5 | 6 | .enyo-arranger.enyo-fit { 7 | position: absolute; 8 | } 9 | 10 | .enyo-arranger > * { 11 | position: absolute; 12 | left: 0; 13 | top: 0; 14 | -webkit-box-sizing: border-box; 15 | -moz-box-sizing: border-box; 16 | box-sizing: border-box; 17 | } 18 | 19 | .enyo-arranger-fit > * { 20 | /* override any width/height set on panels */ 21 | width: 100% !important; 22 | height: 100% !important; 23 | min-width: 0 !important; 24 | min-height: 0 !important; 25 | } 26 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/scripts/run-tests.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../global'); 3 | 4 | var failed = false; 5 | 6 | cd(__dirname + '/../test'); 7 | ls('*.js').forEach(function(file) { 8 | echo('Running test:', file); 9 | if (exec('node '+file).code !== 123) { // 123 avoids false positives (e.g. premature exit) 10 | failed = true; 11 | echo('*** FAILED! (missing return code)'); 12 | } 13 | }); 14 | 15 | if (failed) { 16 | echo(); 17 | echo('WARNING: Some tests did not pass!'); 18 | exit(1); 19 | } else { 20 | echo(); 21 | echo('All tests passed.'); 22 | } 23 | -------------------------------------------------------------------------------- /enyo/tools/test/core/tests/ComponentHandlersTest.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "ComponentHandlersTest", 3 | kind: enyo.TestSuite, 4 | testHandlerUnion: function() { 5 | enyo.kind({ 6 | name: "TestBase", 7 | kind: enyo.Component, 8 | handlers: { 9 | onOk: "ok" 10 | } 11 | }); 12 | enyo.kind({ 13 | name: "TestSub", 14 | kind: TestBase, 15 | handlers: { 16 | onMore: "more" 17 | } 18 | }); 19 | var h = new TestSub({handlers: {onFurther: "foo"}}).handlers; 20 | this.finish((!h.onOk && "bad onOk") || (!h.onMore && "bad onMore") || (!h.onFurther && "bad onFurther")); 21 | } 22 | }); -------------------------------------------------------------------------------- /lib/onyx/css/Item.less: -------------------------------------------------------------------------------- 1 | /* Item.css */ 2 | .onyx-item { 3 | padding: 14px; 4 | } 5 | 6 | .onyx-highlight, .onyx-highlight.onyx-swipeable-item-content { 7 | background-color: @onyx-highlight-background; 8 | } 9 | 10 | .enyo-selected, .enyo-selected.onyx-swipeable-item-content { 11 | background-color: @onyx-selected-background; 12 | } 13 | 14 | .onyx-item.onyx-swipeable-item { 15 | overflow: hidden; 16 | padding: 0; 17 | } 18 | 19 | .onyx-swipeable-item-content { 20 | background-color: @onyx-switeable-item-background; 21 | box-sizing: border-box; 22 | padding: 18px 6px; 23 | min-height: 40px; 24 | } 25 | -------------------------------------------------------------------------------- /lib/onyx/css/Slider.less: -------------------------------------------------------------------------------- 1 | /* Slider.css */ 2 | .onyx-slider { 3 | position: relative; 4 | margin: 8px 20px; 5 | } 6 | 7 | .onyx-slider-taparea { 8 | position: absolute; 9 | top: -11px; 10 | height: 28px; 11 | width: 100%; 12 | } 13 | 14 | .onyx-slider-knob { 15 | position: relative; 16 | height: @onyx-slider-knob-image-height; 17 | width: @onyx-slider-knob-image-width; 18 | background: @onyx-slider-knob-image left top no-repeat; 19 | margin: -23px -20px; 20 | } 21 | 22 | .onyx-slider-knob.active, .onyx-slider-knob.pressed, .onyx-slider-knob:active:hover { 23 | background-position: 0 -40px; 24 | } 25 | -------------------------------------------------------------------------------- /enyo/tools/test/ajax/php/test1.php: -------------------------------------------------------------------------------- 1 | ' . "\n"; 9 | echo "hello"; 10 | } elseif ($format == 'jsonp') { 11 | header('Content-Type: text/javascript'); 12 | echo "$callback("; 13 | echo json_encode(array('response' => 'hello', 'utf8' => 'Ви́хри')); 14 | echo ');'; 15 | } else { 16 | echo json_encode(array('response' => 'hello')); 17 | } 18 | ?> -------------------------------------------------------------------------------- /lib/onyx/source/RadioGroup.js: -------------------------------------------------------------------------------- 1 | /** 2 | A group of onyx.RadioButton objects 3 | laid out horizontally. Within the same radio group, tapping on one radio button 4 | will release any previously tapped radio button. 5 | 6 | {kind: "onyx.RadioGroup", components: [ 7 | {content: "foo", active: true}, 8 | {content: "bar"}, 9 | {content: "baz"} 10 | ]} 11 | */ 12 | enyo.kind({ 13 | name: "onyx.RadioGroup", 14 | kind: "Group", 15 | defaultKind: "onyx.RadioButton", 16 | //* @protected 17 | // set to true to provide radio button behavior 18 | highlander: true 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/lib/less/tree/keyword.js: -------------------------------------------------------------------------------- 1 | (function (tree) { 2 | 3 | tree.Keyword = function (value) { this.value = value }; 4 | tree.Keyword.prototype = { 5 | eval: function () { return this }, 6 | toCSS: function () { return this.value }, 7 | compare: function (other) { 8 | if (other instanceof tree.Keyword) { 9 | return other.value === this.value ? 0 : 1; 10 | } else { 11 | return -1; 12 | } 13 | } 14 | }; 15 | 16 | tree.True = new(tree.Keyword)('true'); 17 | tree.False = new(tree.Keyword)('false'); 18 | 19 | })(require('../tree')); 20 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/mixins-named-args.less: -------------------------------------------------------------------------------- 1 | .mixin (@a: 1px, @b: 50%) { 2 | width: @a * 5; 3 | height: @b - 1%; 4 | } 5 | .mixin (@a: 1px, @b: 50%) when (@b > 75%){ 6 | text-align: center; 7 | } 8 | 9 | .named-arg { 10 | color: blue; 11 | .mixin(@b: 100%); 12 | } 13 | 14 | .class { 15 | @var: 20%; 16 | .mixin(@b: @var); 17 | } 18 | 19 | .mixin2 (@a: 1px, @b: 50%, @c: 50) { 20 | width: @a * 5; 21 | height: @b - 1%; 22 | color: #000000 + @c; 23 | } 24 | 25 | .named-args2 { 26 | .mixin2(3px, @c: 100); 27 | } 28 | 29 | .named-args3 { 30 | .mixin2(@b: 30%, @c: #123456); 31 | } -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/scope.less: -------------------------------------------------------------------------------- 1 | @x: blue; 2 | @z: transparent; 3 | @mix: none; 4 | 5 | .mixin { 6 | @mix: #989; 7 | } 8 | 9 | .tiny-scope { 10 | color: @mix; // #989 11 | .mixin; 12 | } 13 | 14 | .scope1 { 15 | @y: orange; 16 | @z: black; 17 | color: @x; // blue 18 | border-color: @z; // black 19 | .hidden { 20 | @x: #131313; 21 | } 22 | .scope2 { 23 | @y: red; 24 | color: @x; // blue 25 | .scope3 { 26 | @local: white; 27 | color: @y; // red 28 | border-color: @z; // black 29 | background-color: @local; // white 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /lib/onyx/deploy.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | 3 | REM make sure we don't stomp variables in calling script 4 | SETLOCAL 5 | 6 | REM the location of this batch file 7 | SET SOURCE="%~dp0" 8 | 9 | REM target location 10 | SET TARGET=%1 11 | 12 | IF [%TARGET%]==[] GOTO FAIL 13 | 14 | GOTO OK 15 | 16 | :FAIL 17 | 18 | ECHO Must supply target folder parameter, e.g.: 19 | ECHO. 20 | ECHO deploy.bat ../deploy/lib/onyx 21 | ECHO. 22 | GOTO :EOF 23 | 24 | :OK 25 | 26 | REM copy assets 27 | XCOPY %SOURCE%images\*.* %TARGET%\images\ /Q /E 28 | 29 | REM copy root folder files 30 | COPY %SOURCE%*.txt %TARGET%\ >NUL 31 | 32 | ENDLOCAL 33 | -------------------------------------------------------------------------------- /lib/onyx/samples/SpinnerSample.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "onyx.sample.SpinnerSample", 3 | classes: "onyx onyx-sample", 4 | handlers: { 5 | onSelect: "itemSelected" 6 | }, 7 | components: [ 8 | {classes: "onyx-sample-divider", content: "Light Spinner"}, 9 | {style:"background:black; border-radius:5px; padding:15px", components: [ 10 | {kind: "onyx.Spinner"} 11 | ]}, 12 | {tag: "br"}, 13 | {classes: "onyx-sample-divider", content: "Dark Spinner"}, 14 | {style:"background:white; border-radius:5px; padding:15px", components: [ 15 | {kind: "onyx.Spinner", classes: "onyx-light"} 16 | ]} 17 | ] 18 | }); 19 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/variables.css: -------------------------------------------------------------------------------- 1 | .variables { 2 | width: 14cm; 3 | } 4 | .variables { 5 | height: 24px; 6 | color: #888888; 7 | font-family: "Trebuchet MS", Verdana, sans-serif; 8 | quotes: "~" "~"; 9 | } 10 | .redefinition { 11 | three: 3; 12 | } 13 | .values { 14 | font-family: 'Trebuchet', 'Trebuchet', 'Trebuchet'; 15 | color: #888888 !important; 16 | url: url('Trebuchet'); 17 | multi: something 'A', B, C, 'Trebuchet'; 18 | } 19 | .variable-names { 20 | name: 'hello'; 21 | } 22 | .alpha { 23 | filter: alpha(opacity=42); 24 | } 25 | a:nth-child(2) { 26 | border: 1px; 27 | } 28 | -------------------------------------------------------------------------------- /enyo/source/ui/TextArea.js: -------------------------------------------------------------------------------- 1 | /** 2 | _enyo.TextArea_ implements an HTML <textarea> element with 3 | cross-platform support for change events. 4 | 5 | For more information, see the documentation on 6 | [Text Fields](https://github.com/enyojs/enyo/wiki/Text-Fields) in the Enyo 7 | Developer Guide. 8 | */ 9 | enyo.kind({ 10 | name: "enyo.TextArea", 11 | kind: enyo.Input, 12 | //* @protected 13 | tag: "textarea", 14 | classes: "enyo-textarea", 15 | // textarea does use value attribute; needs to be kicked when rendered. 16 | rendered: function() { 17 | this.inherited(arguments); 18 | this.valueChanged(); 19 | } 20 | }); 21 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/silent.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'), 4 | path = require('path'), 5 | fs = require('fs'); 6 | 7 | // Node shims for < v0.7 8 | fs.existsSync = fs.existsSync || path.existsSync; 9 | 10 | function numLines(str) { 11 | return typeof str === 'string' ? str.match(/\n/g).length : 0; 12 | } 13 | 14 | // 15 | // Valids 16 | // 17 | 18 | assert.equal(shell.silent(), false); // default 19 | 20 | shell.silent(true); 21 | assert.equal(shell.silent(), true); 22 | 23 | shell.silent(false); 24 | assert.equal(shell.silent(), false); 25 | 26 | shell.exit(123); 27 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/tempdir.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'), 4 | path = require('path'), 5 | fs = require('fs'); 6 | 7 | // Node shims for < v0.7 8 | fs.existsSync = fs.existsSync || path.existsSync; 9 | 10 | shell.silent(true); 11 | 12 | function numLines(str) { 13 | return typeof str === 'string' ? str.match(/\n/g).length : 0; 14 | } 15 | 16 | shell.rm('-rf', 'tmp'); 17 | shell.mkdir('tmp') 18 | 19 | // 20 | // Valids 21 | // 22 | 23 | var tmp = shell.tempdir(); 24 | assert.equal(shell.error(), null); 25 | assert.equal(fs.existsSync(tmp), true); 26 | 27 | shell.exit(123); 28 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/css-escapes.less: -------------------------------------------------------------------------------- 1 | @ugly: fuchsia; 2 | 3 | .escape\|random\|char { 4 | color: red; 5 | } 6 | 7 | .mixin\!tUp { 8 | font-weight: bold; 9 | } 10 | 11 | // class="404" 12 | .\34 04 { 13 | background: red; 14 | 15 | strong { 16 | color: @ugly; 17 | .mixin\!tUp; 18 | } 19 | } 20 | 21 | .trailingTest\+ { 22 | color: red; 23 | } 24 | 25 | /* This hideous test of hideousness checks for the selector "blockquote" with various permutations of hex escapes */ 26 | \62\6c\6f \63 \6B \0071 \000075o\74 e { 27 | color: silver; 28 | } 29 | 30 | [ng\:cloak], 31 | ng\:form { 32 | display: none; 33 | } 34 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/nopt/node_modules/abbrev/README.md: -------------------------------------------------------------------------------- 1 | # abbrev-js 2 | 3 | Just like [ruby's Abbrev](http://apidock.com/ruby/Abbrev). 4 | 5 | Usage: 6 | 7 | var abbrev = require("abbrev"); 8 | abbrev("foo", "fool", "folding", "flop"); 9 | 10 | // returns: 11 | { fl: 'flop' 12 | , flo: 'flop' 13 | , flop: 'flop' 14 | , fol: 'folding' 15 | , fold: 'folding' 16 | , foldi: 'folding' 17 | , foldin: 'folding' 18 | , folding: 'folding' 19 | , foo: 'foo' 20 | , fool: 'fool' 21 | } 22 | 23 | This is handy for command-line scripts, or other cases where you want to be able to accept shorthands. 24 | -------------------------------------------------------------------------------- /lib/onyx/css/Icon.less: -------------------------------------------------------------------------------- 1 | /* Icon.css */ 2 | .onyx-icon, .onyx-icon-toggle { 3 | width: @onyx-icon-size; 4 | height: @onyx-icon-size; 5 | background-repeat: no-repeat; 6 | display: inline-block; 7 | vertical-align: middle; 8 | } 9 | 10 | .onyx-icon.onyx-icon-button.active, .onyx-icon.onyx-icon-button.pressed, .onyx-icon.onyx-icon-button:active:hover, .onyx-icon-toggle.active { 11 | background-position: 0 -@onyx-icon-size; 12 | } 13 | 14 | .onyx-icon.disabled { 15 | opacity: @onyx-disabled-opacity; 16 | filter: alpha(opacity=@onyx-disabled-opacity-ie); 17 | } 18 | 19 | .onyx-icon.disabled:active:hover { 20 | background-position: 0 0px; 21 | } 22 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "less", 3 | "description" : "Leaner CSS", 4 | "url" : "http://lesscss.org", 5 | "keywords" : ["css", "parser", "lesscss", "browser"], 6 | "author" : "Alexis Sellier ", 7 | "contributors" : [], 8 | "version" : "1.3.0", 9 | "bin" : { "lessc": "./bin/lessc" }, 10 | "main" : "./lib/less/index", 11 | "directories" : { "test": "./test" }, 12 | "engines" : { "node": ">=0.4.0" }, 13 | "devDependencies" : { "diff": "~1.0.2" }, 14 | "scripts": { 15 | "test": "make test" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/pwd.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'), 4 | path = require('path'); 5 | 6 | shell.silent(true); 7 | 8 | function numLines(str) { 9 | return typeof str === 'string' ? str.match(/\n/g).length : 0; 10 | } 11 | 12 | shell.rm('-rf', 'tmp'); 13 | shell.mkdir('tmp') 14 | 15 | // 16 | // Valids 17 | // 18 | 19 | var _pwd = shell.pwd(); 20 | assert.equal(shell.error(), null); 21 | assert.equal(_pwd, path.resolve('.')); 22 | 23 | shell.cd('tmp'); 24 | var _pwd = shell.pwd(); 25 | assert.equal(shell.error(), null); 26 | assert.equal(path.basename(_pwd), 'tmp'); 27 | 28 | shell.exit(123); 29 | -------------------------------------------------------------------------------- /lib/onyx/css/MoreToolbar.less: -------------------------------------------------------------------------------- 1 | /* MoreToolbar.css */ 2 | .onyx-more-toolbar { 3 | overflow: visible; 4 | position: relative; 5 | z-index: 10; 6 | } 7 | 8 | .onyx-more-toolbar.active { 9 | z-index:11; 10 | } 11 | 12 | .onyx-more-menu { 13 | left: auto; 14 | right: 0px; 15 | min-width: 0; 16 | } 17 | 18 | .onyx-more-toolbar .onyx-more-menu > * { 19 | float: right; 20 | clear: both; 21 | margin: 5px; 22 | margin-top: 5px; 23 | margin-bottom: 5px; 24 | } 25 | 26 | .onyx-more-button { 27 | background-image: @onyx-more-toolbar-button-image; 28 | width: @onyx-more-toolbar-button-image-width; 29 | height: @onyx-more-toolbar-button-image-height; 30 | } 31 | -------------------------------------------------------------------------------- /source/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "$lib/layout", 3 | "$lib/onyx", // To theme Onyx using Theme.less, change this line to $lib/onyx/source, 4 | //"Theme.less", // uncomment this line, and follow the steps described in Theme.less 5 | "app.css", 6 | "login.js", 7 | "signup.js", 8 | "addexternal.js", 9 | "addinternal.js", 10 | "optionalsettings.js", 11 | "postcompose.js", 12 | "posts.js", 13 | "postsettings.js", 14 | "postpreview.js", 15 | "pagecompose.js", 16 | "pages.js", 17 | "pagesettings.js", 18 | "pagepreview.js", 19 | "sessvars.js", 20 | "comments.js", 21 | "reader.js", 22 | "menu.js", 23 | "xmlrpcservice.js", 24 | "jquery-1.10.2.min" 25 | ); 26 | -------------------------------------------------------------------------------- /enyo/tools/test/core/tests/ComponentTest.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "ComponentTest", 3 | kind: enyo.TestSuite, 4 | testNestedComponentUndefinedKind: function() { 5 | var pass = false; 6 | // should throw exception as this is an error 7 | try { 8 | var a = enyo.kind( 9 | { 10 | name: "parentComponent", 11 | components: [ 12 | { 13 | name: "nestedComponent", 14 | kind: undefined 15 | } 16 | ] 17 | } 18 | ); 19 | new a({}); 20 | } catch(e) { 21 | pass = true; 22 | } 23 | if (!pass) { 24 | throw("no exception for explicitly undefined kind in a nested component"); 25 | } 26 | this.finish(); 27 | } 28 | }); -------------------------------------------------------------------------------- /lib/onyx/css/RichText.less: -------------------------------------------------------------------------------- 1 | /* RichText.css */ 2 | .onyx-input-decorator > .onyx-richtext { 3 | /* reset */ 4 | margin: 0; 5 | padding: 0; 6 | border: none; 7 | outline: none; 8 | cursor: pointer; 9 | background-color: @onyx-input-background; 10 | background-image: none; 11 | font-size: @onyx-richtext-font-size; 12 | min-height: 20px; 13 | min-width: 100px; 14 | box-shadow: none; 15 | /* FIXME: hack for styling reset on Android */ 16 | /* -webkit-appearance: caret;*/ 17 | } 18 | 19 | .onyx-input-decorator.onyx-focused > .onyx-richtext { 20 | cursor: text; 21 | } 22 | 23 | .onyx-input-decorator.onyx-disabled > .onyx-richtext { 24 | cursor: default; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/parens.less: -------------------------------------------------------------------------------- 1 | .parens { 2 | @var: 1px; 3 | border: (@var * 2) solid black; 4 | margin: (@var * 1) (@var + 2) (4 * 4) 3; 5 | width: (6 * 6); 6 | padding: 2px (6px * 6px); 7 | } 8 | 9 | .more-parens { 10 | @var: (2 * 2); 11 | padding: (2 * @var) 4 4 (@var * 1px); 12 | width: (@var * @var) * 6; 13 | height: (7 * 7) + (8 * 8); 14 | margin: 4 * (5 + 5) / 2 - (@var * 2); 15 | //margin: (6 * 6)px; 16 | } 17 | 18 | .nested-parens { 19 | width: 2 * (4 * (2 + (1 + 6))) - 1; 20 | height: ((2+3)*(2+3) / (9-4)) + 1; 21 | } 22 | 23 | .mixed-units { 24 | margin: 2px 4em 1 5pc; 25 | padding: (2px + 4px) 1em 2px 2; 26 | } 27 | -------------------------------------------------------------------------------- /lib/layout/list/samples/ListBasicSample.css: -------------------------------------------------------------------------------- 1 | .list-sample { 2 | background-color: gray; 3 | } 4 | .list-sample-list { 5 | width: 50%; 6 | min-width: 300px; 7 | max-width: 600px; 8 | margin: auto; 9 | background-color: #eee; 10 | } 11 | .list-sample-item { 12 | border: 1px solid silver; 13 | padding: 18px; 14 | font-size: 18px; 15 | font-weight: bold; 16 | } 17 | .list-sample-index { 18 | float: right; 19 | font-size: 16px; 20 | font-weight: normal; 21 | } 22 | .list-sample-selected { 23 | background-color: #c4e3fe; 24 | } 25 | /* needed to make onyx-highlight more specific for highlighting to work */ 26 | .onyx-highlight.list-sample-selected { 27 | background-color: #dedfdf; 28 | } -------------------------------------------------------------------------------- /enyo/samples/Playground.css: -------------------------------------------------------------------------------- 1 | .playground-sample-player { 2 | padding: 15px; 3 | } 4 | 5 | .playground-sample-source { 6 | padding:15px; 7 | font-family: monospace; 8 | font-size: 12px; 9 | white-space: pre-wrap; 10 | box-sizing: border-box; 11 | width:100%; 12 | height:100%; 13 | } 14 | 15 | .playground-sample-panels > * { 16 | width:320px; 17 | box-shadow: -4px 0px 4px rgba(0,0,0,0.3); 18 | -moz-box-shadow: -4px 0px 4px rgba(0,0,0,0.3); 19 | -webkit-box-shadow: -4px 0px 4px rgba(0,0,0,0.3); 20 | } 21 | 22 | .sample-output { 23 | min-height: 200px; 24 | border: 1px solid black; 25 | margin: 10px; 26 | padding: 10px; 27 | border-radius: 10px; 28 | text-align: center; 29 | } 30 | -------------------------------------------------------------------------------- /lib/onyx/source/TextArea.js: -------------------------------------------------------------------------------- 1 | /** 2 | _onyx.TextArea_ is an Onyx-styled TextArea control, derived from 3 | enyo.TextArea. Typically, an _onyx.TextArea_ 4 | is placed inside an onyx.InputDecorator, 5 | which provides styling, e.g.: 6 | 7 | {kind: "onyx.InputDecorator", components: [ 8 | {kind: "onyx.TextArea", onchange: "inputChange"} 9 | ]} 10 | 11 | For more information, see the documentation on 12 | [Text Fields](https://github.com/enyojs/enyo/wiki/Text-Fields) in the Enyo 13 | Developer Guide. 14 | */ 15 | enyo.kind({ 16 | name: "onyx.TextArea", 17 | kind: "enyo.TextArea", 18 | classes: "onyx-textarea" 19 | }); 20 | -------------------------------------------------------------------------------- /lib/onyx/source/Input.js: -------------------------------------------------------------------------------- 1 | /** 2 | _onyx.Input_ is an Onyx-styled input control, derived from 3 | enyo.Input. Typically, an _onyx.Input_ is placed 4 | inside an onyx.InputDecorator, which 5 | provides styling, e.g.: 6 | 7 | {kind: "onyx.InputDecorator", components: [ 8 | {kind: "onyx.Input", placeholder: "Enter some text...", onchange: "inputChange"} 9 | ]} 10 | 11 | For more information, see the documentation on 12 | [Text Fields](https://github.com/enyojs/enyo/wiki/Text-Fields) in the Enyo 13 | Developer Guide. 14 | */ 15 | enyo.kind({ 16 | name: "onyx.Input", 17 | kind: "enyo.Input", 18 | classes: "onyx-input" 19 | }); 20 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/rulesets.less: -------------------------------------------------------------------------------- 1 | #first > .one { 2 | > #second .two > #deux { 3 | width: 50%; 4 | #third { 5 | &:focus { 6 | color: black; 7 | #fifth { 8 | > #sixth { 9 | .seventh #eighth { 10 | + #ninth { 11 | color: purple; 12 | } 13 | } 14 | } 15 | } 16 | } 17 | height: 100%; 18 | } 19 | #fourth, #five, #six { 20 | color: #110000; 21 | .seven, .eight > #nine { 22 | border: 1px solid black; 23 | } 24 | #ten { 25 | color: red; 26 | } 27 | } 28 | } 29 | font-size: 2em; 30 | } 31 | -------------------------------------------------------------------------------- /lib/layout/fittable/source/FittableRows.js: -------------------------------------------------------------------------------- 1 | /** 2 | _enyo.FittableRows_ provides a container in which items are laid out in a 3 | set of horizontal rows, with most of the items having natural size, but one 4 | expanding to fill the remaining space. The one that expands is labeled with 5 | the attribute _fit: true_. 6 | 7 | For more information, see the documentation on 8 | [Fittables](https://github.com/enyojs/enyo/wiki/Fittables) in the Enyo 9 | Developer Guide. 10 | */ 11 | enyo.kind({ 12 | name: "enyo.FittableRows", 13 | layoutKind: "FittableRowsLayout", 14 | /** By default, items in rows stretch to fit horizontally; set to true to 15 | avoid this behavior */ 16 | noStretch: false 17 | }); 18 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/lib/less/tree/anonymous.js: -------------------------------------------------------------------------------- 1 | (function (tree) { 2 | 3 | tree.Anonymous = function (string) { 4 | this.value = string.value || string; 5 | }; 6 | tree.Anonymous.prototype = { 7 | toCSS: function () { 8 | return this.value; 9 | }, 10 | eval: function () { return this }, 11 | compare: function (x) { 12 | if (!x.toCSS) { 13 | return -1; 14 | } 15 | 16 | var left = this.toCSS(), 17 | right = x.toCSS(); 18 | 19 | if (left === right) { 20 | return 0; 21 | } 22 | 23 | return left < right ? -1 : 1; 24 | } 25 | }; 26 | 27 | })(require('../tree')); 28 | -------------------------------------------------------------------------------- /lib/onyx/css/Scrim.less: -------------------------------------------------------------------------------- 1 | /* Scrim.css */ 2 | .onyx-scrim { 3 | z-index: 1; 4 | /* 5 | note: by using pointer-events we allow tapping on scrim 6 | while it is fading out; however, this requires any showing classes 7 | to set pointer events to auto or scrim will not function as expected. 8 | */ 9 | pointer-events: none; 10 | } 11 | 12 | @onyx-scrim-opacity-ie: @onyx-scrim-opacity*100; 13 | .onyx-scrim.onyx-scrim-translucent{ 14 | pointer-events: auto; 15 | background-color: @onyx-scrim-background; 16 | opacity: @onyx-scrim-opacity; 17 | filter: alpha(opacity=@onyx-scrim-opacity-ie); 18 | } 19 | 20 | .onyx-scrim.onyx-scrim-transparent { 21 | pointer-events: auto; 22 | background: transparent; 23 | } 24 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/debug/linenumbers-comments.css: -------------------------------------------------------------------------------- 1 | /* line 21, {pathimport}test.less */ 2 | .tst3 { 3 | color: grey; 4 | } 5 | /* line 13, {path}linenumbers.less */ 6 | .test1 { 7 | color: black; 8 | } 9 | /* line 4, {path}linenumbers.less */ 10 | .test2 { 11 | color: red; 12 | } 13 | @media all { 14 | /* line 3, {pathimport}test.less */ 15 | .tst { 16 | color: black; 17 | } 18 | } 19 | @media all and screen { 20 | /* line 5, {pathimport}test.less */ 21 | .tst { 22 | color: red; 23 | } 24 | /* line 7, {pathimport}test.less */ 25 | .tst .tst3 { 26 | color: white; 27 | } 28 | } 29 | /* line 16, {pathimport}test.less */ 30 | .tst2 { 31 | color: white; 32 | } 33 | -------------------------------------------------------------------------------- /enyo/tools/test/core/test.css: -------------------------------------------------------------------------------- 1 | .enyo-testcase { 2 | font-family: Helvetica, Arial, sans-serif; 3 | font-size: smaller; 4 | } 5 | 6 | .enyo-testcase-title { 7 | font-weight: bold; 8 | padding: 4px; 9 | color: white; 10 | background-color: #222; 11 | text-align: center; 12 | } 13 | 14 | .enyo-testcase-group { 15 | } 16 | 17 | .enyo-testcase-running, .enyo-testcase-passed, .enyo-testcase-failed { 18 | padding: 4px 4px 4px 36px; 19 | border-bottom: 1px dotted gray; 20 | white-space: pre; 21 | } 22 | 23 | .enyo-testcase-running { 24 | background-color: yellow; 25 | } 26 | 27 | .enyo-testcase-passed { 28 | background-color: #B0FFB0; 29 | } 30 | 31 | .enyo-testcase-failed { 32 | background-color: #FF8080; 33 | } -------------------------------------------------------------------------------- /lib/onyx/source/RichText.js: -------------------------------------------------------------------------------- 1 | /** 2 | _onyx.RichText_ is an Onyx-styled RichText control, derived from 3 | enyo.RichText. Typically, an _onyx.RichText_ 4 | is placed inside an onyx.InputDecorator, 5 | which provides styling, e.g.: 6 | 7 | {kind: "onyx.InputDecorator", components: [ 8 | {kind: "onyx.RichText", style: "width: 100px;", onchange: "inputChange"} 9 | ]} 10 | 11 | For more information, see the documentation on 12 | [Text Fields](https://github.com/enyojs/enyo/wiki/Text-Fields) in the Enyo 13 | Developer Guide. 14 | */ 15 | enyo.kind({ 16 | name: "onyx.RichText", 17 | kind: "enyo.RichText", 18 | classes: "onyx-richtext" 19 | }); 20 | -------------------------------------------------------------------------------- /enyo/tools/test/ajax/php/test5.php: -------------------------------------------------------------------------------- 1 | header('HTTP/1.1 500: Internal Server Error'); 7 | //header('HTTP/1.1 500 Internal Server Error'); 8 | //http_response_code(500); // php >= 5.4 9 | header('X-PHP-Response-Code: 500', true, 500); // php >= 4.3 10 | 11 | // can't use odd charset due to IE exception throwing 12 | //header('Content-Type: text/plain; charset=x-user-unparseable'); 13 | header('Content-Type: text/plain; charset=utf-8'); 14 | 15 | echo "my error description"; 16 | break; 17 | default: 18 | echo "invalid method"; 19 | } 20 | ?> -------------------------------------------------------------------------------- /lib/layout/fittable/source/FittableColumns.js: -------------------------------------------------------------------------------- 1 | /** 2 | _enyo.FittableColumns_ provides a container in which items are laid out in a 3 | set of vertical columns, with most items having natural size, but one 4 | expanding to fill the remaining space. The one that expands is labeled with 5 | the attribute _fit: true_. 6 | 7 | For more information, see the documentation on 8 | [Fittables](https://github.com/enyojs/enyo/wiki/Fittables) in the Enyo 9 | Developer Guide. 10 | 11 | */ 12 | 13 | enyo.kind({ 14 | name: "enyo.FittableColumns", 15 | layoutKind: "FittableColumnsLayout", 16 | /** By default, items in columns stretch to fit vertically; set to true to 17 | avoid this behavior */ 18 | noStretch: false 19 | }); 20 | -------------------------------------------------------------------------------- /lib/onyx/source/PickerButton.js: -------------------------------------------------------------------------------- 1 | /** 2 | _onyx.PickerButton_ is a button that, when tapped, shows an 3 | onyx.Picker. Once an item is selected, the list 4 | of items closes, but the item stays selected and the PickerButton displays 5 | the choice that was made. 6 | 7 | For more information, see the documentation on 8 | [Pickers](https://github.com/enyojs/enyo/wiki/Pickers) in the Enyo Developer 9 | Guide. 10 | */ 11 | enyo.kind({ 12 | name: "onyx.PickerButton", 13 | kind: "onyx.Button", 14 | handlers: { 15 | onChange: "change" 16 | }, 17 | change: function(inSender, inEvent) { 18 | if (inEvent.content !== undefined){ 19 | this.setContent(inEvent.content); 20 | } 21 | } 22 | }); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/lib/less/tree/value.js: -------------------------------------------------------------------------------- 1 | (function (tree) { 2 | 3 | tree.Value = function (value) { 4 | this.value = value; 5 | this.is = 'value'; 6 | }; 7 | tree.Value.prototype = { 8 | eval: function (env) { 9 | if (this.value.length === 1) { 10 | return this.value[0].eval(env); 11 | } else { 12 | return new(tree.Value)(this.value.map(function (v) { 13 | return v.eval(env); 14 | })); 15 | } 16 | }, 17 | toCSS: function (env) { 18 | return this.value.map(function (e) { 19 | return e.toCSS(env); 20 | }).join(env.compress ? ',' : ', '); 21 | } 22 | }; 23 | 24 | })(require('../tree')); 25 | -------------------------------------------------------------------------------- /lib/onyx/css/ProgressButton.less: -------------------------------------------------------------------------------- 1 | /* ProgressButton.css */ 2 | .onyx-progress-button { 3 | position: relative; 4 | height: 36px; 5 | line-height: 36px; 6 | color: @onyx-progressbutton-text-color; 7 | font-size: @onyx-progressbutton-font-size; 8 | text-overflow: ellipsis; 9 | } 10 | 11 | .onyx-progress-button-bar { 12 | height: 36px; 13 | } 14 | 15 | .onyx-progress-button-icon { 16 | display: inline-block; 17 | position: absolute; 18 | top: 2px; 19 | right: 0; 20 | } 21 | 22 | .onyx-progress-button-client { 23 | display: inline-block; 24 | position: absolute; 25 | top: 0; 26 | left: 0; 27 | right: 36px; 28 | margin-left: 8px; 29 | } 30 | 31 | .onyx-progress-button-client > * { 32 | display: inline-block; 33 | } 34 | -------------------------------------------------------------------------------- /lib/onyx/source/Grabber.js: -------------------------------------------------------------------------------- 1 | /** 2 | A control styled to indicate that an object can be grabbed and moved. It 3 | should only be used in this limited context--to indicate that dragging the 4 | object will result in movement. 5 | 6 | {kind: "onyx.Toolbar", components: [ 7 | {kind: "onyx.Grabber", ondragstart: "grabberDragstart", 8 | ondrag: "grabberDrag", ondragfinish: "grabberDragFinish"}, 9 | {kind: "onyx.Button", content: "More stuff"} 10 | ]} 11 | 12 | When using a Grabber inside a Fittable control, be sure to set "noStretch: true" 13 | on the Fittable or else give it an explicit height. Otherwise, the Grabber 14 | may not be visible. 15 | */ 16 | enyo.kind({ 17 | name: "onyx.Grabber", 18 | classes: "onyx-grabber" 19 | }); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/javascript.less: -------------------------------------------------------------------------------- 1 | .eval { 2 | js: `42`; 3 | js: `1 + 1`; 4 | js: `"hello world"`; 5 | js: `[1, 2, 3]`; 6 | title: `typeof process.title`; 7 | ternary: `(1 + 1 == 2 ? true : false)`; 8 | multiline: `(function(){var x = 1 + 1; 9 | return x})()`; 10 | } 11 | .scope { 12 | @foo: 42; 13 | var: `this.foo.toJS()`; 14 | escaped: ~`2 + 5 + 'px'`; 15 | } 16 | .vars { 17 | @var: `4 + 4`; 18 | width: @var; 19 | } 20 | .escape-interpol { 21 | @world: "world"; 22 | width: ~`"hello" + " " + @{world}`; 23 | } 24 | .arrays { 25 | @ary: 1, 2, 3; 26 | @ary2: 1 2 3; 27 | ary: `@{ary}.join(', ')`; 28 | ary1: `@{ary2}.join(', ')`; 29 | } 30 | -------------------------------------------------------------------------------- /enyo/tools/test/core/tests/LoaderTest.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "LoaderTest", 3 | kind: enyo.TestSuite, 4 | testSingleLoad: function() { 5 | enyo.load("tests/loader1.js", enyo.bind(this, 6 | function() { 7 | if (window.LOADER_TEST === "loader1") { 8 | this.finish(); 9 | } 10 | else { 11 | this.finish("callback called before load complete"); 12 | } 13 | } 14 | )); 15 | }, 16 | testMultipleLoad: function() { 17 | enyo.load(["tests/loader2a.js", "tests/loader2b.js"], 18 | enyo.bind(this, function() { 19 | if (window.LOADER_TEST === "loader2b") { 20 | this.finish(); 21 | } 22 | else { 23 | this.finish("callback called before load complete"); 24 | } 25 | } 26 | )); 27 | } 28 | }); -------------------------------------------------------------------------------- /lib/layout/fittable/samples/FittableAppLayout3.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "enyo.sample.FittableAppLayout3", 3 | kind: "FittableColumns", 4 | classes: "enyo-fit", 5 | components: [ 6 | {kind: "FittableRows", fit: true, components: [ 7 | {fit: true, classes: "fittable-sample-fitting-color"}, 8 | {classes: "fittable-sample-shadow3", style: "height: 30%; position: relative;"}, 9 | {kind: "onyx.Toolbar", components: [ 10 | {kind: "onyx.Button", content: "1"} 11 | ]} 12 | ]}, 13 | {kind: "FittableRows", classes: "fittable-sample-shadow", style: "width: 30%; position: relative;", components: [ 14 | {fit: true}, 15 | {kind: "onyx.Toolbar", components: [ 16 | {kind: "onyx.Button", content: "2"} 17 | ]} 18 | ]} 19 | ] 20 | }); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/mixins-pattern.css: -------------------------------------------------------------------------------- 1 | .zero { 2 | variadic: true; 3 | zero: 0; 4 | one: 1; 5 | two: 2; 6 | three: 3; 7 | } 8 | .one { 9 | variadic: true; 10 | one: 1; 11 | one-req: 1; 12 | two: 2; 13 | three: 3; 14 | } 15 | .two { 16 | variadic: true; 17 | two: 2; 18 | three: 3; 19 | } 20 | .three { 21 | variadic: true; 22 | three-req: 3; 23 | three: 3; 24 | } 25 | .left { 26 | left: 1; 27 | } 28 | .right { 29 | right: 1; 30 | } 31 | .border-right { 32 | color: black; 33 | border-right: 4px; 34 | } 35 | .border-left { 36 | color: black; 37 | border-left: 4px; 38 | } 39 | .only-right { 40 | right: 33; 41 | } 42 | .only-left { 43 | left: 33; 44 | } 45 | .left-right { 46 | both: 330; 47 | } 48 | -------------------------------------------------------------------------------- /lib/layout/fittable/samples/FittableAppLayout1.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "enyo.sample.FittableAppLayout1", 3 | kind: "FittableRows", 4 | classes: "enyo-fit", 5 | components: [ 6 | {kind: "onyx.Toolbar", components: [ 7 | {content: "Header"}, 8 | {kind: "onyx.Button", content: "Button"}, 9 | {kind: "onyx.InputDecorator", components: [ 10 | {kind: "onyx.Input"} 11 | ]} 12 | ]}, 13 | {kind: "FittableColumns", fit: true, components: [ 14 | {style: "width: 30%;"}, 15 | {kind: "FittableRows", fit: true, classes: "fittable-sample-shadow", components: [ 16 | {classes: "fittable-sample-shadow2", style: "height: 30%; position: relative; z-index: 1;"}, 17 | {fit: true, classes: "fittable-sample-fitting-color"} 18 | ]} 19 | ]} 20 | ] 21 | }); -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | WordPress 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /lib/layout/fittable/samples/FittableAppLayout4.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "enyo.sample.FittableAppLayout4", 3 | kind: "FittableColumns", 4 | classes: "enyo-fit", 5 | components: [ 6 | {kind: "FittableRows", classes: "fittable-sample-shadow4", style: "width: 30%; position: relative; z-index: 1;", components: [ 7 | {style: "height: 20%;"}, 8 | {style: "height: 20%;"}, 9 | {fit: true}, 10 | {kind: "onyx.Toolbar", style: "height: 57px;", components: [ 11 | {content: "Toolbar"} 12 | ]} 13 | ]}, 14 | {kind: "FittableRows", fit: true, components: [ 15 | {fit: true, classes: "fittable-sample-fitting-color"}, 16 | {kind: "onyx.Toolbar", style: "height: 57px;",components: [ 17 | {kind: "onyx.Button", content: "2"} 18 | ]} 19 | ]} 20 | ] 21 | }); -------------------------------------------------------------------------------- /lib/onyx/samples/DrawerSample.css: -------------------------------------------------------------------------------- 1 | .drawer-sample { 2 | padding: 10px; 3 | } 4 | .drawer-sample-divider { 5 | color: #F49200; 6 | text-transform: uppercase; 7 | font-family: Segoe UI, Prelude Medium, Helvetica, Verdana, sans-serif; 8 | font-size: 14px; 9 | font-weight: bold; 10 | margin-bottom: 8px; 11 | } 12 | .drawer-sample-label { 13 | color: #1879CD; 14 | font-size: 18px; 15 | text-transform: uppercase; 16 | } 17 | .drawer-sample-box { 18 | border: 2px solid lightblue; 19 | padding: 4px; 20 | white-space: nowrap; 21 | overflow:hidden; 22 | } 23 | .drawer-sample-mtb { 24 | margin-top: 3px; 25 | margin-bottom: 3px; 26 | } 27 | .drawer-sample-mlr { 28 | margin-left: 6px; 29 | margin-right: 6px; 30 | } 31 | .drawer-sample-o { 32 | border-color: orange; 33 | } -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/lib/less/tree/expression.js: -------------------------------------------------------------------------------- 1 | (function (tree) { 2 | 3 | tree.Expression = function (value) { this.value = value }; 4 | tree.Expression.prototype = { 5 | eval: function (env) { 6 | if (this.value.length > 1) { 7 | return new(tree.Expression)(this.value.map(function (e) { 8 | return e.eval(env); 9 | })); 10 | } else if (this.value.length === 1) { 11 | return this.value[0].eval(env); 12 | } else { 13 | return this; 14 | } 15 | }, 16 | toCSS: function (env) { 17 | return this.value.map(function (e) { 18 | return e.toCSS ? e.toCSS(env) : ''; 19 | }).join(' '); 20 | } 21 | }; 22 | 23 | })(require('../tree')); 24 | -------------------------------------------------------------------------------- /enyo/samples/AjaxSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | AJAX Sample 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /enyo/samples/JsonpSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | JSON-P Sample 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /lib/layout/fittable/samples/FittableTests.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Fittable Tests 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/css/whitespace.css: -------------------------------------------------------------------------------- 1 | .whitespace { 2 | color: white; 3 | } 4 | .whitespace { 5 | color: white; 6 | } 7 | .whitespace { 8 | color: white; 9 | } 10 | .whitespace { 11 | color: white; 12 | } 13 | .whitespace { 14 | color: white ; 15 | } 16 | .white, 17 | .space, 18 | .mania { 19 | color: white; 20 | } 21 | .no-semi-column { 22 | color: #ffffff; 23 | } 24 | .no-semi-column { 25 | color: white; 26 | white-space: pre; 27 | } 28 | .no-semi-column { 29 | border: 2px solid #ffffff; 30 | } 31 | .newlines { 32 | background: the, 33 | great, 34 | wall; 35 | border: 2px 36 | solid 37 | black; 38 | } 39 | .sel .newline_ws .tab_ws { 40 | color: white; 41 | background-position: 45 -23; 42 | } 43 | -------------------------------------------------------------------------------- /manifest.webapp: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.01", 3 | "name": "WordPress", 4 | "launch_path": "/index.html", 5 | "description": "WordPress for Firefox OS.", 6 | "icons": { 7 | "30": "/images/icon30.png", 8 | "48": "/images/icon48.png", 9 | "60": "/images/icon60.png", 10 | "64": "/images/icon64.png", 11 | "128": "/images/icon128.png" 12 | }, 13 | "developer": { 14 | "name": "Sayak Sarkar", 15 | "url": "http://sayak.in" 16 | }, 17 | "installs_allowed_from": ["*"], 18 | "permissions": { 19 | "systemXHR": { 20 | "description":"Required for remote syncing via XMLRPC." 21 | } 22 | }, 23 | "type": "privileged", 24 | "orientation": "portrait-primary", 25 | "default_locale": "en" 26 | } 27 | -------------------------------------------------------------------------------- /enyo/samples/GestureSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Gesture Sample 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /lib/layout/fittable/samples/FittableSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Fittables Basic Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /lib/layout/panels/samples/PanelsSample.css: -------------------------------------------------------------------------------- 1 | .panels-sample-panels { 2 | min-height: 320px; 3 | min-width: 320px; 4 | } 5 | 6 | .panels-sample-panels > * { 7 | border: 2px solid #333; 8 | font-size: 5em; 9 | text-align: center; 10 | } 11 | 12 | .panels-sample-wide > * { 13 | min-width: 50%; 14 | } 15 | 16 | .panels-sample-collapsible > * { 17 | min-width: 250px; 18 | } 19 | 20 | .panels-sample-spiral > * { 21 | min-width:150px; 22 | min-height:150px; 23 | max-height:150px; 24 | max-width:150px; 25 | } 26 | 27 | .panels-sample-grid > * { 28 | min-width:150px; 29 | min-height:150px; 30 | max-height:150px; 31 | max-width:150px; 32 | } 33 | .arranger-scroller { 34 | } 35 | 36 | @media screen and (max-width: 480px) { 37 | .arranger-scroller { 38 | max-height: 270px; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /enyo/samples/PlatformSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Platform Sample 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /enyo/samples/RepeaterSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Repeater Sample 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /enyo/samples/ScrollerSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Scroller Sample 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/test/less/whitespace.less: -------------------------------------------------------------------------------- 1 | 2 | 3 | .whitespace 4 | { color: white; } 5 | 6 | .whitespace 7 | { 8 | color: white; 9 | } 10 | .whitespace 11 | { color: white; } 12 | 13 | .whitespace{color:white;} 14 | .whitespace { color : white ; } 15 | 16 | .white, 17 | .space, 18 | .mania 19 | { color: white; } 20 | 21 | .no-semi-column { color: white } 22 | .no-semi-column { 23 | color: white; 24 | white-space: pre 25 | } 26 | .no-semi-column {border: 2px solid white} 27 | .newlines { 28 | background: the, 29 | great, 30 | wall; 31 | border: 2px 32 | solid 33 | black; 34 | } 35 | .empty { 36 | 37 | } 38 | .sel 39 | .newline_ws .tab_ws { 40 | color: 41 | white; 42 | background-position: 45 43 | -23; 44 | } 45 | -------------------------------------------------------------------------------- /enyo/source/ui/BaseLayout.js: -------------------------------------------------------------------------------- 1 | /** 2 | _enyo.BaseLayout_ provides a basic layout strategy, positioning contained 3 | components with the _enyo-positioned_ layoutClass. In addition, it adjusts 4 | the layout when _reflow_ is called, removing or adding the _enyo-fit_ class 5 | for components that have set the _fit_ property. 6 | */ 7 | enyo.kind({ 8 | name: "enyo.BaseLayout", 9 | kind: enyo.Layout, 10 | layoutClass: "enyo-positioned", 11 | //* Adds or removes the _enyo-fit_ class for components whose _fit_ property 12 | //* has been set. 13 | reflow: function() { 14 | enyo.forEach(this.container.children, function(c) { 15 | if (c.fit !== null) { 16 | c.addRemoveClass("enyo-fit", c.fit); 17 | } 18 | }, this); 19 | } 20 | }); 21 | 22 | //enyo.Control.prototype.layoutKind = "enyo.BaseLayout"; -------------------------------------------------------------------------------- /lib/layout/tree/source/Node.css: -------------------------------------------------------------------------------- 1 | .enyo-node { 2 | cursor: default; 3 | padding: 4px; 4 | } 5 | 6 | .enyo-node img { 7 | vertical-align: middle; 8 | padding-right: 6px; 9 | } 10 | 11 | .enyo-node-box { 12 | overflow: hidden; 13 | } 14 | 15 | .enyo-node-client { 16 | position: relative; 17 | } 18 | 19 | .enyo-animate .enyo-node-box, .enyo-animate .enyo-node-client { 20 | -ms-transition-property: height, top; 21 | -ms-transition-duration: 0.2s, 0.2s; 22 | -moz-transition-property: height, top; 23 | -moz-transition-duration: 0.2s, 0.2s; 24 | -o-transition-property: height, top; 25 | -o-transition-duration: 0.2s, 0.2s; 26 | -webkit-transition-property: height, top; 27 | -webkit-transition-duration: 0.2s, 0.2s; 28 | transition-property: height, top; 29 | transition-duration: 0.2s, 0.2s; 30 | } 31 | -------------------------------------------------------------------------------- /enyo/samples/WebServiceSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | WebService Sample 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /lib/layout/fittable/samples/FittableDescription.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Fittables Description 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /lib/onyx/css/TextArea.less: -------------------------------------------------------------------------------- 1 | /* TextArea.css */ 2 | .onyx-input-decorator > textarea { 3 | /* reset */ 4 | margin: 0; 5 | padding: 0; 6 | border: none; 7 | outline: none; 8 | cursor: pointer; 9 | background-color: @onyx-input-background; 10 | background-image: none; 11 | font-size: @onyx-textarea-font-size; 12 | box-shadow: none; 13 | /* Remove scrollbars and resize handle */ 14 | resize: none; 15 | overflow: auto; 16 | /* FIXME: hack for styling reset on Android */ 17 | /* -webkit-appearance: caret;*/ 18 | } 19 | 20 | .onyx-input-decorator.onyx-focused > textarea { 21 | cursor: text; 22 | } 23 | 24 | .onyx-input-decorator.onyx-disabled > textarea { 25 | cursor: default; 26 | } 27 | 28 | .onyx-textarea { 29 | /* need >=50px for scrollbar to be usable on mac */ 30 | min-height: 50px; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /enyo/source/ajax/json.js: -------------------------------------------------------------------------------- 1 | enyo.json = { 2 | //* @public 3 | /** 4 | Returns a JSON string for a given object, using native stringify 5 | routine. 6 | inValue is the Object to be converted to JSON. 7 | inReplacer is the optional value inclusion array or replacement function. 8 | inSpace is the optional number or string to use for pretty-printing whitespace. 9 | */ 10 | stringify: function(inValue, inReplacer, inSpace) { 11 | return JSON.stringify(inValue, inReplacer, inSpace); 12 | }, 13 | /** 14 | Returns a JavaScript object for a given JSON string, using native stringify 15 | routine. 16 | inJson is the JSON string to be converted to a JavaScript object. 17 | */ 18 | parse: function(inJson, inReviver) { 19 | return inJson ? JSON.parse(inJson, inReviver) : null; 20 | } 21 | }; 22 | -------------------------------------------------------------------------------- /enyo/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "enyo", 3 | "filename": "enyo.js", 4 | "version": "2.2.0", 5 | "description":"Enyo is an open source object-oriented JavaScript framework emphasizing encapsulation and modularity. Enyo contains everything you need to create a fast, scalable mobile or web application.", 6 | "homepage": "http://enyojs.com/", 7 | "keywords": [ "framework", "toolkit", "components", "mobile", "webOS" ], 8 | "maintainers": [{ 9 | "name": "Enyo JS Framework Team (HP)", 10 | "web": "http://enyojs.com/" 11 | }], 12 | "licenses": [{ 13 | "type": "Apache-2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0" 14 | }], 15 | "bugs": "https://jira.enyojs.com/", 16 | "repositories": [{ 17 | "type": "git", "url": "http://github.com/enyojs/enyo" 18 | }] 19 | } 20 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/uglify-js.js: -------------------------------------------------------------------------------- 1 | //convienence function(src, [options]); 2 | function uglify(orig_code, options){ 3 | options || (options = {}); 4 | var jsp = uglify.parser; 5 | var pro = uglify.uglify; 6 | 7 | var ast = jsp.parse(orig_code, options.strict_semicolons); // parse code and get the initial AST 8 | ast = pro.ast_mangle(ast, options.mangle_options); // get a new AST with mangled names 9 | ast = pro.ast_squeeze(ast, options.squeeze_options); // get an AST with compression optimizations 10 | var final_code = pro.gen_code(ast, options.gen_options); // compressed code here 11 | return final_code; 12 | }; 13 | 14 | uglify.parser = require("./lib/parse-js"); 15 | uglify.uglify = require("./lib/process"); 16 | uglify.consolidator = require("./lib/consolidator"); 17 | 18 | module.exports = uglify 19 | -------------------------------------------------------------------------------- /lib/layout/list/source/AlphaJumper.css: -------------------------------------------------------------------------------- 1 | .enyo-alpha-jumper { 2 | text-transform: uppercase; 3 | font-size: 11px; 4 | xborder-radius: 12px; 5 | position: absolute; 6 | xbackground: white; 7 | text-align: center; 8 | right: 10px; 9 | z-index: 1; 10 | color: #333; 11 | padding: 0 14px; 12 | } 13 | 14 | .enyo-alpha-jumper > *:first-child { 15 | padding-top: 4px; 16 | border-radius: 12px 12px 0 0; 17 | border-top: 1px solid #333; 18 | } 19 | 20 | .enyo-alpha-jumper > *:last-child { 21 | padding-bottom: 4px; 22 | border-radius: 0 0 12px 12px; 23 | border-bottom: 1px solid #333; 24 | } 25 | 26 | .enyo-alpha-jumper > * { 27 | background: #eee; 28 | padding: 1px 4px; 29 | border-right: 1px solid #333; 30 | border-left: 1px solid #333; 31 | } 32 | 33 | .enyo-alpha-jumper > .active { 34 | background: #333; 35 | color: white; 36 | } -------------------------------------------------------------------------------- /lib/layout/tree/samples/TreeSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Tree Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/layout/slideable/samples/SlideableSample.css: -------------------------------------------------------------------------------- 1 | .slideable-sample { 2 | position: absolute; 3 | background-color: #333; 4 | color: #fff; 5 | } 6 | 7 | .slideable-sample.top { 8 | height: 200px; 9 | height: 40%; 10 | border-bottom: solid 1px #f00; 11 | } 12 | 13 | .slideable-sample.right { 14 | right: 0; 15 | left: auto; 16 | width: 200px; 17 | width: 40%; 18 | border-left: solid 1px #ff0; 19 | } 20 | 21 | .slideable-sample.bottom { 22 | top: auto; 23 | bottom: 0; 24 | height: 200px; 25 | height: 40%; 26 | border-top: solid 1px #fff; 27 | } 28 | 29 | .slideable-sample.left { 30 | width: 200px; 31 | width: 40%; 32 | border-right: solid 1px #0ff; 33 | } 34 | 35 | .slideableinfo-sample { 36 | background-color: #f0f; 37 | border: solid 1px #fff; 38 | max-width: 150px; 39 | text-align: center; 40 | vertical-align: middle; 41 | } -------------------------------------------------------------------------------- /enyo/samples/assets/Sample4.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "Sample", 3 | kind: "Control", 4 | components: [ 5 | {content: "Create a button control with the given content:", style: "padding: 10px 0;"}, 6 | {name: "input", tag: "input", attributes: {value: "Foo"}, style: "display: block;"}, 7 | {style: "padding: 10px 0;", components: [ 8 | {tag: "button", style: "margin-right: 10px;", content: "Add", ontap: "addTap"}, 9 | {tag: "button", content: "Clear", ontap: "clearTap"}, 10 | ]}, 11 | {name: "output"} 12 | ], 13 | addTap: function(inSender, inEvent) { 14 | var content = this.$.input.hasNode().value; 15 | this.createComponent({ 16 | tag: "button", 17 | content: content, 18 | container: this.$.output 19 | }).render(); 20 | }, 21 | clearTap: function(inSender, inEvent) { 22 | this.$.output.destroyClientControls(); 23 | } 24 | }); -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/uglify-js/tmp/hoist.js: -------------------------------------------------------------------------------- 1 | function foo(arg1, arg2, arg3, arg4, arg5, arg6) { 2 | var a = 5; 3 | { 4 | var d = 10, mak = 20, buz = 30; 5 | var q = buz * 2; 6 | } 7 | if (moo) { 8 | var a, b, c; 9 | } 10 | for (var arg1 = 0, d = 20; arg1 < 10; ++arg1) 11 | console.log(arg3); 12 | for (var i in mak) {} 13 | for (j in d) {} 14 | var d; 15 | 16 | function test() { 17 | 18 | }; 19 | 20 | //test(); 21 | 22 | (function moo(first, second){ 23 | console.log(first); 24 | })(1); 25 | 26 | (function moo(first, second){ 27 | console.log(moo()); 28 | })(1); 29 | } 30 | 31 | 32 | var foo; 33 | var bar; 34 | -------------------------------------------------------------------------------- /lib/onyx/samples/MenuSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Menu Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/layout/list/samples/ListBasicSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Basic List Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/ButtonSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Button Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/InputSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Input Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/PickerSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Picker Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/PopupSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Popup Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/SliderSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Slider Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/layout/list/samples/PersistentSwipeableItemSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Persistent Swipeable Item Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /lib/layout/slideable/samples/SlideableSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Slideable Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/SpinnerSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Spinner Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/TooltipSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Tooltip Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/CheckboxSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Checkbox Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/DrawerSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Drawer Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/GroupboxSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Groupbox Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/ProgressSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Progress Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /source/menu.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "wp.Menu", 3 | components: [ 4 | {kind: "FittableColumns", ontap: "activateColumnsDrawer", classes: "outer-box", 5 | components: [ 6 | {content: "Activate Horizontal", classes: "inner-box inner-box-h"}, 7 | {name: "columnsDrawer", orient: "h", kind: "onyx.Drawer", fit: true, open: false, 8 | components: [ 9 | {content: "Horizontal Drawer Horizontal Drawer", 10 | classes: "inner-box inner-box-h"} 11 | ] 12 | } 13 | ] 14 | } 15 | ], 16 | create: function () { 17 | this.inherited(arguments); 18 | }, 19 | activateColumnsDrawer: function(inSender, inEvent) { 20 | this.$.columnsDrawer.setOpen(!this.$.columnsDrawer.open); 21 | } 22 | }); -------------------------------------------------------------------------------- /lib/layout/fittable/samples/FittableAppLayout1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Fittable App Layout 1 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/layout/fittable/samples/FittableAppLayout2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Fittable App Layout 2 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/layout/fittable/samples/FittableAppLayout2.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "enyo.sample.FittableAppLayout2", 3 | kind: "FittableColumns", 4 | classes: "enyo-fit", 5 | components: [ 6 | {kind: "FittableRows", style: "width: 20%;", components: [ 7 | {fit: true}, 8 | {kind: "onyx.Toolbar", components: [ 9 | {kind: "onyx.Button", content: "1"} 10 | ]} 11 | ]}, 12 | {kind: "FittableRows", style: "width: 20%;", classes: "fittable-sample-shadow", components: [ 13 | {fit: true, style: ""}, 14 | {kind: "onyx.Toolbar", components: [ 15 | {kind: "onyx.Button", content: "2"} 16 | ]} 17 | ]}, 18 | {kind: "FittableRows", fit: true, classes: "fittable-sample-shadow", components: [ 19 | {fit: true, classes: "fittable-sample-fitting-color"}, 20 | {kind: "onyx.Toolbar", components: [ 21 | {kind: "onyx.Button", content: "3"} 22 | ]} 23 | ]} 24 | ] 25 | }); -------------------------------------------------------------------------------- /lib/layout/fittable/samples/FittableAppLayout3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Fittable App Layout 3 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/layout/fittable/samples/FittableAppLayout4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Fittable App Layout 4 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/layout/imageview/samples/ImageViewSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Image View Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /lib/onyx/samples/IconButtonSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IconButton Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/MoreToolbarSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | MoreToolbar Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /source/postpreview.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "wp.PostPreview", 3 | kind: "Scroller", 4 | components: [ 5 | //Header Toolbar Definition 6 | {kind: "onyx.Toolbar", layoutKind:"FittableColumnsLayout", classes: "toolbar", components: [ 7 | {kind: "onyx.Button", ontap: "backTap", style: "background-color: #21759b; width: 10px; margin-top: 10px; margin-left: -10px; margin-right: 4px; padding-top: 7px; padding-right: 0px;", components: [ 8 | {kind: "onyx.Icon", src: "images/toolbar/back.png", ontap: "backTap", style: "height: 38px;"}, 9 | ]}, 10 | {kind: "onyx.Icon", src: "images/toolbar/wp.png", style: "margin-left: 5px; margin-right: 4px; height: 38px; width: 38px;"}, 11 | {content: "Post Preview"} 12 | ]}, 13 | 14 | 15 | ], 16 | backTap: function(inSender, inEvent) { 17 | new wp.PostCompose().renderInto(document.body); 18 | populatePostComposer(); 19 | }, 20 | }); -------------------------------------------------------------------------------- /lib/layout/list/samples/ListPulldownSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Pulldown List Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/ButtonGroupSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Button Group Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/samples/ToggleButtonSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ToggleButton Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/which.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'), 4 | path = require('path'), 5 | fs = require('fs'); 6 | 7 | // Node shims for < v0.7 8 | fs.existsSync = fs.existsSync || path.existsSync; 9 | 10 | shell.silent(true); 11 | 12 | function numLines(str) { 13 | return typeof str === 'string' ? str.match(/\n/g).length : 0; 14 | } 15 | 16 | shell.rm('-rf', 'tmp'); 17 | shell.mkdir('tmp') 18 | 19 | // 20 | // Invalids 21 | // 22 | 23 | shell.which(); 24 | assert.ok(shell.error()); 25 | 26 | var result = shell.which('asdfasdfasdfasdfasdf'); // what are the odds... 27 | assert.equal(shell.error(), null); 28 | assert.equal(result, null); 29 | 30 | // 31 | // Valids 32 | // 33 | 34 | var result = shell.which('node'); 35 | assert.equal(shell.error(), null); 36 | assert.equal(fs.existsSync(result), true); 37 | 38 | shell.exit(123); 39 | -------------------------------------------------------------------------------- /lib/layout/imageview/samples/ImageCarouselSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Image Carousel Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/layout/list/samples/ListNoSelectSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Basic List Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /lib/onyx/source/package.js: -------------------------------------------------------------------------------- 1 | enyo.depends( 2 | "Icon.js", 3 | "Button.js", 4 | "IconButton.js", 5 | "Checkbox.js", 6 | "Drawer.js", 7 | "Grabber.js", 8 | "Groupbox.js", 9 | "Input.js", 10 | "Popup.js", 11 | "TextArea.js", 12 | "RichText.js", 13 | "InputDecorator.js", 14 | "Tooltip.js", 15 | "TooltipDecorator.js", 16 | "MenuDecorator.js", 17 | "Menu.js", 18 | "MenuItem.js", 19 | "PickerDecorator.js", 20 | "PickerButton.js", 21 | "Picker.js", 22 | "FlyweightPicker.js", 23 | "DatePicker.js", 24 | "TimePicker.js", 25 | "RadioButton.js", 26 | "RadioGroup.js", 27 | "ToggleButton.js", 28 | "ToggleIconButton.js", 29 | "Toolbar.js", 30 | "Tooltip.js", 31 | "TooltipDecorator.js", 32 | "ProgressBar.js", 33 | "ProgressButton.js", 34 | "Scrim.js", 35 | "Slider.js", 36 | "RangeSlider.js", 37 | "Item.js", 38 | "Spinner.js", 39 | "MoreToolbar.js", 40 | "IntegerPicker.js", 41 | "ContextualPopup.js" 42 | ); -------------------------------------------------------------------------------- /enyo/tools/node_modules/shelljs/test/to.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'), 4 | path = require('path'), 5 | fs = require('fs'); 6 | 7 | // Node shims for < v0.7 8 | fs.existsSync = fs.existsSync || path.existsSync; 9 | 10 | shell.silent(true); 11 | 12 | function numLines(str) { 13 | return typeof str === 'string' ? str.match(/\n/g).length : 0; 14 | } 15 | 16 | shell.rm('-rf', 'tmp'); 17 | shell.mkdir('tmp') 18 | 19 | // 20 | // Invalids 21 | // 22 | 23 | 'hello world'.to(); 24 | assert.ok(shell.error()); 25 | 26 | assert.equal(fs.existsSync('/asdfasdf'), false); // sanity check 27 | 'hello world'.to('/asdfasdf/file'); 28 | assert.ok(shell.error()); 29 | 30 | // 31 | // Valids 32 | // 33 | 34 | 'hello world'.to('tmp/to1'); 35 | var result = shell.cat('tmp/to1'); 36 | assert.equal(shell.error(), null); 37 | assert.equal(result, 'hello world'); 38 | 39 | shell.exit(123); 40 | -------------------------------------------------------------------------------- /enyo/source/ui/Image.js: -------------------------------------------------------------------------------- 1 | /** 2 | _enyo.Image_ implements an HTML <img> element and, optionally, bubbles 3 | the _onload_ and _onerror_ events. Image dragging is suppressed by default, 4 | so as not to interfere with touch interfaces. 5 | */ 6 | enyo.kind({ 7 | name: "enyo.Image", 8 | //* When true, no _onload_ or _onerror_ event handlers will be created 9 | noEvents: false, 10 | //* @protected 11 | tag: "img", 12 | attributes: { 13 | // note: draggable attribute takes one of these String values: "true", "false", "auto" 14 | // (Boolean _false_ would remove the attribute) 15 | draggable: "false" 16 | }, 17 | create: function() { 18 | if (this.noEvents) { 19 | delete this.attributes.onload; 20 | delete this.attributes.onerror; 21 | } 22 | this.inherited(arguments); 23 | }, 24 | rendered: function() { 25 | this.inherited(arguments); 26 | enyo.makeBubble(this, "load", "error"); 27 | } 28 | }); 29 | -------------------------------------------------------------------------------- /lib/layout/list/samples/ListNoSelectSample.js: -------------------------------------------------------------------------------- 1 | enyo.kind({ 2 | name: "enyo.sample.ListNoSelectSample", 3 | classes: "list-sample enyo-fit", 4 | components: [ 5 | {name: "list", kind: "List", count: 20000, noSelect: true, multiSelect: false, classes: "enyo-fit list-sample-list", 6 | onSetupItem: "setupItem", components: [ 7 | {name: "item", classes: "list-sample-item enyo-border-box", components: [ 8 | {name: "index", classes: "list-sample-index"}, 9 | {name: "name"} 10 | ]} 11 | ]} 12 | ], 13 | names: [], 14 | setupItem: function(inSender, inEvent) { 15 | // this is the row we're setting up 16 | var i = inEvent.index; 17 | // make some mock data if we have none for this row 18 | if (!this.names[i]) { 19 | this.names[i] = makeName(5, 10, '', ''); 20 | } 21 | var n = this.names[i]; 22 | var ni = ("00000000" + i).slice(-7); 23 | this.$.name.setContent(n); 24 | this.$.index.setContent(ni); 25 | } 26 | }); -------------------------------------------------------------------------------- /enyo/samples/Playground.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Enyo Playground 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | -------------------------------------------------------------------------------- /lib/layout/list/samples/ListAroundSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AroundList Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | -------------------------------------------------------------------------------- /lib/layout/panels/samples/PanelsSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Panels Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | -------------------------------------------------------------------------------- /enyo/tools/minifier/node_modules/less/lib/less/tree/variable.js: -------------------------------------------------------------------------------- 1 | (function (tree) { 2 | 3 | tree.Variable = function (name, index, file) { this.name = name, this.index = index, this.file = file }; 4 | tree.Variable.prototype = { 5 | eval: function (env) { 6 | var variable, v, name = this.name; 7 | 8 | if (name.indexOf('@@') == 0) { 9 | name = '@' + new(tree.Variable)(name.slice(1)).eval(env).value; 10 | } 11 | 12 | if (variable = tree.find(env.frames, function (frame) { 13 | if (v = frame.variable(name)) { 14 | return v.value.eval(env); 15 | } 16 | })) { return variable } 17 | else { 18 | throw { type: 'Name', 19 | message: "variable " + name + " is undefined", 20 | filename: this.file, 21 | index: this.index }; 22 | } 23 | } 24 | }; 25 | 26 | })(require('../tree')); 27 | -------------------------------------------------------------------------------- /lib/onyx/samples/ToolbarSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Toolbar Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | -------------------------------------------------------------------------------- /lib/layout/list/samples/ListContactsSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Contacts List Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | -------------------------------------------------------------------------------- /lib/onyx/samples/DatePickerSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | DatePicker Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | -------------------------------------------------------------------------------- /lib/onyx/samples/TimePickerSample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TimePicker Sample 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | -------------------------------------------------------------------------------- /lib/onyx/samples/sample.css: -------------------------------------------------------------------------------- 1 | .onyx-sample { 2 | padding: 10px; 3 | } 4 | .onyx-sample-tools { 5 | padding-bottom:10px; 6 | } 7 | .onyx-sample-tools > * { 8 | margin: 3px; 9 | } 10 | .onyx-sample-divider { 11 | color: #F49200; 12 | text-transform: uppercase; 13 | font-family: Segoe UI, Prelude Medium, Helvetica, Verdana, sans-serif; 14 | font-size: 14px; 15 | font-weight: bold; 16 | margin-bottom: 8px; 17 | } 18 | .onyx-sample-result-box { 19 | width:100%; 20 | } 21 | .onyx-sample-result { 22 | padding:8px; 23 | } 24 | .onyx-sample-spaced-button { 25 | margin:3px; 26 | } 27 | .onyx-sample-animate-label { 28 | vertical-align:middle; 29 | padding-left:5px; 30 | margin-right: 15px; 31 | } 32 | .onyx-sample-label { 33 | color: #1879CD; 34 | font-size: 18px; 35 | text-transform: uppercase; 36 | } 37 | .onyx-sample-popup { 38 | font-size: 30px; 39 | text-align: center; 40 | } 41 | .onyx-contextualpopup-button-container{ 42 | padding:10px; 43 | } 44 | -------------------------------------------------------------------------------- /lib/onyx/source/Checkbox.js: -------------------------------------------------------------------------------- 1 | /** 2 | A box that shows or hides a check mark when clicked. 3 | The onChange event is fired when it is clicked. Use getValue() to fetch 4 | the checked status. 5 | 6 | {kind: "onyx.Checkbox", onchange: "checkboxClicked"} 7 | 8 | checkboxClicked: function(inSender) { 9 | if (inSender.getValue()) { 10 | this.log("I've been checked!"); 11 | } 12 | } 13 | */ 14 | enyo.kind({ 15 | name: "onyx.Checkbox", 16 | classes: "onyx-checkbox", 17 | //* @protected 18 | kind: enyo.Checkbox, 19 | tag: "div", 20 | handlers: { 21 | // prevent double onchange bubble in IE 22 | onclick: "" 23 | }, 24 | tap: function(inSender, e) { 25 | if (!this.disabled) { 26 | this.setChecked(!this.getChecked()); 27 | this.bubble("onchange"); 28 | } 29 | return !this.disabled; 30 | }, 31 | dragstart: function() { 32 | // Override enyo.Input dragstart handler, to allow drags to propagate for Checkbox 33 | } 34 | }); 35 | --------------------------------------------------------------------------------