├── .bowerrc ├── .editorconfig ├── .gitattributes ├── .gitignore ├── .jshintrc ├── README.md ├── bin └── www ├── bower.json ├── components-src ├── dist │ ├── onsen-css-components-blue-basic-theme.css │ ├── onsen-css-components-blue-theme.css │ ├── onsen-css-components-dark-theme.css │ ├── onsen-css-components-default.css │ ├── onsen-css-components-purple-theme.css │ ├── onsen-css-components-sunshine-theme.css │ └── onsen-css-components.css ├── img │ ├── hamburger_dark.svg │ ├── light-grips.png │ └── search.svg ├── onsen-css-components.styl ├── stylus │ ├── blue-basic-theme.styl │ ├── blue-theme.styl │ ├── components │ │ ├── .fab.styl.swp │ │ ├── alert-dialog.styl │ │ ├── button-bar.styl │ │ ├── button.styl │ │ ├── checkbox.styl │ │ ├── dialog.styl │ │ ├── fab.styl │ │ ├── global.styl │ │ ├── index.styl │ │ ├── list.styl │ │ ├── material-shadow.styl │ │ ├── modal.styl │ │ ├── navigation-bar.styl │ │ ├── notification.styl │ │ ├── page.styl │ │ ├── popover.styl │ │ ├── progress-bar.styl │ │ ├── progress-circular.styl │ │ ├── radio-button.styl │ │ ├── range.styl │ │ ├── search-input.styl │ │ ├── switch.styl │ │ ├── tab-bar.styl │ │ ├── text-input.styl │ │ ├── textarea.styl │ │ ├── toolbar-button.styl │ │ └── util.styl │ ├── dark-theme.styl │ ├── purple-theme.styl │ └── sunshine-theme.styl └── testcases-topdoc-template │ ├── .gitignore │ ├── css │ ├── brackets.css │ ├── main.css │ └── theme.css │ ├── index.jade │ └── js │ ├── main.js │ ├── rainbow-custom.min.js │ └── rainbow.linenumbers.min.js ├── gulpfile.js ├── misc └── screenshot.png ├── package.json ├── server ├── .editorconfig ├── app.js ├── cssminify.js ├── cssprefixer.js ├── download_template │ └── LICENSE ├── schemeWriter.js └── stylusCompiler.js └── www ├── .htaccess ├── 404.html ├── ZeroClipboard.swf ├── be └── tb.gif ├── bower_components ├── angular-animate │ ├── .bower.json │ ├── README.md │ ├── angular-animate.js │ ├── angular-animate.min.js │ ├── angular-animate.min.js.map │ └── bower.json ├── angular-cookies │ ├── .bower.json │ ├── README.md │ ├── angular-cookies.js │ ├── angular-cookies.min.js │ ├── angular-cookies.min.js.map │ └── bower.json ├── angular-mocks │ ├── .bower.json │ ├── README.md │ ├── angular-mocks.js │ └── bower.json ├── angular-resource │ ├── .bower.json │ ├── README.md │ ├── angular-resource.js │ ├── angular-resource.min.js │ ├── angular-resource.min.js.map │ └── bower.json ├── angular-route │ ├── .bower.json │ ├── README.md │ ├── angular-route.js │ ├── angular-route.min.js │ ├── angular-route.min.js.map │ └── bower.json ├── angular-sanitize │ ├── .bower.json │ ├── README.md │ ├── angular-sanitize.js │ ├── angular-sanitize.min.js │ ├── angular-sanitize.min.js.map │ └── bower.json ├── angular-scenario │ ├── .bower.json │ ├── README.md │ ├── angular-scenario.js │ ├── bower.json │ ├── jstd-scenario-adapter-config.js │ └── jstd-scenario-adapter.js ├── angular-translate │ ├── .bower.json │ ├── README.md │ ├── angular-translate.js │ ├── angular-translate.min.js │ └── bower.json ├── angular │ ├── .bower.json │ ├── README.md │ ├── angular-csp.css │ ├── angular.js │ ├── angular.min.js │ ├── angular.min.js.gzip │ ├── angular.min.js.map │ └── bower.json ├── es5-shim │ ├── .bower.json │ ├── .gitignore │ ├── CHANGES │ ├── CONTRIBUTORS.md │ ├── LICENSE │ ├── README.md │ ├── es5-sham.js │ ├── es5-sham.map │ ├── es5-sham.min.js │ ├── es5-shim.js │ ├── es5-shim.map │ ├── es5-shim.min.js │ ├── package.json │ └── tests │ │ ├── helpers │ │ ├── h-kill.js │ │ ├── h-matchers.js │ │ └── h.js │ │ ├── index.html │ │ ├── index.min.html │ │ ├── lib │ │ ├── jasmine-html.js │ │ ├── jasmine.css │ │ ├── jasmine.js │ │ ├── jasmine_favicon.png │ │ └── json2.js │ │ └── spec │ │ ├── s-array.js │ │ ├── s-date.js │ │ ├── s-function.js │ │ ├── s-number.js │ │ ├── s-object.js │ │ └── s-string.js ├── jquery-minicolors │ ├── .bower.json │ ├── bower.json │ ├── component.json │ ├── composer.json │ ├── index.html │ ├── jquery.minicolors.css │ ├── jquery.minicolors.js │ ├── jquery.minicolors.min.js │ ├── jquery.minicolors.png │ ├── readme.md │ └── without-bootstrap.html ├── jquery │ ├── .bower.json │ ├── MIT-LICENSE.txt │ ├── bower.json │ ├── dist │ │ ├── jquery.js │ │ ├── jquery.min.js │ │ └── jquery.min.map │ └── src │ │ ├── ajax.js │ │ ├── ajax │ │ ├── jsonp.js │ │ ├── load.js │ │ ├── parseJSON.js │ │ ├── parseXML.js │ │ ├── script.js │ │ ├── var │ │ │ ├── nonce.js │ │ │ └── rquery.js │ │ └── xhr.js │ │ ├── attributes.js │ │ ├── attributes │ │ ├── attr.js │ │ ├── classes.js │ │ ├── prop.js │ │ ├── support.js │ │ └── val.js │ │ ├── callbacks.js │ │ ├── core.js │ │ ├── core │ │ ├── access.js │ │ ├── init.js │ │ ├── parseHTML.js │ │ ├── ready.js │ │ └── var │ │ │ └── rsingleTag.js │ │ ├── css.js │ │ ├── css │ │ ├── addGetHookIf.js │ │ ├── curCSS.js │ │ ├── defaultDisplay.js │ │ ├── hiddenVisibleSelectors.js │ │ ├── support.js │ │ ├── swap.js │ │ └── var │ │ │ ├── cssExpand.js │ │ │ ├── getStyles.js │ │ │ ├── isHidden.js │ │ │ ├── rmargin.js │ │ │ └── rnumnonpx.js │ │ ├── data.js │ │ ├── data │ │ ├── Data.js │ │ ├── accepts.js │ │ └── var │ │ │ ├── data_priv.js │ │ │ └── data_user.js │ │ ├── deferred.js │ │ ├── deprecated.js │ │ ├── dimensions.js │ │ ├── effects.js │ │ ├── effects │ │ ├── Tween.js │ │ └── animatedSelector.js │ │ ├── event.js │ │ ├── event │ │ ├── alias.js │ │ └── support.js │ │ ├── exports │ │ ├── amd.js │ │ └── global.js │ │ ├── intro.js │ │ ├── jquery.js │ │ ├── manipulation.js │ │ ├── manipulation │ │ ├── _evalUrl.js │ │ ├── support.js │ │ └── var │ │ │ └── rcheckableType.js │ │ ├── offset.js │ │ ├── outro.js │ │ ├── queue.js │ │ ├── queue │ │ └── delay.js │ │ ├── selector-native.js │ │ ├── selector-sizzle.js │ │ ├── selector.js │ │ ├── serialize.js │ │ ├── sizzle │ │ └── dist │ │ │ ├── sizzle.js │ │ │ ├── sizzle.min.js │ │ │ └── sizzle.min.map │ │ ├── traversing.js │ │ ├── traversing │ │ ├── findFilter.js │ │ └── var │ │ │ └── rneedsContext.js │ │ ├── var │ │ ├── arr.js │ │ ├── class2type.js │ │ ├── concat.js │ │ ├── hasOwn.js │ │ ├── indexOf.js │ │ ├── pnum.js │ │ ├── push.js │ │ ├── rnotwhite.js │ │ ├── slice.js │ │ ├── strundefined.js │ │ ├── support.js │ │ ├── toString.js │ │ └── trim.js │ │ └── wrap.js └── json3 │ ├── .bower.json │ ├── LICENSE │ ├── README.md │ ├── bower.json │ └── lib │ ├── json3.js │ └── json3.min.js ├── favicon.ico ├── images ├── button-preview.png ├── close-dark.png ├── close.png ├── color-picker-background.png ├── color-picker-dialog.png ├── color-picker-input-dark.png ├── color-picker-input.png ├── component-preview-01.png ├── component-preview-02.png ├── component-preview-03.png ├── component-preview-04.png ├── component-preview-05.png ├── component-preview-06.png ├── component-preview-07.png ├── component-preview-08.png ├── component-preview-09.png ├── component-preview-10.png ├── component-prewview-05.png ├── download-icon.png ├── guide-screenshot.png ├── header-logo.png ├── header-monaca-logo.png ├── inspect.png ├── loading.gif ├── logo.png ├── mark.png ├── mask.svg ├── monaca-logo.png ├── onsenui-logo.png ├── onsenui-welcome.png ├── onseui-logo.png ├── overview-mock-screen-01.png ├── overview-mock-screen-02.png ├── overview-mock-screen-03.png ├── overview-mock-screen.png ├── screenshot.png ├── social-buttons.png └── team.png ├── img └── search.svg ├── index.html ├── onsen-css-components-blue-basic-theme.css ├── onsen-css-components-blue-theme.css ├── onsen-css-components-dark-theme.css ├── onsen-css-components-default.css ├── onsen-css-components-purple-theme.css ├── onsen-css-components-sunshine-theme.css ├── patterns ├── checkbox_list.css ├── checkbox_list.html ├── compose.css ├── compose.html ├── details.css ├── details.html ├── images │ ├── 3152983303_4c0fd3140b_q.jpg │ ├── 3936883765_39121dcab5_q.jpg │ ├── 4548488065_dae90277db_q.jpg │ ├── 5388738458_ea9fd2a7d7_q.jpg │ ├── location1.png │ ├── location2.png │ ├── location3.png │ ├── location4.png │ ├── location5.png │ ├── location6.png │ ├── profile-image-01.png │ ├── profile-image-02.png │ ├── profile-image-03.png │ ├── profile-image-04.png │ ├── profile-image-05.png │ ├── profile-image-06.png │ ├── profile-image-07.png │ ├── profile-image-08.png │ ├── profile-image-09.png │ └── sushi-bg.jpg ├── lib │ ├── font_awesome │ │ ├── css │ │ │ ├── font-awesome.css │ │ │ └── font-awesome.min.css │ │ └── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ ├── ionicons │ │ ├── css │ │ │ ├── ionicons.css │ │ │ └── ionicons.min.css │ │ └── fonts │ │ │ ├── ionicons.eot │ │ │ ├── ionicons.svg │ │ │ ├── ionicons.ttf │ │ │ └── ionicons.woff │ ├── material-design-iconic-font │ │ ├── css │ │ │ ├── material-design-iconic-font.css │ │ │ └── material-design-iconic-font.min.css │ │ └── fonts │ │ │ ├── Material-Design-Iconic-Font.eot │ │ │ ├── Material-Design-Iconic-Font.svg │ │ │ ├── Material-Design-Iconic-Font.ttf │ │ │ ├── Material-Design-Iconic-Font.woff │ │ │ └── Material-Design-Iconic-Font.woff2 │ └── onsen │ │ ├── css │ │ ├── font_awesome │ │ │ ├── css │ │ │ │ ├── font-awesome.css │ │ │ │ └── font-awesome.min.css │ │ │ └── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ ├── ionicons │ │ │ ├── css │ │ │ │ ├── ionicons.css │ │ │ │ └── ionicons.min.css │ │ │ └── fonts │ │ │ │ ├── ionicons.eot │ │ │ │ ├── ionicons.svg │ │ │ │ ├── ionicons.ttf │ │ │ │ └── ionicons.woff │ │ ├── material-design-iconic-font │ │ │ ├── css │ │ │ │ ├── material-design-iconic-font.css │ │ │ │ └── material-design-iconic-font.min.css │ │ │ └── fonts │ │ │ │ ├── Material-Design-Iconic-Font.eot │ │ │ │ ├── Material-Design-Iconic-Font.svg │ │ │ │ ├── Material-Design-Iconic-Font.ttf │ │ │ │ ├── Material-Design-Iconic-Font.woff │ │ │ │ └── Material-Design-Iconic-Font.woff2 │ │ ├── onsen-css-components-blue-basic-theme.css │ │ ├── onsen-css-components-blue-theme.css │ │ ├── onsen-css-components-dark-theme.css │ │ ├── onsen-css-components-default.css │ │ ├── onsen-css-components-purple-theme.css │ │ ├── onsen-css-components-sunshine-theme.css │ │ ├── onsen-css-components.css │ │ └── onsenui.css │ │ ├── js │ │ ├── angular-onsenui.js │ │ ├── angular-onsenui.min.js │ │ ├── angular │ │ │ ├── README.md │ │ │ ├── README.md~HEAD │ │ │ ├── README.md~ce11382e68c3d96512ee16ed1829dad3f20eb9c0 │ │ │ ├── angular-animate.js │ │ │ ├── angular-csp.css │ │ │ ├── angular-touch.js │ │ │ ├── angular.js │ │ │ ├── angular.min.js │ │ │ ├── angular.min.js.gzip │ │ │ ├── angular.min.js.map │ │ │ ├── bower.json │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── onsenui.js │ │ ├── onsenui.min.js │ │ ├── onsenui_all.js │ │ └── onsenui_all.min.js │ │ └── stylus │ │ ├── blue-basic-theme.styl │ │ ├── blue-theme.styl │ │ ├── components │ │ ├── alert-dialog.styl │ │ ├── button-bar.styl │ │ ├── button.styl │ │ ├── checkbox.styl │ │ ├── dialog.styl │ │ ├── fab.styl │ │ ├── global.styl │ │ ├── index.styl │ │ ├── list.styl │ │ ├── material-shadow.styl │ │ ├── modal.styl │ │ ├── navigation-bar.styl │ │ ├── notification.styl │ │ ├── page.styl │ │ ├── popover.styl │ │ ├── progress-bar.styl │ │ ├── progress-circular.styl │ │ ├── radio-button.styl │ │ ├── range.styl │ │ ├── search-input.styl │ │ ├── switch.styl │ │ ├── tab-bar.styl │ │ ├── text-input.styl │ │ ├── textarea.styl │ │ ├── toolbar-button.styl │ │ └── util.styl │ │ ├── dark-theme.styl │ │ ├── default.styl │ │ ├── purple-theme.styl │ │ └── sunshine-theme.styl ├── list_avatars.css ├── list_avatars.html ├── list_icons.css ├── list_icons.html ├── list_thumbnails.css ├── list_thumbnails.html ├── list_with_header.css ├── list_with_header.html ├── login.css ├── login.html ├── md_contact.css ├── md_contact.html ├── md_contact_list.css ├── md_contact_list.html ├── md_inbox.css ├── md_inbox.html ├── people.css ├── people.html ├── profile.css ├── profile.html ├── radiobutton_list.css ├── radiobutton_list.html ├── range.css ├── range.html ├── schedule.css ├── schedule.html ├── settings.css ├── settings.html ├── signup.css ├── signup.html ├── sliding_menu.css ├── sliding_menu.html ├── timeline.css └── timeline.html ├── robots.txt ├── scripts ├── app.js ├── clipboardClients.js ├── colorScheme.js ├── colorSchemeFactory.js ├── colors2URL.js ├── component.js ├── componentCollection.js ├── controllers │ ├── app.js │ └── components.js ├── css.generated.js ├── cssComponentParser.js ├── cssEntry.js ├── directives │ ├── colorPickerPopup.js │ ├── componentElement.js │ ├── componentIframe.js │ ├── patternIframe.js │ ├── patternInspector.js │ └── tooltip.js ├── generatedCSS.js ├── screenPattern.js ├── screenPatternCollection.js ├── template.generated.js └── viewmodels │ ├── colorCustomizer.js │ ├── componentDialog.js │ ├── dialog.js │ └── simpleColorCustomizer.js ├── styles ├── codemirror.css ├── components.less ├── contents.less ├── customizer.less ├── dialog.less ├── global.less ├── header.less ├── main.css ├── main.less ├── overview.less └── popup.less ├── testcases ├── css │ ├── brackets.css │ ├── main.css │ └── theme.css ├── index.html ├── js │ ├── main.js │ ├── rainbow-custom.min.js │ └── rainbow.linenumbers.min.js ├── onsen-css-components-blue-theme.html ├── onsen-css-components-dark-theme.html ├── onsen-css-components-default.html ├── onsen-css-components-purple-theme.html ├── onsen-css-components-sunshine-theme.html └── onsen-css-components.html ├── theme.js ├── vendor ├── ZeroClipboard.min.js ├── codemirror-4.0 │ ├── .gitattributes │ ├── .gitignore │ ├── .travis.yml │ ├── AUTHORS │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── addon │ │ ├── comment │ │ │ ├── comment.js │ │ │ └── continuecomment.js │ │ ├── dialog │ │ │ ├── dialog.css │ │ │ └── dialog.js │ │ ├── display │ │ │ ├── fullscreen.css │ │ │ ├── fullscreen.js │ │ │ ├── placeholder.js │ │ │ └── rulers.js │ │ ├── edit │ │ │ ├── closebrackets.js │ │ │ ├── closetag.js │ │ │ ├── continuelist.js │ │ │ ├── matchbrackets.js │ │ │ ├── matchtags.js │ │ │ └── trailingspace.js │ │ ├── fold │ │ │ ├── brace-fold.js │ │ │ ├── comment-fold.js │ │ │ ├── foldcode.js │ │ │ ├── foldgutter.css │ │ │ ├── foldgutter.js │ │ │ ├── indent-fold.js │ │ │ ├── markdown-fold.js │ │ │ └── xml-fold.js │ │ ├── hint │ │ │ ├── anyword-hint.js │ │ │ ├── css-hint.js │ │ │ ├── html-hint.js │ │ │ ├── javascript-hint.js │ │ │ ├── python-hint.js │ │ │ ├── show-hint.css │ │ │ ├── show-hint.js │ │ │ ├── sql-hint.js │ │ │ └── xml-hint.js │ │ ├── lint │ │ │ ├── coffeescript-lint.js │ │ │ ├── css-lint.js │ │ │ ├── javascript-lint.js │ │ │ ├── json-lint.js │ │ │ ├── lint.css │ │ │ ├── lint.js │ │ │ └── yaml-lint.js │ │ ├── merge │ │ │ ├── dep │ │ │ │ └── diff_match_patch.js │ │ │ ├── merge.css │ │ │ └── merge.js │ │ ├── mode │ │ │ ├── loadmode.js │ │ │ ├── multiplex.js │ │ │ ├── multiplex_test.js │ │ │ └── overlay.js │ │ ├── runmode │ │ │ ├── colorize.js │ │ │ ├── runmode-standalone.js │ │ │ ├── runmode.js │ │ │ └── runmode.node.js │ │ ├── scroll │ │ │ └── scrollpastend.js │ │ ├── search │ │ │ ├── match-highlighter.js │ │ │ ├── search.js │ │ │ └── searchcursor.js │ │ ├── selection │ │ │ ├── active-line.js │ │ │ └── mark-selection.js │ │ ├── tern │ │ │ ├── tern.css │ │ │ ├── tern.js │ │ │ └── worker.js │ │ └── wrap │ │ │ └── hardwrap.js │ ├── bin │ │ ├── authors.sh │ │ ├── compress │ │ ├── lint │ │ ├── release │ │ └── source-highlight │ ├── bower.json │ ├── demo │ │ ├── activeline.html │ │ ├── anywordhint.html │ │ ├── bidi.html │ │ ├── btree.html │ │ ├── buffers.html │ │ ├── changemode.html │ │ ├── closebrackets.html │ │ ├── closetag.html │ │ ├── complete.html │ │ ├── emacs.html │ │ ├── folding.html │ │ ├── fullscreen.html │ │ ├── hardwrap.html │ │ ├── html5complete.html │ │ ├── indentwrap.html │ │ ├── lint.html │ │ ├── loadmode.html │ │ ├── marker.html │ │ ├── markselection.html │ │ ├── matchhighlighter.html │ │ ├── matchtags.html │ │ ├── merge.html │ │ ├── multiplex.html │ │ ├── mustache.html │ │ ├── placeholder.html │ │ ├── preview.html │ │ ├── resize.html │ │ ├── rulers.html │ │ ├── runmode.html │ │ ├── search.html │ │ ├── spanaffectswrapping_shim.html │ │ ├── sublime.html │ │ ├── tern.html │ │ ├── theme.html │ │ ├── trailingspace.html │ │ ├── variableheight.html │ │ ├── vim.html │ │ ├── visibletabs.html │ │ ├── widget.html │ │ └── xmlcomplete.html │ ├── doc │ │ ├── activebookmark.js │ │ ├── compress.html │ │ ├── docs.css │ │ ├── internals.html │ │ ├── logo.png │ │ ├── logo.svg │ │ ├── manual.html │ │ ├── realworld.html │ │ ├── releases.html │ │ ├── reporting.html │ │ ├── upgrade_v2.2.html │ │ ├── upgrade_v3.html │ │ └── upgrade_v4.html │ ├── index.html │ ├── keymap │ │ ├── emacs.js │ │ ├── sublime.js │ │ └── vim.js │ ├── lib │ │ ├── codemirror.css │ │ └── codemirror.js │ ├── mode │ │ ├── apl │ │ │ ├── apl.js │ │ │ └── index.html │ │ ├── asterisk │ │ │ ├── asterisk.js │ │ │ └── index.html │ │ ├── clike │ │ │ ├── clike.js │ │ │ ├── index.html │ │ │ └── scala.html │ │ ├── clojure │ │ │ ├── clojure.js │ │ │ └── index.html │ │ ├── cobol │ │ │ ├── cobol.js │ │ │ └── index.html │ │ ├── coffeescript │ │ │ ├── coffeescript.js │ │ │ └── index.html │ │ ├── commonlisp │ │ │ ├── commonlisp.js │ │ │ └── index.html │ │ ├── css │ │ │ ├── css.js │ │ │ ├── index.html │ │ │ ├── less.html │ │ │ ├── less_test.js │ │ │ ├── scss.html │ │ │ ├── scss_test.js │ │ │ └── test.js │ │ ├── d │ │ │ ├── d.js │ │ │ └── index.html │ │ ├── diff │ │ │ ├── diff.js │ │ │ └── index.html │ │ ├── dtd │ │ │ ├── dtd.js │ │ │ └── index.html │ │ ├── ecl │ │ │ ├── ecl.js │ │ │ └── index.html │ │ ├── eiffel │ │ │ ├── eiffel.js │ │ │ └── index.html │ │ ├── erlang │ │ │ ├── erlang.js │ │ │ └── index.html │ │ ├── fortran │ │ │ ├── fortran.js │ │ │ └── index.html │ │ ├── gas │ │ │ ├── gas.js │ │ │ └── index.html │ │ ├── gfm │ │ │ ├── gfm.js │ │ │ ├── index.html │ │ │ └── test.js │ │ ├── gherkin │ │ │ ├── gherkin.js │ │ │ └── index.html │ │ ├── go │ │ │ ├── go.js │ │ │ └── index.html │ │ ├── groovy │ │ │ ├── groovy.js │ │ │ └── index.html │ │ ├── haml │ │ │ ├── haml.js │ │ │ ├── index.html │ │ │ └── test.js │ │ ├── haskell │ │ │ ├── haskell.js │ │ │ └── index.html │ │ ├── haxe │ │ │ ├── haxe.js │ │ │ └── index.html │ │ ├── htmlembedded │ │ │ ├── htmlembedded.js │ │ │ └── index.html │ │ ├── htmlmixed │ │ │ ├── htmlmixed.js │ │ │ └── index.html │ │ ├── http │ │ │ ├── http.js │ │ │ └── index.html │ │ ├── index.html │ │ ├── jade │ │ │ ├── index.html │ │ │ └── jade.js │ │ ├── javascript │ │ │ ├── index.html │ │ │ ├── javascript.js │ │ │ ├── json-ld.html │ │ │ ├── test.js │ │ │ └── typescript.html │ │ ├── jinja2 │ │ │ ├── index.html │ │ │ └── jinja2.js │ │ ├── julia │ │ │ ├── index.html │ │ │ └── julia.js │ │ ├── livescript │ │ │ ├── index.html │ │ │ ├── livescript.js │ │ │ └── livescript.ls │ │ ├── lua │ │ │ ├── index.html │ │ │ └── lua.js │ │ ├── markdown │ │ │ ├── index.html │ │ │ ├── markdown.js │ │ │ └── test.js │ │ ├── meta.js │ │ ├── mirc │ │ │ ├── index.html │ │ │ └── mirc.js │ │ ├── mllike │ │ │ ├── index.html │ │ │ └── mllike.js │ │ ├── nginx │ │ │ ├── index.html │ │ │ └── nginx.js │ │ ├── ntriples │ │ │ ├── index.html │ │ │ └── ntriples.js │ │ ├── octave │ │ │ ├── index.html │ │ │ └── octave.js │ │ ├── pascal │ │ │ ├── index.html │ │ │ └── pascal.js │ │ ├── pegjs │ │ │ ├── index.html │ │ │ └── pegjs.js │ │ ├── perl │ │ │ ├── index.html │ │ │ └── perl.js │ │ ├── php │ │ │ ├── index.html │ │ │ └── php.js │ │ ├── pig │ │ │ ├── index.html │ │ │ └── pig.js │ │ ├── properties │ │ │ ├── index.html │ │ │ └── properties.js │ │ ├── puppet │ │ │ ├── index.html │ │ │ └── puppet.js │ │ ├── python │ │ │ ├── index.html │ │ │ └── python.js │ │ ├── q │ │ │ ├── index.html │ │ │ └── q.js │ │ ├── r │ │ │ ├── index.html │ │ │ └── r.js │ │ ├── rpm │ │ │ ├── changes │ │ │ │ └── index.html │ │ │ ├── index.html │ │ │ └── rpm.js │ │ ├── rst │ │ │ ├── index.html │ │ │ └── rst.js │ │ ├── ruby │ │ │ ├── index.html │ │ │ ├── ruby.js │ │ │ └── test.js │ │ ├── rust │ │ │ ├── index.html │ │ │ └── rust.js │ │ ├── sass │ │ │ ├── index.html │ │ │ └── sass.js │ │ ├── scheme │ │ │ ├── index.html │ │ │ └── scheme.js │ │ ├── shell │ │ │ ├── index.html │ │ │ └── shell.js │ │ ├── sieve │ │ │ ├── index.html │ │ │ └── sieve.js │ │ ├── smalltalk │ │ │ ├── index.html │ │ │ └── smalltalk.js │ │ ├── smarty │ │ │ ├── index.html │ │ │ └── smarty.js │ │ ├── smartymixed │ │ │ ├── index.html │ │ │ └── smartymixed.js │ │ ├── solr │ │ │ ├── index.html │ │ │ └── solr.js │ │ ├── sparql │ │ │ ├── index.html │ │ │ └── sparql.js │ │ ├── sql │ │ │ ├── index.html │ │ │ └── sql.js │ │ ├── stex │ │ │ ├── index.html │ │ │ ├── stex.js │ │ │ └── test.js │ │ ├── tcl │ │ │ ├── index.html │ │ │ └── tcl.js │ │ ├── tiddlywiki │ │ │ ├── index.html │ │ │ ├── tiddlywiki.css │ │ │ └── tiddlywiki.js │ │ ├── tiki │ │ │ ├── index.html │ │ │ ├── tiki.css │ │ │ └── tiki.js │ │ ├── toml │ │ │ ├── index.html │ │ │ └── toml.js │ │ ├── turtle │ │ │ ├── index.html │ │ │ └── turtle.js │ │ ├── vb │ │ │ ├── index.html │ │ │ └── vb.js │ │ ├── vbscript │ │ │ ├── index.html │ │ │ └── vbscript.js │ │ ├── velocity │ │ │ ├── index.html │ │ │ └── velocity.js │ │ ├── verilog │ │ │ ├── index.html │ │ │ └── verilog.js │ │ ├── xml │ │ │ ├── index.html │ │ │ └── xml.js │ │ ├── xquery │ │ │ ├── index.html │ │ │ ├── test.js │ │ │ └── xquery.js │ │ ├── yaml │ │ │ ├── index.html │ │ │ └── yaml.js │ │ └── z80 │ │ │ ├── index.html │ │ │ └── z80.js │ ├── package.json │ ├── test │ │ ├── comment_test.js │ │ ├── doc_test.js │ │ ├── driver.js │ │ ├── emacs_test.js │ │ ├── index.html │ │ ├── lint │ │ │ ├── acorn.js │ │ │ ├── lint.js │ │ │ └── walk.js │ │ ├── mode_test.css │ │ ├── mode_test.js │ │ ├── multi_test.js │ │ ├── phantom_driver.js │ │ ├── run.js │ │ ├── search_test.js │ │ ├── sublime_test.js │ │ ├── test.js │ │ └── vim_test.js │ └── theme │ │ ├── 3024-day.css │ │ ├── 3024-night.css │ │ ├── ambiance-mobile.css │ │ ├── ambiance.css │ │ ├── base16-dark.css │ │ ├── base16-light.css │ │ ├── blackboard.css │ │ ├── cobalt.css │ │ ├── eclipse.css │ │ ├── elegant.css │ │ ├── erlang-dark.css │ │ ├── lesser-dark.css │ │ ├── mbo.css │ │ ├── mdn-like.css │ │ ├── midnight.css │ │ ├── monokai.css │ │ ├── neat.css │ │ ├── night.css │ │ ├── paraiso-dark.css │ │ ├── paraiso-light.css │ │ ├── pastel-on-dark.css │ │ ├── rubyblue.css │ │ ├── solarized.css │ │ ├── the-matrix.css │ │ ├── tomorrow-night-eighties.css │ │ ├── twilight.css │ │ ├── vibrant-ink.css │ │ ├── xq-dark.css │ │ └── xq-light.css ├── csscolorparser.js ├── topdoc_parser.js └── woothee.js └── views ├── componentDialog.html ├── components.html ├── guidePopup.html ├── htmlDialog.html ├── newsletterPopup.html ├── overview.html ├── shareDialog.html ├── thankyouDialog.html └── welcomeDialog.html /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "app/bower_components" 3 | } 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # editorconfig.org 4 | 5 | root = true 6 | 7 | 8 | [*] 9 | 10 | # Change these settings to your own preference 11 | indent_style = space 12 | indent_size = 2 13 | 14 | # We recommend you to keep these unchanged 15 | end_of_line = lf 16 | charset = utf-8 17 | trim_trailing_whitespace = true 18 | insert_final_newline = true 19 | 20 | [*.md] 21 | trim_trailing_whitespace = false 22 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .tmp 3 | .DS_Store 4 | client/app.prod 5 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "node": true, 3 | "browser": true, 4 | "esnext": true, 5 | "bitwise": true, 6 | "camelcase": true, 7 | "curly": true, 8 | "eqeqeq": true, 9 | "immed": true, 10 | "indent": 2, 11 | "newcap": true, 12 | "noarg": true, 13 | "latedef": "nofunc", 14 | "quotmark": "single", 15 | "regexp": true, 16 | "undef": true, 17 | "unused": true, 18 | "strict": true, 19 | "trailing": true, 20 | "smarttabs": true, 21 | "devel": true, 22 | "globals": { 23 | "angular": false, 24 | "$": false, 25 | "parseCSSColor": false, 26 | "ZeroClipboard": false, 27 | "ga": false 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Onsen CSS Components 2 | 3 | ![screenshot](./misc/screenshot.png) 4 | 5 | Onsen CSS Components is CSS Generator for Mobile Apps. 6 | 7 | [Onsen CSS Components]:http://components.onsen.io/ 8 | 9 | ## How to run 10 | 11 | * Clone 12 | 13 | git clone https://github.com/OnsenUI/onsen-css-components 14 | 15 | * Open the terminal from onsen-css-components directory 16 | 17 | cd onsen-css-components 18 | 19 | * Install dependencies using npm 20 | 21 | npm install 22 | 23 | * Install gulp.js (globally) 24 | 25 | [sudo] npm install -g gulp 26 | 27 | * Type 'gulp serve' to start running 28 | 29 | gulp serve 30 | 31 | * Then navigate your browser to [http://localhost:9002/](http://localhost:9002/) 32 | 33 | -------------------------------------------------------------------------------- /bin/www: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var debug = require('debug')('my-application'); 3 | var app = require('../server/app.js')(); 4 | 5 | app.set('port', process.env.PORT || 3000); 6 | 7 | var server = app.listen(app.get('port'), function() { 8 | debug('Express server listening on port ' + server.address().port); 9 | }); 10 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "app", 3 | "version": "0.0.0", 4 | "dependencies": { 5 | "angular": "1.2.15", 6 | "json3": "~3.2.6", 7 | "es5-shim": "~2.1.0", 8 | "angular-route": "~1.2.16", 9 | "jquery-minicolors": "~2.1.2", 10 | "jquery": "~2.1.0", 11 | "angular-animate": "~1.2.16", 12 | "angular-translate": "~2.1.0" 13 | }, 14 | "devDependencies": { 15 | "angular-mocks": "1.2.15", 16 | "angular-scenario": "1.2.15" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /components-src/img/light-grips.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OnsenUI/onsen-css-components/4f09d4ce6a2689efb6e488e0cd07b5331dfae4a4/components-src/img/light-grips.png -------------------------------------------------------------------------------- /components-src/img/search.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | Slice 1 4 | Created with Sketch (http://www.bohemiancoding.com/sketch) 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /components-src/stylus/components/.fab.styl.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OnsenUI/onsen-css-components/4f09d4ce6a2689efb6e488e0cd07b5331dfae4a4/components-src/stylus/components/.fab.styl.swp -------------------------------------------------------------------------------- /components-src/stylus/components/index.styl: -------------------------------------------------------------------------------- 1 | @import './util' 2 | @import './global' 3 | @import './material-shadow' 4 | @import './page' 5 | @import './switch' 6 | @import './range' 7 | @import './navigation-bar' 8 | @import './button' 9 | @import './button-bar' 10 | @import './tab-bar' 11 | @import './notification' 12 | @import './toolbar-button' 13 | @import './checkbox' 14 | @import './radio-button' 15 | @import './list' 16 | @import './search-input' 17 | @import './text-input' 18 | @import './textarea' 19 | @import './dialog' 20 | @import './alert-dialog' 21 | @import './popover' 22 | @import './modal' 23 | @import './progress-bar' 24 | @import './progress-circular' 25 | @import './fab' 26 | -------------------------------------------------------------------------------- /components-src/stylus/components/material-shadow.styl: -------------------------------------------------------------------------------- 1 | shadow-0() 2 | box-shadow none 3 | shadow-1() 4 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); 5 | shadow-2() 6 | box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.4); 7 | shadow-3() 8 | box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.4); 9 | shadow-4() 10 | box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.4); 11 | shadow-5() 12 | box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.4); -------------------------------------------------------------------------------- /components-src/stylus/components/page.styl: -------------------------------------------------------------------------------- 1 | // NOTE: You can't use @extend that break component independent and topdoc parsing. 2 | 3 | // internal variables 4 | var-page-background-color = $background-color 5 | 6 | .page 7 | reset-font() 8 | background-color var-page-background-color 9 | position absolute 10 | top 0px 11 | left 0px 12 | right 0px 13 | bottom 0px 14 | overflow visible 15 | font-size var-font-size 16 | color var-text-color 17 | -ms-overflow-style none 18 | 19 | .page::-webkit-scrollbar 20 | display none 21 | 22 | .page__content 23 | background-color var-page-background-color 24 | position absolute 25 | top 0px 26 | left 0px 27 | right 0px 28 | bottom 0px 29 | box-sizing border-box 30 | 31 | .page__background 32 | background-color var-page-background-color 33 | position absolute 34 | top 0px 35 | left 0px 36 | right 0px 37 | bottom 0px 38 | box-sizing border-box 39 | 40 | .content-padded 41 | padding 8px 42 | 43 | .page--material 44 | material-font() 45 | 46 | .page--material__content 47 | material-font() 48 | font-weight 400 49 | 50 | .page--material__content h1 51 | .page--material__content h2 52 | .page--material__content h3 53 | .page--material__content h4 54 | .page--material__content h5 55 | material-font() 56 | font-weight 400 57 | -------------------------------------------------------------------------------- /components-src/testcases-topdoc-template/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | lib-cov 3 | *.seed 4 | *.log 5 | *.csv 6 | *.dat 7 | *.out 8 | *.pid 9 | *.gz 10 | 11 | pids 12 | logs 13 | results 14 | 15 | node_modules 16 | npm-debug.log 17 | tmp -------------------------------------------------------------------------------- /components-src/testcases-topdoc-template/css/brackets.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Brackets theme 3 | * 4 | * @author Garth Braithwaite 5 | * @version 0.0.1 6 | */ 7 | pre { 8 | word-wrap: break-word; 9 | padding: 6px 10px; 10 | line-height: 19px; 11 | margin-bottom: 20px; 12 | } 13 | 14 | pre, code { 15 | font-family: source-code-pro, 'Source Code Pro', Courier, monospace; 16 | color: #535353; 17 | } 18 | 19 | pre, pre code { 20 | font-size: 13px; 21 | } 22 | 23 | pre .comment { 24 | color: #A2A2A2; 25 | } 26 | 27 | pre .support { 28 | color: #0086B3; 29 | } 30 | 31 | pre .tag, pre .tag-name { 32 | color: #446FBD; 33 | } 34 | 35 | pre .css-property { 36 | color: #8757AD; 37 | } 38 | 39 | pre .css-value, pre .support.namespace { 40 | color: #F18900; 41 | } 42 | pre .vendor-prefix { 43 | color: #535353; 44 | } 45 | pre .constant.numeric, pre .keyword.unit { 46 | color: #738D00; 47 | } 48 | pre .hex-color { 49 | color: #F18900; 50 | } 51 | pre .entity.class { 52 | color: #5585C4; 53 | } 54 | 55 | pre .entity.id, pre .entity.function { 56 | color: #900; 57 | } 58 | 59 | pre .attribute, pre .variable { 60 | color: #738D00; 61 | } 62 | 63 | pre .string, pre .support.value { 64 | color: #8757AD; 65 | } 66 | 67 | pre .regexp { 68 | color: #535353; 69 | } -------------------------------------------------------------------------------- /components-src/testcases-topdoc-template/css/theme.css: -------------------------------------------------------------------------------- 1 | pre { 2 | padding: 0; 3 | font-family: 'Monaco', 'Source Code Pro', monospace; 4 | font-size: 1em; 5 | } 6 | .rainbow { 7 | border-spacing: 0; 8 | border-collapse: collapse; 9 | } 10 | .rainbow .line:hover { 11 | background-color: #171b1c; 12 | } 13 | .rainbow .line:hover .line-number { 14 | background-color: #101313; 15 | } 16 | .rainbow .line .line-number { 17 | text-align: right; 18 | background-color: #1b2022; 19 | padding-left: 0.8em; 20 | padding-right: 0.8em; 21 | } 22 | .rainbow .line .line-number:before { 23 | content: attr(data-line-number); 24 | } 25 | .rainbow .line .line-code { 26 | padding-left: 1em; 27 | width: 100%; 28 | } 29 | -------------------------------------------------------------------------------- /components-src/testcases-topdoc-template/js/main.js: -------------------------------------------------------------------------------- 1 | window.onload = function(){ 2 | var showCodeDivs = document.getElementsByClassName('showcode'); 3 | for (var i = showCodeDivs.length - 1; i >= 0; i--) { 4 | showCodeDivs[i].firstChild.onclick = function(e) { 5 | var element = e.target.nextSibling.nextSibling; 6 | var style = window.getComputedStyle(element); 7 | if(style.getPropertyValue('display') == 'none'){ 8 | e.target.innerHTML = 'Hide code snippets'; 9 | element.style.display = 'block'; 10 | } else { 11 | e.target.innerHTML = 'Show code snippets'; 12 | element.style.display = 'none'; 13 | } 14 | return false; 15 | }; 16 | }; 17 | var slideMenuButton = document.getElementById('slide-menu-button'); 18 | slideMenuButton.onclick = function(e) { 19 | var site = document.getElementById('site'); 20 | var cl = site.classList; 21 | if (cl.contains('open')) { 22 | cl.remove('open'); 23 | } else { 24 | cl.add('open'); 25 | } 26 | }; 27 | var docNavs = document.getElementsByClassName('docNav'); 28 | for (var j = docNavs.length - 1; j >= 0; j--) { 29 | docNavs[j].onchange = function(e){ 30 | window.location.href = e.target[e.target.selectedIndex].value; 31 | }; 32 | }; 33 | var pageNav = document.getElementById('pageNav'); 34 | var pageLinks = pageNav.getElementsByTagName('a'); 35 | for (var k = pageLinks.length - 1; k >= 0; k--) { 36 | pageLinks[k].onclick = function(e) { 37 | var site = document.getElementById('site'); 38 | var cl = site.classList; 39 | if (cl.contains('open')) { 40 | cl.remove('open'); 41 | } 42 | }; 43 | }; 44 | } 45 | -------------------------------------------------------------------------------- /components-src/testcases-topdoc-template/js/rainbow.linenumbers.min.js: -------------------------------------------------------------------------------- 1 | window.Rainbow&&(window.Rainbow.linecount=function(k){this.splitLines=function(b){var c=[[]];b=b.childNodes;for(var f=0;f=0.10.0" 51 | }, 52 | "scripts": { 53 | "start": "node ./bin/www" 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /server/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig: http://editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | indent_style = space 7 | indent_size = 2 8 | end_of_line = lf 9 | charset = utf-8 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true 12 | 13 | [*.md] 14 | trim_trailing_whitespace = false 15 | 16 | [*.js] 17 | indent_style = space 18 | indent_size = 2 19 | 20 | [*.json] 21 | indent_style = space 22 | indent_size = 2 23 | 24 | [*.css] 25 | indent_style = space 26 | indent_size = 2 27 | -------------------------------------------------------------------------------- /server/cssminify.js: -------------------------------------------------------------------------------- 1 | var CleanCSS = require('clean-css'); 2 | var Q = require('q'); 3 | 4 | function minify(css) { 5 | var defer = Q.defer(); 6 | var minified = new CleanCSS({noAdvanced: true}).minify(css); 7 | defer.resolve(minified); 8 | return defer.promise; 9 | } 10 | 11 | module.exports = minify; 12 | -------------------------------------------------------------------------------- /server/cssprefixer.js: -------------------------------------------------------------------------------- 1 | var autoprefixer = require('autoprefixer'); 2 | var Q = require('q'); 3 | 4 | function prefix(css){ 5 | var defer = Q.defer(); 6 | var prefixed = autoprefixer('> 1%', 'last 2 version', 'ff 12', 'ie 8', 'opera 12', 'chrome 12', 'safari 12', 'android 2').process(css).css; 7 | defer.resolve(prefixed); 8 | return defer.promise; 9 | } 10 | 11 | module.exports = prefix; 12 | -------------------------------------------------------------------------------- /server/schemeWriter.js: -------------------------------------------------------------------------------- 1 | var defaultSchemes = require('../www/theme').schemes; 2 | var fs = require('fs'); 3 | 4 | var writer = module.exports = { 5 | /** 6 | * @param {Object} scheme 7 | * @param {Object} scheme.name 8 | * @param {Object} scheme.colors 9 | */ 10 | generateThemeStylus: function(scheme) { 11 | var stylus = Object.keys(scheme.colors).map(function(name) { 12 | var color = scheme.colors[name]; 13 | return '$' + name + ' = ' + color; 14 | }).join('\n'); 15 | var text = scheme.text; 16 | 17 | stylus += '\n\n@import \'components\''; 18 | 19 | return stylus; 20 | }, 21 | 22 | /** 23 | * Generate stylus with color schemes. 24 | * 25 | * @param {Array} [schemes] 26 | */ 27 | generate: function(schemes) { 28 | return (schemes || defaultSchemes).map(function(scheme) { 29 | return { 30 | name: scheme.text, 31 | stylus: writer.generateThemeStylus(scheme) 32 | }; 33 | }); 34 | }, 35 | 36 | /** 37 | * @param {Array} [schemes] 38 | */ 39 | write: function(schemes) { 40 | writer.generate(schemes).forEach(function(obj) { 41 | fs.writeFileSync(__dirname + '/../components-src/stylus/' + obj.name + '-theme.styl', obj.stylus); 42 | }); 43 | } 44 | }; 45 | 46 | if (process.argv[1] === __filename) { 47 | writer.write(); 48 | } 49 | -------------------------------------------------------------------------------- /www/404.html: -------------------------------------------------------------------------------- 1 | 404 Page Not Found

404 Not found

Sorry, but the page you were trying to view does not exist.

-------------------------------------------------------------------------------- /www/ZeroClipboard.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OnsenUI/onsen-css-components/4f09d4ce6a2689efb6e488e0cd07b5331dfae4a4/www/ZeroClipboard.swf -------------------------------------------------------------------------------- /www/be/tb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OnsenUI/onsen-css-components/4f09d4ce6a2689efb6e488e0cd07b5331dfae4a4/www/be/tb.gif -------------------------------------------------------------------------------- /www/bower_components/angular-animate/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.2.16", 4 | "main": "./angular-animate.js", 5 | "dependencies": { 6 | "angular": "1.2.16" 7 | }, 8 | "homepage": "https://github.com/angular/bower-angular-animate", 9 | "_release": "1.2.16", 10 | "_resolution": { 11 | "type": "version", 12 | "tag": "v1.2.16", 13 | "commit": "4eccd8ec8356a33bf3a98958d7a73b71290d3985" 14 | }, 15 | "_source": "git://github.com/angular/bower-angular-animate.git", 16 | "_target": "~1.2.16", 17 | "_originalSource": "angular-animate", 18 | "_direct": true 19 | } -------------------------------------------------------------------------------- /www/bower_components/angular-animate/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.2.16", 4 | "main": "./angular-animate.js", 5 | "dependencies": { 6 | "angular": "1.2.16" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /www/bower_components/angular-cookies/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-cookies", 3 | "version": "1.2.15", 4 | "main": "./angular-cookies.js", 5 | "dependencies": { 6 | "angular": "1.2.15" 7 | }, 8 | "homepage": "https://github.com/angular/bower-angular-cookies", 9 | "_release": "1.2.15", 10 | "_resolution": { 11 | "type": "version", 12 | "tag": "v1.2.15", 13 | "commit": "58716f62698196b14fd7eb50e325b9ecb1b481e0" 14 | }, 15 | "_source": "git://github.com/angular/bower-angular-cookies.git", 16 | "_target": "1.2.15", 17 | "_originalSource": "angular-cookies" 18 | } -------------------------------------------------------------------------------- /www/bower_components/angular-cookies/angular-cookies.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | AngularJS v1.2.15 3 | (c) 2010-2014 Google, Inc. http://angularjs.org 4 | License: MIT 5 | */ 6 | (function(p,f,n){'use strict';f.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(e,b){var c={},g={},h,k=!1,l=f.copy,m=f.isUndefined;b.addPollFn(function(){var a=b.cookies();h!=a&&(h=a,l(a,g),l(a,c),k&&e.$apply())})();k=!0;e.$watch(function(){var a,d,e;for(a in g)m(c[a])&&b.cookies(a,n);for(a in c)d=c[a],f.isString(d)||(d=""+d,c[a]=d),d!==g[a]&&(b.cookies(a,d),e=!0);if(e)for(a in d=b.cookies(),c)c[a]!==d[a]&&(m(d[a])?delete c[a]:c[a]=d[a])});return c}]).factory("$cookieStore", 7 | ["$cookies",function(e){return{get:function(b){return(b=e[b])?f.fromJson(b):b},put:function(b,c){e[b]=f.toJson(c)},remove:function(b){delete e[b]}}}])})(window,window.angular); 8 | //# sourceMappingURL=angular-cookies.min.js.map 9 | -------------------------------------------------------------------------------- /www/bower_components/angular-cookies/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-cookies", 3 | "version": "1.2.15", 4 | "main": "./angular-cookies.js", 5 | "dependencies": { 6 | "angular": "1.2.15" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /www/bower_components/angular-mocks/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-mocks", 3 | "version": "1.2.15", 4 | "main": "./angular-mocks.js", 5 | "dependencies": { 6 | "angular": "1.2.15" 7 | }, 8 | "homepage": "https://github.com/angular/bower-angular-mocks", 9 | "_release": "1.2.15", 10 | "_resolution": { 11 | "type": "version", 12 | "tag": "v1.2.15", 13 | "commit": "6ea137cb6f72c6b1d424702345b6c077db722214" 14 | }, 15 | "_source": "git://github.com/angular/bower-angular-mocks.git", 16 | "_target": "1.2.15", 17 | "_originalSource": "angular-mocks" 18 | } -------------------------------------------------------------------------------- /www/bower_components/angular-mocks/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-mocks", 3 | "version": "1.2.15", 4 | "main": "./angular-mocks.js", 5 | "dependencies": { 6 | "angular": "1.2.15" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /www/bower_components/angular-resource/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-resource", 3 | "version": "1.2.15", 4 | "main": "./angular-resource.js", 5 | "dependencies": { 6 | "angular": "1.2.15" 7 | }, 8 | "homepage": "https://github.com/angular/bower-angular-resource", 9 | "_release": "1.2.15", 10 | "_resolution": { 11 | "type": "version", 12 | "tag": "v1.2.15", 13 | "commit": "aeeea2a95cc38a1e01792bc23d54288bcedd8349" 14 | }, 15 | "_source": "git://github.com/angular/bower-angular-resource.git", 16 | "_target": "1.2.15", 17 | "_originalSource": "angular-resource" 18 | } -------------------------------------------------------------------------------- /www/bower_components/angular-resource/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-resource", 3 | "version": "1.2.15", 4 | "main": "./angular-resource.js", 5 | "dependencies": { 6 | "angular": "1.2.15" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /www/bower_components/angular-route/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-route", 3 | "version": "1.2.16", 4 | "main": "./angular-route.js", 5 | "dependencies": { 6 | "angular": "1.2.16" 7 | }, 8 | "homepage": "https://github.com/angular/bower-angular-route", 9 | "_release": "1.2.16", 10 | "_resolution": { 11 | "type": "version", 12 | "tag": "v1.2.16", 13 | "commit": "ed0e2b796077d953f518cb81cc7af981cf695a45" 14 | }, 15 | "_source": "git://github.com/angular/bower-angular-route.git", 16 | "_target": "~1.2.16", 17 | "_originalSource": "angular-route", 18 | "_direct": true 19 | } -------------------------------------------------------------------------------- /www/bower_components/angular-route/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-route", 3 | "version": "1.2.16", 4 | "main": "./angular-route.js", 5 | "dependencies": { 6 | "angular": "1.2.16" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /www/bower_components/angular-sanitize/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-sanitize", 3 | "version": "1.2.15", 4 | "main": "./angular-sanitize.js", 5 | "dependencies": { 6 | "angular": "1.2.15" 7 | }, 8 | "homepage": "https://github.com/angular/bower-angular-sanitize", 9 | "_release": "1.2.15", 10 | "_resolution": { 11 | "type": "version", 12 | "tag": "v1.2.15", 13 | "commit": "7eb942f16fae0e064ab72edf6beb8ea235a5ccbe" 14 | }, 15 | "_source": "git://github.com/angular/bower-angular-sanitize.git", 16 | "_target": "1.2.15", 17 | "_originalSource": "angular-sanitize" 18 | } -------------------------------------------------------------------------------- /www/bower_components/angular-sanitize/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-sanitize", 3 | "version": "1.2.15", 4 | "main": "./angular-sanitize.js", 5 | "dependencies": { 6 | "angular": "1.2.15" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /www/bower_components/angular-scenario/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-scenario", 3 | "version": "1.2.15", 4 | "main": "./angular-scenario.js", 5 | "dependencies": { 6 | "angular": "1.2.15" 7 | }, 8 | "homepage": "https://github.com/angular/bower-angular-scenario", 9 | "_release": "1.2.15", 10 | "_resolution": { 11 | "type": "version", 12 | "tag": "v1.2.15", 13 | "commit": "6aac81c1bfc9c78920e6e962a838f24ab85aa7cc" 14 | }, 15 | "_source": "git://github.com/angular/bower-angular-scenario.git", 16 | "_target": "1.2.15", 17 | "_originalSource": "angular-scenario" 18 | } -------------------------------------------------------------------------------- /www/bower_components/angular-scenario/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-scenario", 3 | "version": "1.2.15", 4 | "main": "./angular-scenario.js", 5 | "dependencies": { 6 | "angular": "1.2.15" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /www/bower_components/angular-scenario/jstd-scenario-adapter-config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Configuration for jstd scenario adapter 3 | */ 4 | var jstdScenarioAdapter = { 5 | relativeUrlPrefix: '/build/docs/' 6 | }; 7 | -------------------------------------------------------------------------------- /www/bower_components/angular-translate/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-translate", 3 | "version": "2.1.0", 4 | "main": "./angular-translate.js", 5 | "homepage": "https://github.com/PascalPrecht/bower-angular-translate", 6 | "_release": "2.1.0", 7 | "_resolution": { 8 | "type": "version", 9 | "tag": "2.1.0", 10 | "commit": "0b9e64225c96458aa6bc00bd271c78353584d7c0" 11 | }, 12 | "_source": "git://github.com/PascalPrecht/bower-angular-translate.git", 13 | "_target": "~2.1.0", 14 | "_originalSource": "angular-translate", 15 | "_direct": true 16 | } -------------------------------------------------------------------------------- /www/bower_components/angular-translate/README.md: -------------------------------------------------------------------------------- 1 | # bower-angular-translate 2 | 3 | angular-translate bower package 4 | 5 | ### Installation 6 | 7 | ```` 8 | $ bower install angular-translate 9 | ```` 10 | -------------------------------------------------------------------------------- /www/bower_components/angular-translate/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-translate", 3 | "version": "2.1.0", 4 | "main": "./angular-translate.js" 5 | } 6 | -------------------------------------------------------------------------------- /www/bower_components/angular/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.2.16", 4 | "main": "./angular.js", 5 | "dependencies": {}, 6 | "homepage": "https://github.com/angular/bower-angular", 7 | "_release": "1.2.16", 8 | "_resolution": { 9 | "type": "version", 10 | "tag": "v1.2.16", 11 | "commit": "7ae38b4a0cfced157e3486a0d6e2d299601723bb" 12 | }, 13 | "_source": "git://github.com/angular/bower-angular.git", 14 | "_target": "1.2.16", 15 | "_originalSource": "angular" 16 | } -------------------------------------------------------------------------------- /www/bower_components/angular/angular-csp.css: -------------------------------------------------------------------------------- 1 | /* Include this file in your html if you are using the CSP mode. */ 2 | 3 | @charset "UTF-8"; 4 | 5 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], 6 | .ng-cloak, .x-ng-cloak, 7 | .ng-hide { 8 | display: none !important; 9 | } 10 | 11 | ng\:form { 12 | display: block; 13 | } 14 | 15 | .ng-animate-block-transitions { 16 | transition:0s all!important; 17 | -webkit-transition:0s all!important; 18 | } 19 | -------------------------------------------------------------------------------- /www/bower_components/angular/angular.min.js.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OnsenUI/onsen-css-components/4f09d4ce6a2689efb6e488e0cd07b5331dfae4a4/www/bower_components/angular/angular.min.js.gzip -------------------------------------------------------------------------------- /www/bower_components/angular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.2.16", 4 | "main": "./angular.js", 5 | "dependencies": { 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /www/bower_components/es5-shim/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "es5-shim", 3 | "homepage": "https://github.com/es-shims/es5-shim", 4 | "version": "2.1.0", 5 | "_release": "2.1.0", 6 | "_resolution": { 7 | "type": "version", 8 | "tag": "v2.1.0", 9 | "commit": "07da727ff7db2a3a25d6bc25d13e374b3bbc99c2" 10 | }, 11 | "_source": "git://github.com/es-shims/es5-shim.git", 12 | "_target": "~2.1.0", 13 | "_originalSource": "es5-shim" 14 | } -------------------------------------------------------------------------------- /www/bower_components/es5-shim/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /www/bower_components/es5-shim/CONTRIBUTORS.md: -------------------------------------------------------------------------------- 1 | 2 | - kriskowal Kris Kowal Copyright (C) 2009-2011 MIT License 3 | - tlrobinson Tom Robinson Copyright (C) 2009-2010 MIT License (Narwhal 4 | Project) 5 | - dantman Daniel Friesen Copyright (C) 2010 XXX TODO License or CLA 6 | - fschaefer Florian Schäfer Copyright (C) 2010 MIT License 7 | - Gozala Irakli Gozalishvili Copyright (C) 2010 MIT License 8 | - kitcambridge Kit Cambridge Copyright (C) 2011 MIT License 9 | - kossnocorp Sasha Koss XXX TODO License or CLA 10 | - bryanforbes Bryan Forbes XXX TODO License or CLA 11 | - killdream Quildreen Motta Copyright (C) 2011 MIT Licence 12 | - michaelficarra Michael Ficarra Copyright (C) 2011 3-clause BSD 13 | License 14 | - sharkbrainguy Gerard Paapu Copyright (C) 2011 MIT License 15 | - bbqsrc Brendan Molloy (C) 2011 Creative Commons Zero (public domain) 16 | - iwyg XXX TODO License or CLA 17 | - DomenicDenicola Domenic Denicola Copyright (C) 2011 MIT License 18 | - xavierm02 Montillet Xavier Copyright (C) 2011 MIT License 19 | - Raynos Jake Verbaten Copyright (C) 2011 MIT Licence 20 | - samsonjs Sami Samhuri Copyright (C) 2010 MIT License 21 | - rwldrn Rick Waldron Copyright (C) 2011 MIT License 22 | - lexer Alexey Zakharov XXX TODO License or CLA 23 | - 280 North Inc. (Now Motorola LLC, a subsidiary of Google Inc.) 24 | Copyright (C) 2009 MIT License 25 | - Steven Levithan Copyright (C) 2012 MIT License 26 | -------------------------------------------------------------------------------- /www/bower_components/es5-shim/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Copyright 2009, 2010 Kristopher Michael Kowal. All rights reserved. 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to 5 | deal in the Software without restriction, including without limitation the 6 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 7 | sell copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 18 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 19 | IN THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /www/bower_components/es5-shim/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "es5-shim", 3 | "version": "2.1.0", 4 | "description": "ES5 as implementable on previous engines", 5 | "homepage": "http://github.com/kriskowal/es5-shim/", 6 | "contributors": [ 7 | "Kris Kowal (http://github.com/kriskowal/)", 8 | "Sami Samhuri (http://samhuri.net/)", 9 | "Florian Schäfer (http://github.com/fschaefer)", 10 | "Irakli Gozalishvili (http://jeditoolkit.com)", 11 | "Kit Cambridge (http://kitcambridge.github.com)" 12 | ], 13 | "bugs": { 14 | "mail": "kris@cixar.com", 15 | "url": "http://github.com/kriskowal/es5-shim/issues" 16 | }, 17 | "licenses": [ 18 | { 19 | "type": "MIT", 20 | "url": "http://github.com/kriskowal/es5-shim/raw/master/LICENSE" 21 | } 22 | ], 23 | "main": "es5-shim.js", 24 | "repository": { 25 | "type": "git", 26 | "url": "http://github.com/kriskowal/es5-shim.git" 27 | }, 28 | "scripts": { 29 | "minify": "uglifyjs es5-shim.js --source-map=es5-shim.map -b ascii_only=true,beautify=false > es5-shim.min.js; uglifyjs es5-sham.js --source-map=es5-sham.map -b ascii_only=true,beautify=false > es5-sham.min.js" 30 | }, 31 | "engines": { 32 | "node": ">=0.2.0" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /www/bower_components/es5-shim/tests/helpers/h-kill.js: -------------------------------------------------------------------------------- 1 | // This methods allows the killing of built-in functions, 2 | // so the shim can take over with that implementation 3 | var HLP = (function() { 4 | "use strict"; 5 | var kill; 6 | 7 | kill = function(_class, methods) { 8 | /*if(!Array.isArray(methods)) 9 | return;*/ 10 | if(!_class.originals) 11 | _class.originals = {}; 12 | 13 | for (var i = 0, len = methods.length; i < len; i++) { 14 | var obj = methods[i]; 15 | _class.originals[obj] = _class[obj]; 16 | delete _class[obj]; 17 | if (obj in _class) { 18 | // try something more aggressive since V8 at least 19 | // appears to ignore the delete. 20 | _class[obj] = null; 21 | if (_class[obj]) { 22 | console.log("Couln't overwrite", obj, "of", _class); 23 | } 24 | } 25 | } 26 | }; 27 | return { kill: kill }; 28 | }()); 29 | 30 | HLP.kill(Function.prototype, [ 31 | 'bind' 32 | ]); 33 | 34 | HLP.kill(Array, [ 35 | 'isArray' 36 | ]); 37 | 38 | HLP.kill(String.prototype, [ 39 | "trim" 40 | ]); 41 | 42 | HLP.kill(Object, [ 43 | 'keys' 44 | ]); 45 | 46 | HLP.kill(Number.prototype, [ 47 | 'toFixed' 48 | ]); 49 | 50 | HLP.kill(Date, [ 51 | 'now', 'parse' 52 | ]); 53 | 54 | HLP.kill(Date.prototype, [ 55 | "toJSON", "toISOString" 56 | ]); 57 | 58 | HLP.kill(Array.prototype, [ 59 | 'forEach', 'some', 'every', 60 | 'indexOf', 'lastIndexOf', 61 | 'map', 'filter', 62 | 'reduce', 'reduceRight' 63 | ]); 64 | 65 | -------------------------------------------------------------------------------- /www/bower_components/es5-shim/tests/helpers/h-matchers.js: -------------------------------------------------------------------------------- 1 | beforeEach(function() { 2 | this.addMatchers({ 3 | toExactlyMatch: function(expected) { 4 | var a1, a2, 5 | l, i, 6 | key, 7 | actual = this.actual; 8 | 9 | var getKeys = function(o) { 10 | var a = []; 11 | for(key in o) { 12 | if(o.hasOwnProperty(key)) { 13 | a.push(key); 14 | } 15 | } 16 | return a; 17 | } 18 | a1 = getKeys(actual); 19 | a2 = getKeys(expected); 20 | 21 | l = a1.length; 22 | if(l !== a2.length) { 23 | return false; 24 | } 25 | for(i = 0; i < l; i++) { 26 | key = a1[i]; 27 | expect(key).toEqual(a2[i]); 28 | expect(actual[key]).toEqual(expected[key]); 29 | } 30 | 31 | return true; 32 | } 33 | }) 34 | }); 35 | -------------------------------------------------------------------------------- /www/bower_components/es5-shim/tests/helpers/h.js: -------------------------------------------------------------------------------- 1 | function implement() { 2 | throw 'Not implemented'; 3 | } -------------------------------------------------------------------------------- /www/bower_components/es5-shim/tests/lib/jasmine_favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OnsenUI/onsen-css-components/4f09d4ce6a2689efb6e488e0cd07b5331dfae4a4/www/bower_components/es5-shim/tests/lib/jasmine_favicon.png -------------------------------------------------------------------------------- /www/bower_components/es5-shim/tests/spec/s-number.js: -------------------------------------------------------------------------------- 1 | describe('Number', function () { 2 | 'use strict'; 3 | 4 | describe('toFixed', function () { 5 | it('should convert numbers correctly', function () { 6 | expect((0.00008).toFixed(3)).toBe('0.000'); 7 | expect((0.9).toFixed(0)).toBe('1'); 8 | expect((1.255).toFixed(2)).toBe('1.25'); 9 | expect((1843654265.0774949).toFixed(5)).toBe('1843654265.07749'); 10 | expect((1000000000000000128).toFixed(0)).toBe('1000000000000000128'); 11 | }); 12 | }); 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /www/bower_components/jquery-minicolors/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-minicolors", 3 | "version": "2.1.2", 4 | "homepage": "https://github.com/claviska/jquery-minicolors", 5 | "authors": [ 6 | "Cory LaViska" 7 | ], 8 | "description": "jQuery MiniColors Plugin", 9 | "main": "./jquery.minicolors.js", 10 | "keywords": [ 11 | "jquery", 12 | "colorpicker" 13 | ], 14 | "license": "MIT", 15 | "ignore": [ 16 | "**/.*", 17 | "node_modules", 18 | "bower_components", 19 | "test", 20 | "tests" 21 | ], 22 | "_release": "2.1.2", 23 | "_resolution": { 24 | "type": "version", 25 | "tag": "2.1.2", 26 | "commit": "fad977e41fbaee3ab2195550354a44066cadac59" 27 | }, 28 | "_source": "git://github.com/claviska/jquery-minicolors.git", 29 | "_target": "~2.1.2", 30 | "_originalSource": "jquery-minicolors", 31 | "_direct": true 32 | } -------------------------------------------------------------------------------- /www/bower_components/jquery-minicolors/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-minicolors", 3 | "version": "2.1.1", 4 | "homepage": "https://github.com/claviska/jquery-minicolors", 5 | "authors": [ 6 | "Cory LaViska" 7 | ], 8 | "description": "jQuery MiniColors Plugin", 9 | "main": "./jquery.minicolors.js", 10 | "keywords": [ 11 | "jquery", 12 | "colorpicker" 13 | ], 14 | "license": "MIT", 15 | "ignore": [ 16 | "**/.*", 17 | "node_modules", 18 | "bower_components", 19 | "test", 20 | "tests" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /www/bower_components/jquery-minicolors/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "jquery-minicolors", 3 | "version" : "2.1.1", 4 | "description" : "jQuery MiniColors Plugin", 5 | "homepage" : "", 6 | "main" : [ "./jquery.minicolors.js", "./jquery.minicolors.css" ], 7 | "dependencies" : { 8 | "jquery" : ">= 1.7.x" 9 | }, 10 | "keywords" : [ 11 | ], 12 | "author" : { 13 | "name" : "Cory LaViska", 14 | "web" : "http://www.abeautifulsite.net/" 15 | }, 16 | "license": [ 17 | "http://www.opensource.org/licenses/mit-license.php" 18 | ] 19 | } -------------------------------------------------------------------------------- /www/bower_components/jquery-minicolors/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "abeautifulsite/jquery-minicolors", 3 | "type": "component", 4 | "description": "jQuery MiniColors Plugin", 5 | "homepage": "http://www.abeautifulsite.net/", 6 | "license": "MIT", 7 | "extra": { 8 | "component": { 9 | "scripts": [ 10 | "jquery.minicolors.js" 11 | ], 12 | "files": [ 13 | "jquery.minicolors.js", 14 | "jquery.minicolors.min.js", 15 | "jquery.minicolors.css", 16 | "jquery.minicolors.png" 17 | ] 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /www/bower_components/jquery-minicolors/jquery.minicolors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OnsenUI/onsen-css-components/4f09d4ce6a2689efb6e488e0cd07b5331dfae4a4/www/bower_components/jquery-minicolors/jquery.minicolors.png -------------------------------------------------------------------------------- /www/bower_components/jquery-minicolors/readme.md: -------------------------------------------------------------------------------- 1 | # jQuery MiniColors: A tiny color picker built on jQuery 2 | 3 | _Copyright Cory LaViska for A Beautiful Site, LLC. (http://www.abeautifulsite.net/)_ 4 | 5 | _Licensed under the MIT license_ 6 | 7 | ## Demo & Documentation 8 | 9 | http://labs.abeautifulsite.net/jquery-minicolors/ -------------------------------------------------------------------------------- /www/bower_components/jquery/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "version": "2.1.0", 4 | "main": "dist/jquery.js", 5 | "license": "MIT", 6 | "ignore": [ 7 | "**/.*", 8 | "build", 9 | "speed", 10 | "test", 11 | "*.md", 12 | "AUTHORS.txt", 13 | "Gruntfile.js", 14 | "package.json" 15 | ], 16 | "devDependencies": { 17 | "sizzle": "1.10.16", 18 | "requirejs": "~2.1.8", 19 | "qunit": "~1.12.0", 20 | "sinon": "~1.7.3" 21 | }, 22 | "keywords": [ 23 | "jquery", 24 | "javascript", 25 | "library" 26 | ], 27 | "homepage": "https://github.com/jquery/jquery", 28 | "_release": "2.1.0", 29 | "_resolution": { 30 | "type": "version", 31 | "tag": "2.1.0", 32 | "commit": "9434e03193c45d51bbd063a0edd1a07a6178d33f" 33 | }, 34 | "_source": "git://github.com/jquery/jquery.git", 35 | "_target": "~2.1.0", 36 | "_originalSource": "jquery", 37 | "_direct": true 38 | } -------------------------------------------------------------------------------- /www/bower_components/jquery/MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2014 jQuery Foundation and other contributors 2 | http://jquery.com/ 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining 5 | a copy of this software and associated documentation files (the 6 | "Software"), to deal in the Software without restriction, including 7 | without limitation the rights to use, copy, modify, merge, publish, 8 | distribute, sublicense, and/or sell copies of the Software, and to 9 | permit persons to whom the Software is furnished to do so, subject to 10 | the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 19 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 20 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /www/bower_components/jquery/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "version": "2.1.0", 4 | "main": "dist/jquery.js", 5 | "license": "MIT", 6 | "ignore": [ 7 | "**/.*", 8 | "build", 9 | "speed", 10 | "test", 11 | "*.md", 12 | "AUTHORS.txt", 13 | "Gruntfile.js", 14 | "package.json" 15 | ], 16 | "devDependencies": { 17 | "sizzle": "1.10.16", 18 | "requirejs": "~2.1.8", 19 | "qunit": "~1.12.0", 20 | "sinon": "~1.7.3" 21 | }, 22 | "keywords": [ 23 | "jquery", 24 | "javascript", 25 | "library" 26 | ] 27 | } 28 | -------------------------------------------------------------------------------- /www/bower_components/jquery/src/ajax/parseJSON.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Support: Android 2.3 6 | // Workaround failure to string-cast null input 7 | jQuery.parseJSON = function( data ) { 8 | return JSON.parse( data + "" ); 9 | }; 10 | 11 | return jQuery.parseJSON; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /www/bower_components/jquery/src/ajax/parseXML.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Cross-browser xml parsing 6 | jQuery.parseXML = function( data ) { 7 | var xml, tmp; 8 | if ( !data || typeof data !== "string" ) { 9 | return null; 10 | } 11 | 12 | // Support: IE9 13 | try { 14 | tmp = new DOMParser(); 15 | xml = tmp.parseFromString( data, "text/xml" ); 16 | } catch ( e ) { 17 | xml = undefined; 18 | } 19 | 20 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { 21 | jQuery.error( "Invalid XML: " + data ); 22 | } 23 | return xml; 24 | }; 25 | 26 | return jQuery.parseXML; 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /www/bower_components/jquery/src/ajax/script.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../ajax" 4 | ], function( jQuery ) { 5 | 6 | // Install script dataType 7 | jQuery.ajaxSetup({ 8 | accepts: { 9 | script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" 10 | }, 11 | contents: { 12 | script: /(?:java|ecma)script/ 13 | }, 14 | converters: { 15 | "text script": function( text ) { 16 | jQuery.globalEval( text ); 17 | return text; 18 | } 19 | } 20 | }); 21 | 22 | // Handle cache's special case and crossDomain 23 | jQuery.ajaxPrefilter( "script", function( s ) { 24 | if ( s.cache === undefined ) { 25 | s.cache = false; 26 | } 27 | if ( s.crossDomain ) { 28 | s.type = "GET"; 29 | } 30 | }); 31 | 32 | // Bind script tag hack transport 33 | jQuery.ajaxTransport( "script", function( s ) { 34 | // This transport only deals with cross domain requests 35 | if ( s.crossDomain ) { 36 | var script, callback; 37 | return { 38 | send: function( _, complete ) { 39 | script = jQuery(" 10 | 11 | 12 | 13 | 14 |
List With Header
15 |
16 | 17 | 18 | Android Versions 19 | 20 | KitKat 21 | Jelly Bean 22 | Honeycomb 23 | 24 | Mac OS X Versions 25 | 26 | Mavericks 27 | Mountain Lion 28 | Lion 29 | SnowLeopard 30 | 31 | 32 | 33 |
34 | 35 | 36 | -------------------------------------------------------------------------------- /www/patterns/login.css: -------------------------------------------------------------------------------- 1 | .login-form { 2 | text-align: center; 3 | width: 80%; 4 | margin: 60px auto 0; 5 | } 6 | 7 | input[type=email], input[type=password] { 8 | display: block; 9 | width: 100%; 10 | margin: 0 auto; 11 | outline: none; 12 | height: 100%; 13 | padding-top: 15px; 14 | padding-bottom: 16px; 15 | } 16 | 17 | .login-button { 18 | width: 100%; 19 | margin: 0 auto; 20 | } 21 | 22 | .forgot-password { 23 | display: block; 24 | margin: 8px auto 0 auto; 25 | font-size: 14px; 26 | } 27 | -------------------------------------------------------------------------------- /www/patterns/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Log In
16 |
Close
17 |
18 | 19 | 28 | 29 |
30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /www/patterns/md_contact_list.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: 'Roboto', 'Noto', sans-serif; 3 | } 4 | 5 | .contact-interface { 6 | background-color: #0091EA; 7 | } 8 | 9 | .contact-interface:active { 10 | background-color: #0091EA; 11 | } 12 | 13 | .contact-interface * { 14 | color: #FFFFFF; 15 | } 16 | 17 | .contact-toolbar-buttons * { 18 | padding-right: 6px; 19 | } 20 | 21 | ons-list-item { 22 | padding-top: 0px !important; 23 | padding-bottom: 0px !important; 24 | } 25 | 26 | ons-list-item ons-col { 27 | padding-top: 5px; 28 | padding-bottom: 5px; 29 | } 30 | 31 | ons-list:first-child { 32 | margin-top: 10px; 33 | } 34 | 35 | .contact-initials { 36 | padding-left: 8px; 37 | color: #9E9E9E; 38 | font-weight: 400; 39 | font-size: 20px; 40 | } 41 | 42 | .contact-item { 43 | margin-left: 14px; 44 | padding-left: 14px; 45 | } 46 | 47 | .contact-avatar { 48 | width: 40px; 49 | height: 40px; 50 | border-radius: 50%; 51 | } 52 | 53 | .contact-name { 54 | font-weight: 400; 55 | padding-left: 18px; 56 | } 57 | -------------------------------------------------------------------------------- /www/patterns/md_inbox.css: -------------------------------------------------------------------------------- 1 | .inbox-interface { 2 | background-color: #D32F2F; 3 | } 4 | 5 | .inbox-interface:active { 6 | background-color: #D32F2F; 7 | } 8 | 9 | .inbox-interface * { 10 | color: #FFFFFF; 11 | } 12 | 13 | .inbox-li { 14 | line-height: 1; 15 | padding: 12px 16px 12px 16px; 16 | font-weight: 400; 17 | font-family: 'Roboto', sans-serif; 18 | } 19 | 20 | .inbox-image { 21 | width: 40px; 22 | height: 40px; 23 | border-radius: 50%; 24 | } 25 | 26 | .inbox-clip-icon { 27 | vertical-align: -20%; 28 | font-size: 18px; 29 | margin-right: 4px; 30 | } 31 | 32 | .inbox-details { 33 | float: right; 34 | font-size: 12px; 35 | color: #757575; 36 | } 37 | 38 | .inbox-date { 39 | margin-left: 5px; 40 | font-weight: 400; 41 | color: #2979FF; 42 | } 43 | 44 | .inbox-from { 45 | margin-bottom: 6px; 46 | } 47 | 48 | .inbox-name { 49 | font-size: 16px; 50 | font-weight: 400; 51 | margin: 0px; 52 | } 53 | 54 | .inbox-subject { 55 | margin-top: 4px; 56 | font-size: 14px; 57 | font-weight: 400; 58 | padding-right: 30px; 59 | display: block; 60 | line-height: 1.15; 61 | text-overflow: ellipsis; 62 | white-space: nowrap; 63 | overflow: hidden; 64 | } 65 | 66 | .inbox-message { 67 | margin-top: 4px; 68 | font-size: 14px; 69 | color: #757575; 70 | line-height: 1.15; 71 | text-overflow: ellipsis; 72 | white-space: nowrap; 73 | overflow: hidden; 74 | } 75 | 76 | .inbox-fav-star { 77 | margin-top: -15px; 78 | padding-left: 10px; 79 | font-size: 30px; 80 | float: right; 81 | color: rgba(0,0,0,0.50); 82 | } 83 | 84 | .inbox-fav-star > ons-icon { 85 | vertical-align: -18%; 86 | } 87 | -------------------------------------------------------------------------------- /www/patterns/people.css: -------------------------------------------------------------------------------- 1 | 2 | .tab { 3 | line-height: 1; 4 | } 5 | 6 | .tab-icon { 7 | font-size: 22px; 8 | padding: 0; 9 | margin: 0; 10 | } 11 | 12 | .tab-label { 13 | margin: 0; 14 | padding: 0; 15 | font-size: 12px; 16 | } 17 | 18 | .person-list { 19 | border-top: none; 20 | } 21 | 22 | .person { 23 | line-height: 1; 24 | } 25 | 26 | .person-list-header { 27 | opacity: 0.6; 28 | } 29 | 30 | .person-name { 31 | line-height: 44px; 32 | } 33 | 34 | .person-image { 35 | width: 30px; 36 | height: 30px; 37 | margin-top: 8px; 38 | border-radius: 2px; 39 | } 40 | -------------------------------------------------------------------------------- /www/patterns/profile.css: -------------------------------------------------------------------------------- 1 | 2 | .profile-card { 3 | width: 100%; 4 | text-align: center; 5 | color: white; 6 | padding: 30px 0; 7 | line-height: 1.4; 8 | background-color: #33393c; 9 | text-shadow: rgba(0, 0, 0, 0.4) 0px 1px 0px; 10 | } 11 | 12 | .profile-image { 13 | height: 100px; 14 | width: 100px; 15 | border-radius: 50%; 16 | -webkit-border-radius: 50%; 17 | background-color: black; 18 | border 1px solid white; 19 | box-shadow:rgba(0, 0, 0, 0.2) 0px 2px 0px 0px; 20 | -webkit-box-shadow:rgba(0, 0, 0, 0.2) 0px 2px 0px 0px; 21 | } 22 | 23 | .profile-name { 24 | margin: 20px 0 0 0; 25 | font-weight: 600; 26 | font-size: 17px; 27 | } 28 | 29 | .profile-id { 30 | margin: 0 0 5px 0; 31 | font-size: 14px; 32 | opacity: 0.6; 33 | } 34 | 35 | .profile-desc { 36 | font-size: 15px; 37 | opacity: 0.6; 38 | width: 90%; 39 | text-align: center; 40 | margin: 0 auto; 41 | } 42 | 43 | .info-col { 44 | height: 60px; 45 | line-height: 1; 46 | padding: 12px 0 12px 4px; 47 | } 48 | 49 | .info-num { 50 | font-size: 16px; 51 | font-weight: 500; 52 | opacity: 0.8; 53 | } 54 | 55 | .info-unit { 56 | margin-top: 6px; 57 | font-size: 14px; 58 | opacity: 0.4; 59 | } 60 | -------------------------------------------------------------------------------- /www/patterns/radiobutton_list.css: -------------------------------------------------------------------------------- 1 | /* none */ 2 | -------------------------------------------------------------------------------- /www/patterns/range.css: -------------------------------------------------------------------------------- 1 | .range-list { 2 | text-align: center; 3 | } 4 | 5 | .range-wrapper .range { 6 | margin-top: 7px; 7 | width: 100%; 8 | } 9 | 10 | ons-icon { 11 | opacity: 0.8; 12 | } 13 | 14 | .lower { 15 | opacity: 0.2; 16 | } 17 | -------------------------------------------------------------------------------- /www/patterns/schedule.css: -------------------------------------------------------------------------------- 1 | 2 | .plan-list { 3 | border-top: none; 4 | background-image: none !important; 5 | } 6 | 7 | .plan { 8 | line-height: 1; 9 | padding: 0; 10 | } 11 | 12 | .plan-left { 13 | text-align: right; 14 | padding: 10px 10px 10px 0; 15 | } 16 | 17 | .plan-center { 18 | background-color: #3399ff; 19 | opacity: 0.5; 20 | } 21 | 22 | .plan-right { 23 | padding: 10px 40px 10px 10px; 24 | } 25 | 26 | .plan-date { 27 | font-size: 14px; 28 | opacity: 0.8; 29 | margin-bottom: 4px; 30 | font-weight: 500; 31 | } 32 | 33 | .plan-duration { 34 | font-size: 11px; 35 | opacity: 0.4; 36 | } 37 | 38 | .plan-name { 39 | font-size: 17px; 40 | margin-bottom: 8px; 41 | } 42 | 43 | .plan-info { 44 | opacity: 0.4; 45 | font-size: 12px; 46 | line-height: 1.4; 47 | } 48 | -------------------------------------------------------------------------------- /www/patterns/settings.css: -------------------------------------------------------------------------------- 1 | .profile-wrapper { 2 | padding: 16px 10px 0 10px; 3 | } 4 | 5 | .profile-image { 6 | width: 50px; 7 | height: 50px; 8 | border-radius: 4px; 9 | -webkit-border-radius: 4px; 10 | border: inset 1px rgba(0, 0, 0, 0.3); 11 | } 12 | 13 | .profile-name { 14 | font-size: 18px; 15 | padding: 4px 0 2px 0; 16 | } 17 | 18 | .profile-email { 19 | font-size: 15px; 20 | opacity: 0.4; 21 | } 22 | 23 | .switch--list-item { 24 | margin-right: 0px; 25 | } 26 | 27 | .settings-header { 28 | font-weight: 500; 29 | font-size: 14px; 30 | opacity: 0.4; 31 | padding: 10px 0 0px 10px; 32 | margin-bottom: -4px; 33 | } 34 | 35 | .settings-list { 36 | margin-top: 10px; 37 | } 38 | -------------------------------------------------------------------------------- /www/patterns/signup.css: -------------------------------------------------------------------------------- 1 | .form-row { 2 | margin: 4px; 3 | } 4 | 5 | .width-full { 6 | width: 100%; 7 | } 8 | 9 | .width-half { 10 | width: 48%; 11 | } 12 | 13 | .lucent { 14 | opacity: 0.4; 15 | } 16 | 17 | .note { 18 | margin: 12px 8px; 19 | font-size: 13px; 20 | } 21 | 22 | .vspc { 23 | margin-top: 20px; 24 | } 25 | 26 | .formarea { 27 | width: 90%; 28 | margin: 50px auto 0px auto; 29 | } 30 | 31 | input[type=text], 32 | input[type=password] { 33 | height: 40px; 34 | padding-top: 10px; 35 | padding-bottom: 10px; 36 | } 37 | -------------------------------------------------------------------------------- /www/patterns/signup.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Back
16 |
Sign up
17 |
18 | 19 |
20 |
21 | 22 | 23 |
24 | 25 |
26 | 27 |
28 | 29 |
30 | 31 |
32 | 33 |
34 |

Password - 6 characters or more

35 |
36 | 37 |
38 | Sign up 39 |
40 |
41 | 42 |
43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /www/patterns/sliding_menu.css: -------------------------------------------------------------------------------- 1 | .page--menu-page__background { 2 | background-color: #333; 3 | color: white; 4 | } 5 | 6 | .menu-close, 7 | .menu-close > .toolbar-button { 8 | color: #999; 9 | } 10 | 11 | .menu-list, 12 | .menu-item:first-child, 13 | .menu-item { 14 | background-color: transparent; 15 | background-image: none !important; 16 | border-color: transparent; 17 | color: #fff; 18 | } 19 | 20 | .menu-item { 21 | padding: 0 0 0 20px; 22 | line-height: 52px; 23 | height: 52px; 24 | text-shadow: rgba(0, 0, 0, 0.4) 0px 1px 0px; 25 | } 26 | 27 | .menu-item:active { 28 | background-color: rgba(255, 255, 255, 0.1); 29 | } 30 | 31 | .menu-notification { 32 | display: inline-block; 33 | margin-top: 12px; 34 | font-size: 14px; 35 | height: 16px; 36 | line-height: 16px; 37 | min-width: 16px; 38 | font-weight: 600; 39 | } 40 | 41 | .bottom-menu-list, 42 | .bottom-menu-item:first-child, 43 | .bottom-menu-item { 44 | border-color: #393939; 45 | background-color: transparent; 46 | background-image: none !important; 47 | color: #ccc; 48 | } 49 | 50 | .bottom-menu-item:active { 51 | background-color: rgba(255, 255, 255, 0.1); 52 | } 53 | -------------------------------------------------------------------------------- /www/patterns/timeline.css: -------------------------------------------------------------------------------- 1 | .reply-notification { 2 | position: absolute; 3 | top: 28px; 4 | font-size: 10px; 5 | font-weight: 600; 6 | height: 13px; 7 | line-height: 13px; 8 | padding: 0 4px; 9 | min-width: 13px; 10 | margin-left: 18px; 11 | } 12 | 13 | .tab-icon { 14 | font-size: 28px; 15 | vertical-align: -4px; 16 | } 17 | 18 | .timeline { 19 | margin-top: 10px; 20 | margin-bottom: 10px; 21 | } 22 | 23 | .timeline-li { 24 | line-height: 1; 25 | padding: 10px; 26 | } 27 | 28 | .timeline-image { 29 | width: 40px; 30 | height: 40px; 31 | border-radius: 4px; 32 | } 33 | 34 | .timeline-date { 35 | float: right; 36 | font-size: 12px; 37 | opacity: 0.35; 38 | } 39 | 40 | .timeline-from { 41 | margin: 10px 0 6px 0; 42 | } 43 | 44 | .timeline-name { 45 | font-size: 15px; 46 | font-weight: 500; 47 | } 48 | 49 | .timeline-id { 50 | font-size: 14px; 51 | opacity: 0.4; 52 | } 53 | 54 | .timeline-message { 55 | margin-top: 4px; 56 | font-size: 14px; 57 | opacity: 0.8; 58 | line-height: 1.15; 59 | } 60 | -------------------------------------------------------------------------------- /www/robots.txt: -------------------------------------------------------------------------------- 1 | # robotstxt.org 2 | 3 | User-agent: * 4 | -------------------------------------------------------------------------------- /www/scripts/clipboardClients.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('app').factory('ClipboardClients', function() { 4 | var clients = []; 5 | return clients; 6 | }); 7 | -------------------------------------------------------------------------------- /www/scripts/colorScheme.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('app').factory('ColorScheme', function($rootScope) { 4 | var ColorScheme = function() { 5 | ColorScheme.prototype.init.apply(this, arguments); 6 | }; 7 | 8 | ColorScheme.prototype = { 9 | colors: {}, 10 | 11 | init: function(options) { 12 | angular.extend(this, options); 13 | }, 14 | 15 | setColor: function(variable, color) { 16 | this.colors[variable] = color; 17 | $rootScope.$broadcast('colors:changed', this.colors); 18 | }, 19 | 20 | setColors: function(colors) { 21 | for (var name in colors) { 22 | this.colors[name] = colors[name]; 23 | } 24 | $rootScope.$broadcast('colors:changed', this.colors); 25 | }, 26 | 27 | getColor: function(variable) { 28 | return this.colors[variable]; 29 | }, 30 | 31 | getColors: function() { 32 | return this.colors; 33 | }, 34 | 35 | /** 36 | * @param {Object} colors 37 | * @return {Boolean} 38 | */ 39 | isAcceptableColors: function(colors) { 40 | var colorNames = Object.keys(this.colors); 41 | 42 | for (var i = 0; i < colorNames.length; i++) { 43 | var name = colorNames[i]; 44 | if (!colors[name] || !this.isColorString(colors[name])) { 45 | return false; 46 | } 47 | } 48 | return true; 49 | }, 50 | 51 | /** 52 | * @param {String} colorString 53 | * @return {Boolean} 54 | */ 55 | isColorString: function(colorString) { 56 | return !!parseCSSColor(colorString); 57 | } 58 | }; 59 | 60 | return ColorScheme; 61 | }); 62 | 63 | -------------------------------------------------------------------------------- /www/scripts/colorSchemeFactory.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('app').factory('ColorSchemeFactory', function(ColorScheme) { 4 | var schemes = window.theme.schemes.map(function(scheme) { 5 | return new ColorScheme(scheme); 6 | }); 7 | 8 | return { 9 | getSchemes: function() { 10 | return schemes; 11 | } 12 | }; 13 | }); 14 | 15 | -------------------------------------------------------------------------------- /www/scripts/colors2URL.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('app').factory('Colors2URL', function(){ 4 | function colors2URL(colors) { 5 | var colorParam = $.param(colors); 6 | return window.location.origin + '?' + colorParam; 7 | } 8 | 9 | function colors2DownloadURL(colors) { 10 | var colorParam = $.param(colors); 11 | return window.location.origin + '/onsen-css-components.zip?' + colorParam; 12 | } 13 | 14 | return { 15 | toURL: colors2URL, 16 | toDownloadURL: colors2DownloadURL 17 | }; 18 | }); 19 | -------------------------------------------------------------------------------- /www/scripts/component.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('app').factory('Component', function() { 4 | 5 | /** 6 | * This class represents CSS component definition. 7 | */ 8 | var Component = function() { 9 | Component.prototype.init.apply(this, arguments); 10 | }; 11 | 12 | Component.prototype = { 13 | init: function(options) { 14 | options = angular.extend({ 15 | name: 'none', 16 | html: 'none', 17 | class: 'none', 18 | hint: 'none' 19 | }, options || {}); 20 | 21 | this.name = options.name; 22 | this.html = options.html; 23 | this.css = options.css; 24 | this.class = options.class; 25 | this.hint = options.hint; 26 | }, 27 | 28 | getCSSPromise: function() { 29 | var defer = $.Deferred(); 30 | defer.resolve(this.css); 31 | return defer.promise(); 32 | } 33 | }; 34 | 35 | return Component; 36 | }); 37 | -------------------------------------------------------------------------------- /www/scripts/componentCollection.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('app').factory('ComponentCollection', function(Component, CssComponentParser, GeneratedCss, $rootScope) { 4 | 5 | function ComponentCollection(){ 6 | ComponentCollection.prototype.init.apply(this, arguments); 7 | } 8 | 9 | ComponentCollection.prototype = { 10 | collection: undefined, 11 | 12 | init: function() { 13 | $rootScope.$on('GeneratedCss:changed', function() { 14 | this.parseCss(GeneratedCss.templateCss); 15 | }.bind(this)); 16 | 17 | $rootScope.$on('colors:changed', function(event, colors) { 18 | this.colors = colors; 19 | }.bind(this)); 20 | }, 21 | 22 | parseCss: function(css) { 23 | this.collection = CssComponentParser.parse(css).map(function(component) { 24 | component.varNameDict = GeneratedCss.buildVarNameDict(component.css); 25 | component.css = GeneratedCss.compile(component.css, this.colors); 26 | 27 | return component; 28 | }.bind(this)); 29 | 30 | $rootScope.$broadcast('ComponentCollection:changed', this.collection); 31 | }, 32 | 33 | all: function() { 34 | return this.collection; 35 | } 36 | }; 37 | 38 | return new ComponentCollection(); 39 | 40 | }); 41 | -------------------------------------------------------------------------------- /www/scripts/controllers/components.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('app').controller('ComponentsController', function ($scope) { 4 | 5 | $scope.updateVarNamesHighlight = function() { 6 | var result = {}; 7 | 8 | $scope.components.filter(function(component) { 9 | return component.checked; 10 | }).map(function(component) { 11 | return component.varNameDict; 12 | }).forEach(function(dict) { 13 | for (var name in dict) { 14 | result[name] = name; 15 | } 16 | }); 17 | 18 | $scope.colorCustomizer.currentVarNameDict = result; 19 | }; 20 | 21 | $scope.updateVarNamesHighlight = function() { 22 | var result = {}; 23 | 24 | $scope.components.filter(function(component) { 25 | return component.checked; 26 | }).map(function(component) { 27 | return component.varNameDict; 28 | }).forEach(function(dict) { 29 | for (var name in dict) { 30 | result[name] = name; 31 | } 32 | }); 33 | 34 | $scope.colorCustomizer.currentVarNameDict = result; 35 | }; 36 | 37 | }); 38 | -------------------------------------------------------------------------------- /www/scripts/cssEntry.js: -------------------------------------------------------------------------------- 1 | // code for browserify css module. 2 | 'use strict'; 3 | 4 | angular.module('app').factory('CSSModule', function() { 5 | return require('css'); 6 | }); 7 | 8 | -------------------------------------------------------------------------------- /www/scripts/directives/componentElement.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // directive for rendering component html & css in document. 4 | angular.module('app').directive('componentElement', function() { 5 | return { 6 | restrict: 'E', 7 | scope: { 8 | html: '=' 9 | }, 10 | replace: true, 11 | link: function(scope, element/*, attrs, controller */) { 12 | var div = document.createElement('div'); 13 | $(div).addClass('page').css({ 14 | 'display' : 'flex', 15 | 'align-items' : 'center', 16 | 'justify-content' : 'center', 17 | 'font-size' : '16px' 18 | }); 19 | var container = element[0].parentNode; 20 | container.removeChild(element[0]); 21 | container.appendChild(div); 22 | 23 | var update = function() { 24 | div.innerHTML = '
' + scope.html + '
'; 25 | }; 26 | 27 | scope.$watch('html', update); 28 | update(); 29 | } 30 | }; 31 | }); 32 | -------------------------------------------------------------------------------- /www/scripts/directives/tooltip.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // directive for rendering custom tooltip 4 | angular.module('app').directive('tooltip', function() { 5 | return { 6 | restrict: 'A', 7 | replace: true, 8 | link: function(scope, element/*, attrs, controller */) { 9 | var tooltipElement = null; 10 | 11 | element.on('mouseenter', function() { 12 | if (!tooltipElement) { 13 | tooltipElement = $(''); 14 | tooltipElement.text(element.attr('tooltip')); 15 | $('body').append(tooltipElement); 16 | } 17 | 18 | var rect = element[0].getBoundingClientRect(); 19 | tooltipElement.css({top: rect.bottom + 10, left: rect.left + rect.width / 2}).show(); 20 | }); 21 | 22 | element.on('mouseleave', function() { 23 | if (tooltipElement) { 24 | tooltipElement.hide(); 25 | } 26 | }); 27 | } 28 | }; 29 | }); 30 | -------------------------------------------------------------------------------- /www/scripts/screenPattern.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('app').factory('ScreenPattern', function() { 4 | 5 | /** 6 | * This class represents screen pattern using CSS components. 7 | */ 8 | var ScreenPattern = function() { 9 | ScreenPattern.prototype.init.apply(this, arguments); 10 | }; 11 | 12 | ScreenPattern.prototype = { 13 | init: function(options) { 14 | options = angular.extend({ 15 | html: 'none' 16 | }, options || {}); 17 | 18 | this.html = options.html; 19 | } 20 | }; 21 | 22 | return ScreenPattern; 23 | }); 24 | -------------------------------------------------------------------------------- /www/scripts/screenPatternCollection.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('app').factory('ScreenPatternCollection', function(ScreenPattern) { 4 | 5 | // Represents concreate screen patterns. 6 | var collection = [ 7 | new ScreenPattern({ 8 | html: '' 9 | }) 10 | ]; 11 | 12 | return collection; 13 | }); 14 | -------------------------------------------------------------------------------- /www/scripts/viewmodels/colorCustomizer.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('app').factory('ColorCustomizer', function() { 4 | function ColorCustomizer(options) { 5 | this.itemGroups = options.itemGroups ? options.itemGroups : []; 6 | this.currentVarNameDict = {}; 7 | } 8 | 9 | /** 10 | * @param {String} varName 11 | * @return {Boolean} 12 | */ 13 | ColorCustomizer.prototype.shouldHighlight = function(varName) { 14 | if (Object.keys(this.currentVarNameDict).length > 0) { 15 | console.log(varName); 16 | return !!this.currentVarNameDict[varName]; 17 | } 18 | return true; 19 | }; 20 | 21 | ColorCustomizer.prototype.setColors = function(colors){ 22 | $.each(colors, function(name, value){ 23 | this.setColor(name, value); 24 | }.bind(this)); 25 | }; 26 | 27 | ColorCustomizer.prototype.setColor = function(name, color) { 28 | for (var i = this.itemGroups.length - 1; i >= 0; i--) { 29 | var group = this.itemGroups[i]; 30 | 31 | for (var j = group.items.length - 1; j >= 0; j--) { 32 | var variable = group.items[j]; 33 | 34 | if(variable.name === name){ 35 | variable.value = color; 36 | return; 37 | } 38 | } 39 | } 40 | 41 | console.log('no such color: ' + name); 42 | }; 43 | 44 | return ColorCustomizer; 45 | }); 46 | -------------------------------------------------------------------------------- /www/scripts/viewmodels/dialog.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('app').factory('Dialog', function(ClipboardClients) { 4 | var Dialog = function() { 5 | }; 6 | 7 | Dialog.prototype = { 8 | isShown: false, 9 | show: function() { 10 | this.isShown = true; 11 | }, 12 | hide: function() { 13 | this.isShown = false; 14 | ClipboardClients.forEach(function(client){ 15 | client.destroy(); 16 | }); 17 | } 18 | }; 19 | 20 | return Dialog; 21 | }); 22 | -------------------------------------------------------------------------------- /www/styles/codemirror.css: -------------------------------------------------------------------------------- 1 | 2 | .CodeMirror { 3 | background-color: transparent; 4 | color: #333; 5 | font-size: 14px; 6 | } 7 | 8 | .CodeMirror pre, .CodeMirror span { 9 | font-family: 'Menlo Regular', Menlo, Consolas, monospace !important; 10 | font-weight: 100 !important; 11 | font-size: 14px; 12 | line-height: 1.2; 13 | } 14 | 15 | .CodeMirror-gutters { 16 | background-color: white; 17 | border: none; 18 | } 19 | 20 | .cm-tag { 21 | color: #070087 !important; 22 | } 23 | 24 | .cm-attribute { 25 | color: #79239F !important; 26 | } 27 | 28 | .cm-string { 29 | color: #170 !important; 30 | } 31 | -------------------------------------------------------------------------------- /www/styles/main.less: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | @import "global.less"; 4 | @import "header.less"; 5 | @import "customizer.less"; 6 | @import "contents.less"; 7 | @import "overview.less"; 8 | @import "components.less"; 9 | @import "dialog.less"; 10 | -------------------------------------------------------------------------------- /www/styles/popup.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OnsenUI/onsen-css-components/4f09d4ce6a2689efb6e488e0cd07b5331dfae4a4/www/styles/popup.less -------------------------------------------------------------------------------- /www/testcases/css/brackets.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Brackets theme 3 | * 4 | * @author Garth Braithwaite 5 | * @version 0.0.1 6 | */ 7 | pre { 8 | word-wrap: break-word; 9 | padding: 6px 10px; 10 | line-height: 19px; 11 | margin-bottom: 20px; 12 | } 13 | 14 | pre, code { 15 | font-family: source-code-pro, 'Source Code Pro', Courier, monospace; 16 | color: #535353; 17 | } 18 | 19 | pre, pre code { 20 | font-size: 13px; 21 | } 22 | 23 | pre .comment { 24 | color: #A2A2A2; 25 | } 26 | 27 | pre .support { 28 | color: #0086B3; 29 | } 30 | 31 | pre .tag, pre .tag-name { 32 | color: #446FBD; 33 | } 34 | 35 | pre .css-property { 36 | color: #8757AD; 37 | } 38 | 39 | pre .css-value, pre .support.namespace { 40 | color: #F18900; 41 | } 42 | pre .vendor-prefix { 43 | color: #535353; 44 | } 45 | pre .constant.numeric, pre .keyword.unit { 46 | color: #738D00; 47 | } 48 | pre .hex-color { 49 | color: #F18900; 50 | } 51 | pre .entity.class { 52 | color: #5585C4; 53 | } 54 | 55 | pre .entity.id, pre .entity.function { 56 | color: #900; 57 | } 58 | 59 | pre .attribute, pre .variable { 60 | color: #738D00; 61 | } 62 | 63 | pre .string, pre .support.value { 64 | color: #8757AD; 65 | } 66 | 67 | pre .regexp { 68 | color: #535353; 69 | } -------------------------------------------------------------------------------- /www/testcases/css/theme.css: -------------------------------------------------------------------------------- 1 | pre { 2 | padding: 0; 3 | font-family: 'Monaco', 'Source Code Pro', monospace; 4 | font-size: 1em; 5 | } 6 | .rainbow { 7 | border-spacing: 0; 8 | border-collapse: collapse; 9 | } 10 | .rainbow .line:hover { 11 | background-color: #171b1c; 12 | } 13 | .rainbow .line:hover .line-number { 14 | background-color: #101313; 15 | } 16 | .rainbow .line .line-number { 17 | text-align: right; 18 | background-color: #1b2022; 19 | padding-left: 0.8em; 20 | padding-right: 0.8em; 21 | } 22 | .rainbow .line .line-number:before { 23 | content: attr(data-line-number); 24 | } 25 | .rainbow .line .line-code { 26 | padding-left: 1em; 27 | width: 100%; 28 | } 29 | -------------------------------------------------------------------------------- /www/testcases/js/main.js: -------------------------------------------------------------------------------- 1 | window.onload = function(){ 2 | var showCodeDivs = document.getElementsByClassName('showcode'); 3 | for (var i = showCodeDivs.length - 1; i >= 0; i--) { 4 | showCodeDivs[i].firstChild.onclick = function(e) { 5 | var element = e.target.nextSibling.nextSibling; 6 | var style = window.getComputedStyle(element); 7 | if(style.getPropertyValue('display') == 'none'){ 8 | e.target.innerHTML = 'Hide code snippets'; 9 | element.style.display = 'block'; 10 | } else { 11 | e.target.innerHTML = 'Show code snippets'; 12 | element.style.display = 'none'; 13 | } 14 | return false; 15 | }; 16 | }; 17 | var slideMenuButton = document.getElementById('slide-menu-button'); 18 | slideMenuButton.onclick = function(e) { 19 | var site = document.getElementById('site'); 20 | var cl = site.classList; 21 | if (cl.contains('open')) { 22 | cl.remove('open'); 23 | } else { 24 | cl.add('open'); 25 | } 26 | }; 27 | var docNavs = document.getElementsByClassName('docNav'); 28 | for (var j = docNavs.length - 1; j >= 0; j--) { 29 | docNavs[j].onchange = function(e){ 30 | window.location.href = e.target[e.target.selectedIndex].value; 31 | }; 32 | }; 33 | var pageNav = document.getElementById('pageNav'); 34 | var pageLinks = pageNav.getElementsByTagName('a'); 35 | for (var k = pageLinks.length - 1; k >= 0; k--) { 36 | pageLinks[k].onclick = function(e) { 37 | var site = document.getElementById('site'); 38 | var cl = site.classList; 39 | if (cl.contains('open')) { 40 | cl.remove('open'); 41 | } 42 | }; 43 | }; 44 | } 45 | -------------------------------------------------------------------------------- /www/testcases/js/rainbow.linenumbers.min.js: -------------------------------------------------------------------------------- 1 | window.Rainbow&&(window.Rainbow.linecount=function(k){this.splitLines=function(b){var c=[[]];b=b.childNodes;for(var f=0;f and others 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/README.md: -------------------------------------------------------------------------------- 1 | # CodeMirror 2 | [![Build Status](https://secure.travis-ci.org/marijnh/CodeMirror.png?branch=master)](http://travis-ci.org/marijnh/CodeMirror) 3 | [![NPM version](https://badge.fury.io/js/codemirror.png)](http://badge.fury.io/js/codemirror) 4 | 5 | CodeMirror is a JavaScript component that provides a code editor in 6 | the browser. When a mode is available for the language you are coding 7 | in, it will color your code, and optionally help with indentation. 8 | 9 | The project page is http://codemirror.net 10 | The manual is at http://codemirror.net/doc/manual.html 11 | The contributing guidelines are in [CONTRIBUTING.md](https://github.com/marijnh/CodeMirror/blob/master/CONTRIBUTING.md) 12 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/dialog/dialog.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-dialog { 2 | position: absolute; 3 | left: 0; right: 0; 4 | background: white; 5 | z-index: 15; 6 | padding: .1em .8em; 7 | overflow: hidden; 8 | color: #333; 9 | } 10 | 11 | .CodeMirror-dialog-top { 12 | border-bottom: 1px solid #eee; 13 | top: 0; 14 | } 15 | 16 | .CodeMirror-dialog-bottom { 17 | border-top: 1px solid #eee; 18 | bottom: 0; 19 | } 20 | 21 | .CodeMirror-dialog input { 22 | border: none; 23 | outline: none; 24 | background: transparent; 25 | width: 20em; 26 | color: inherit; 27 | font-family: monospace; 28 | } 29 | 30 | .CodeMirror-dialog button { 31 | font-size: 70%; 32 | } 33 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/display/fullscreen.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-fullscreen { 2 | position: fixed; 3 | top: 0; left: 0; right: 0; bottom: 0; 4 | height: auto; 5 | z-index: 9; 6 | } 7 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/display/fullscreen.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | CodeMirror.defineOption("fullScreen", false, function(cm, val, old) { 12 | if (old == CodeMirror.Init) old = false; 13 | if (!old == !val) return; 14 | if (val) setFullscreen(cm); 15 | else setNormal(cm); 16 | }); 17 | 18 | function setFullscreen(cm) { 19 | var wrap = cm.getWrapperElement(); 20 | cm.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset, 21 | width: wrap.style.width, height: wrap.style.height}; 22 | wrap.style.width = ""; 23 | wrap.style.height = "auto"; 24 | wrap.className += " CodeMirror-fullscreen"; 25 | document.documentElement.style.overflow = "hidden"; 26 | cm.refresh(); 27 | } 28 | 29 | function setNormal(cm) { 30 | var wrap = cm.getWrapperElement(); 31 | wrap.className = wrap.className.replace(/\s*CodeMirror-fullscreen\b/, ""); 32 | document.documentElement.style.overflow = ""; 33 | var info = cm.state.fullScreenRestore; 34 | wrap.style.width = info.width; wrap.style.height = info.height; 35 | window.scrollTo(info.scrollLeft, info.scrollTop); 36 | cm.refresh(); 37 | } 38 | }); 39 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/edit/continuelist.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | var listRE = /^(\s*)([*+-]|(\d+)\.)(\s*)/, 12 | unorderedBullets = "*+-"; 13 | 14 | CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) { 15 | if (cm.getOption("disableInput")) return CodeMirror.Pass; 16 | var ranges = cm.listSelections(), replacements = []; 17 | for (var i = 0; i < ranges.length; i++) { 18 | var pos = ranges[i].head, match; 19 | var inList = cm.getStateAfter(pos.line).list !== false; 20 | 21 | if (!ranges[i].empty() || !inList || !(match = cm.getLine(pos.line).match(listRE))) { 22 | cm.execCommand("newlineAndIndent"); 23 | return; 24 | } 25 | var indent = match[1], after = match[4]; 26 | var bullet = unorderedBullets.indexOf(match[2]) >= 0 27 | ? match[2] 28 | : (parseInt(match[3], 10) + 1) + "."; 29 | 30 | replacements[i] = "\n" + indent + bullet + after; 31 | } 32 | 33 | cm.replaceSelections(replacements); 34 | }; 35 | }); 36 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/edit/trailingspace.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | CodeMirror.defineOption("showTrailingSpace", false, function(cm, val, prev) { 10 | if (prev == CodeMirror.Init) prev = false; 11 | if (prev && !val) 12 | cm.removeOverlay("trailingspace"); 13 | else if (!prev && val) 14 | cm.addOverlay({ 15 | token: function(stream) { 16 | for (var l = stream.string.length, i = l; i && /\s/.test(stream.string.charAt(i - 1)); --i) {} 17 | if (i > stream.pos) { stream.pos = i; return null; } 18 | stream.pos = l; 19 | return "trailingspace"; 20 | }, 21 | name: "trailingspace" 22 | }); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/fold/foldgutter.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-foldmarker { 2 | color: blue; 3 | text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px; 4 | font-family: arial; 5 | line-height: .3; 6 | cursor: pointer; 7 | } 8 | .CodeMirror-foldgutter { 9 | width: .7em; 10 | } 11 | .CodeMirror-foldgutter-open, 12 | .CodeMirror-foldgutter-folded { 13 | color: #555; 14 | cursor: pointer; 15 | } 16 | .CodeMirror-foldgutter-open:after { 17 | content: "\25BE"; 18 | } 19 | .CodeMirror-foldgutter-folded:after { 20 | content: "\25B8"; 21 | } 22 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/hint/show-hint.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-hints { 2 | position: absolute; 3 | z-index: 10; 4 | overflow: hidden; 5 | list-style: none; 6 | 7 | margin: 0; 8 | padding: 2px; 9 | 10 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 11 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 12 | box-shadow: 2px 3px 5px rgba(0,0,0,.2); 13 | border-radius: 3px; 14 | border: 1px solid silver; 15 | 16 | background: white; 17 | font-size: 90%; 18 | font-family: monospace; 19 | 20 | max-height: 20em; 21 | overflow-y: auto; 22 | } 23 | 24 | .CodeMirror-hint { 25 | margin: 0; 26 | padding: 0 4px; 27 | border-radius: 2px; 28 | max-width: 19em; 29 | overflow: hidden; 30 | white-space: pre; 31 | color: black; 32 | cursor: pointer; 33 | } 34 | 35 | .CodeMirror-hint-active { 36 | background: #08f; 37 | color: white; 38 | } 39 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/lint/coffeescript-lint.js: -------------------------------------------------------------------------------- 1 | // Depends on coffeelint.js from http://www.coffeelint.org/js/coffeelint.js 2 | 3 | // declare global: coffeelint 4 | 5 | (function(mod) { 6 | if (typeof exports == "object" && typeof module == "object") // CommonJS 7 | mod(require("../../lib/codemirror")); 8 | else if (typeof define == "function" && define.amd) // AMD 9 | define(["../../lib/codemirror"], mod); 10 | else // Plain browser env 11 | mod(CodeMirror); 12 | })(function(CodeMirror) { 13 | "use strict"; 14 | 15 | CodeMirror.registerHelper("lint", "coffeescript", function(text) { 16 | var found = []; 17 | var parseError = function(err) { 18 | var loc = err.lineNumber; 19 | found.push({from: CodeMirror.Pos(loc-1, 0), 20 | to: CodeMirror.Pos(loc, 0), 21 | severity: err.level, 22 | message: err.message}); 23 | }; 24 | try { 25 | var res = coffeelint.lint(text); 26 | for(var i = 0; i < res.length; i++) { 27 | parseError(res[i]); 28 | } 29 | } catch(e) { 30 | found.push({from: CodeMirror.Pos(e.location.first_line, 0), 31 | to: CodeMirror.Pos(e.location.last_line, e.location.last_column), 32 | severity: 'error', 33 | message: e.message}); 34 | } 35 | return found; 36 | }); 37 | 38 | }); 39 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/lint/css-lint.js: -------------------------------------------------------------------------------- 1 | // Depends on csslint.js from https://github.com/stubbornella/csslint 2 | 3 | // declare global: CSSLint 4 | 5 | (function(mod) { 6 | if (typeof exports == "object" && typeof module == "object") // CommonJS 7 | mod(require("../../lib/codemirror")); 8 | else if (typeof define == "function" && define.amd) // AMD 9 | define(["../../lib/codemirror"], mod); 10 | else // Plain browser env 11 | mod(CodeMirror); 12 | })(function(CodeMirror) { 13 | "use strict"; 14 | 15 | CodeMirror.registerHelper("lint", "css", function(text) { 16 | var found = []; 17 | var results = CSSLint.verify(text), messages = results.messages, message = null; 18 | for ( var i = 0; i < messages.length; i++) { 19 | message = messages[i]; 20 | var startLine = message.line -1, endLine = message.line -1, startCol = message.col -1, endCol = message.col; 21 | found.push({ 22 | from: CodeMirror.Pos(startLine, startCol), 23 | to: CodeMirror.Pos(endLine, endCol), 24 | message: message.message, 25 | severity : message.type 26 | }); 27 | } 28 | return found; 29 | }); 30 | 31 | }); 32 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/lint/json-lint.js: -------------------------------------------------------------------------------- 1 | // Depends on jsonlint.js from https://github.com/zaach/jsonlint 2 | 3 | // declare global: jsonlint 4 | 5 | (function(mod) { 6 | if (typeof exports == "object" && typeof module == "object") // CommonJS 7 | mod(require("../../lib/codemirror")); 8 | else if (typeof define == "function" && define.amd) // AMD 9 | define(["../../lib/codemirror"], mod); 10 | else // Plain browser env 11 | mod(CodeMirror); 12 | })(function(CodeMirror) { 13 | "use strict"; 14 | 15 | CodeMirror.registerHelper("lint", "json", function(text) { 16 | var found = []; 17 | jsonlint.parseError = function(str, hash) { 18 | var loc = hash.loc; 19 | found.push({from: CodeMirror.Pos(loc.first_line - 1, loc.first_column), 20 | to: CodeMirror.Pos(loc.last_line - 1, loc.last_column), 21 | message: str}); 22 | }; 23 | try { jsonlint.parse(text); } 24 | catch(e) {} 25 | return found; 26 | }); 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/lint/yaml-lint.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | // Depends on js-yaml.js from https://github.com/nodeca/js-yaml 12 | 13 | // declare global: jsyaml 14 | 15 | CodeMirror.registerHelper("lint", "yaml", function(text) { 16 | var found = []; 17 | try { jsyaml.load(text); } 18 | catch(e) { 19 | var loc = e.mark; 20 | found.push({ from: CodeMirror.Pos(loc.line, loc.column), to: CodeMirror.Pos(loc.line, loc.column), message: e.message }); 21 | } 22 | return found; 23 | }); 24 | 25 | }); 26 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/mode/multiplex_test.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | CodeMirror.defineMode("markdown_with_stex", function(){ 3 | var inner = CodeMirror.getMode({}, "stex"); 4 | var outer = CodeMirror.getMode({}, "markdown"); 5 | 6 | var innerOptions = { 7 | open: '$', 8 | close: '$', 9 | mode: inner, 10 | delimStyle: 'delim', 11 | innerStyle: 'inner' 12 | }; 13 | 14 | return CodeMirror.multiplexingMode(outer, innerOptions); 15 | }); 16 | 17 | var mode = CodeMirror.getMode({}, "markdown_with_stex"); 18 | 19 | function MT(name) { 20 | test.mode( 21 | name, 22 | mode, 23 | Array.prototype.slice.call(arguments, 1), 24 | 'multiplexing'); 25 | } 26 | 27 | MT( 28 | "stexInsideMarkdown", 29 | "[strong **Equation:**] [delim $][inner&tag \\pi][delim $]"); 30 | })(); 31 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/runmode/colorize.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror"), require("./runmode")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror", "./runmode"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | var isBlock = /^(p|li|div|h\\d|pre|blockquote|td)$/; 12 | 13 | function textContent(node, out) { 14 | if (node.nodeType == 3) return out.push(node.nodeValue); 15 | for (var ch = node.firstChild; ch; ch = ch.nextSibling) { 16 | textContent(ch, out); 17 | if (isBlock.test(node.nodeType)) out.push("\n"); 18 | } 19 | } 20 | 21 | CodeMirror.colorize = function(collection, defaultMode) { 22 | if (!collection) collection = document.body.getElementsByTagName("pre"); 23 | 24 | for (var i = 0; i < collection.length; ++i) { 25 | var node = collection[i]; 26 | var mode = node.getAttribute("data-lang") || defaultMode; 27 | if (!mode) continue; 28 | 29 | var text = []; 30 | textContent(node, text); 31 | node.innerHTML = ""; 32 | CodeMirror.runMode(text.join(""), mode, node); 33 | 34 | node.className += " cm-s-default"; 35 | } 36 | }; 37 | }); 38 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/scroll/scrollpastend.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | CodeMirror.defineOption("scrollPastEnd", false, function(cm, val, old) { 12 | if (old && old != CodeMirror.Init) { 13 | cm.off("change", onChange); 14 | cm.off("refresh", updateBottomMargin); 15 | cm.display.lineSpace.parentNode.style.paddingBottom = ""; 16 | cm.state.scrollPastEndPadding = null; 17 | } 18 | if (val) { 19 | cm.on("change", onChange); 20 | cm.on("refresh", updateBottomMargin); 21 | updateBottomMargin(cm); 22 | } 23 | }); 24 | 25 | function onChange(cm, change) { 26 | if (CodeMirror.changeEnd(change).line == cm.lastLine()) 27 | updateBottomMargin(cm); 28 | } 29 | 30 | function updateBottomMargin(cm) { 31 | var padding = ""; 32 | if (cm.lineCount() > 1) { 33 | var totalH = cm.display.scroller.clientHeight - 30, 34 | lastLineH = cm.getLineHandle(cm.lastLine()).height; 35 | padding = (totalH - lastLineH) + "px"; 36 | } 37 | if (cm.state.scrollPastEndPadding != padding) { 38 | cm.state.scrollPastEndPadding = padding; 39 | cm.display.lineSpace.parentNode.style.paddingBottom = padding; 40 | cm.setSize(); 41 | } 42 | } 43 | }); 44 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/addon/tern/worker.js: -------------------------------------------------------------------------------- 1 | // declare global: tern, server 2 | 3 | var server; 4 | 5 | this.onmessage = function(e) { 6 | var data = e.data; 7 | switch (data.type) { 8 | case "init": return startServer(data.defs, data.plugins, data.scripts); 9 | case "add": return server.addFile(data.name, data.text); 10 | case "del": return server.delFile(data.name); 11 | case "req": return server.request(data.body, function(err, reqData) { 12 | postMessage({id: data.id, body: reqData, err: err && String(err)}); 13 | }); 14 | case "getFile": 15 | var c = pending[data.id]; 16 | delete pending[data.id]; 17 | return c(data.err, data.text); 18 | default: throw new Error("Unknown message type: " + data.type); 19 | } 20 | }; 21 | 22 | var nextId = 0, pending = {}; 23 | function getFile(file, c) { 24 | postMessage({type: "getFile", name: file, id: ++nextId}); 25 | pending[nextId] = c; 26 | } 27 | 28 | function startServer(defs, plugins, scripts) { 29 | if (scripts) importScripts.apply(null, scripts); 30 | 31 | server = new tern.Server({ 32 | getFile: getFile, 33 | async: true, 34 | defs: defs, 35 | plugins: plugins 36 | }); 37 | } 38 | 39 | var console = { 40 | log: function(v) { postMessage({type: "debug", message: v}); } 41 | }; 42 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/bin/authors.sh: -------------------------------------------------------------------------------- 1 | # Combine existing list of authors with everyone known in git, sort, add header. 2 | tail --lines=+3 AUTHORS > AUTHORS.tmp 3 | git log --format='%aN' >> AUTHORS.tmp 4 | echo -e "List of CodeMirror contributors. Updated before every release.\n" > AUTHORS 5 | sort -u AUTHORS.tmp >> AUTHORS 6 | rm -f AUTHORS.tmp 7 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/bin/lint: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var lint = require("../test/lint/lint"), 4 | path = require("path"); 5 | 6 | if (process.argv.length > 2) { 7 | lint.checkDir(process.argv[2]); 8 | } else { 9 | process.chdir(path.resolve(__dirname, "..")); 10 | lint.checkDir("lib"); 11 | lint.checkDir("mode"); 12 | lint.checkDir("addon"); 13 | lint.checkDir("keymap"); 14 | } 15 | 16 | process.exit(lint.success() ? 0 : 1); 17 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CodeMirror", 3 | "main": ["lib/codemirror.js", "lib/codemirror.css"], 4 | "ignore": [ 5 | "**/.*", 6 | "node_modules", 7 | "components", 8 | "bin", 9 | "demo", 10 | "doc", 11 | "test", 12 | "index.html", 13 | "package.json" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/demo/closetag.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Close-Tag Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 | 30 | 31 |
32 |

Close-Tag Demo

33 |
34 | 35 | 41 |
42 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/demo/matchtags.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Tag Matcher Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 16 | 28 | 29 |
30 |

Tag Matcher Demo

31 | 32 | 33 |
34 | 35 | 45 | 46 |

Put the cursor on or inside a pair of tags to highlight them. 47 | Press Ctrl-J to jump to the tag that matches the one under the 48 | cursor.

49 |
50 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/doc/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OnsenUI/onsen-css-components/4f09d4ce6a2689efb6e488e0cd07b5331dfae4a4/www/vendor/codemirror-4.0/doc/logo.png -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/diff/diff.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | CodeMirror.defineMode("diff", function() { 12 | 13 | var TOKEN_NAMES = { 14 | '+': 'positive', 15 | '-': 'negative', 16 | '@': 'meta' 17 | }; 18 | 19 | return { 20 | token: function(stream) { 21 | var tw_pos = stream.string.search(/[\t ]+?$/); 22 | 23 | if (!stream.sol() || tw_pos === 0) { 24 | stream.skipToEnd(); 25 | return ("error " + ( 26 | TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, ''); 27 | } 28 | 29 | var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd(); 30 | 31 | if (tw_pos === -1) { 32 | stream.skipToEnd(); 33 | } else { 34 | stream.pos = tw_pos; 35 | } 36 | 37 | return token_name; 38 | } 39 | }; 40 | }); 41 | 42 | CodeMirror.defineMIME("text/x-diff", "diff"); 43 | 44 | }); 45 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/ecl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: ECL mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

ECL mode

27 |
45 | 48 | 49 |

Based on CodeMirror's clike mode. For more information see HPCC Systems web site.

50 |

MIME types defined: text/x-ecl.

51 | 52 |
53 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/http/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: HTTP mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

HTTP mode

27 | 28 | 29 |
39 | 40 | 43 | 44 |

MIME types defined: message/http.

45 |
46 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/jinja2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Jinja2 mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Jinja2 mode

27 |
45 | 50 |
51 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/ntriples/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: NTriples mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 28 | 29 |
30 |

NTriples mode

31 |
32 | 39 |
40 | 41 | 44 |

MIME types defined: text/n-triples.

45 |
46 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/ruby/test.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var mode = CodeMirror.getMode({indentUnit: 2}, "ruby"); 3 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } 4 | 5 | MT("divide_equal_operator", 6 | "[variable bar] [operator /=] [variable foo]"); 7 | 8 | MT("divide_equal_operator_no_spacing", 9 | "[variable foo][operator /=][number 42]"); 10 | 11 | })(); 12 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/rust/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Rust mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Rust mode

27 | 28 | 29 |
52 | 53 | 58 | 59 |

MIME types defined: text/x-rustsrc.

60 |
61 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/solr/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Solr mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 20 | 33 | 34 |
35 |

Solr mode

36 | 37 |
38 | 47 |
48 | 49 | 55 | 56 |

MIME types defined: text/x-solr.

57 |
58 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/tiddlywiki/tiddlywiki.css: -------------------------------------------------------------------------------- 1 | span.cm-underlined { 2 | text-decoration: underline; 3 | } 4 | span.cm-strikethrough { 5 | text-decoration: line-through; 6 | } 7 | span.cm-brace { 8 | color: #170; 9 | font-weight: bold; 10 | } 11 | span.cm-table { 12 | color: blue; 13 | font-weight: bold; 14 | } 15 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/tiki/tiki.css: -------------------------------------------------------------------------------- 1 | .cm-tw-syntaxerror { 2 | color: #FFF; 3 | background-color: #900; 4 | } 5 | 6 | .cm-tw-deleted { 7 | text-decoration: line-through; 8 | } 9 | 10 | .cm-tw-header5 { 11 | font-weight: bold; 12 | } 13 | .cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/ 14 | padding-left: 10px; 15 | } 16 | 17 | .cm-tw-box { 18 | border-top-width: 0px ! important; 19 | border-style: solid; 20 | border-width: 1px; 21 | border-color: inherit; 22 | } 23 | 24 | .cm-tw-underline { 25 | text-decoration: underline; 26 | } -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/turtle/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Turtle mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Turtle mode

27 |
41 | 47 | 48 |

MIME types defined: text/turtle.

49 | 50 |
51 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/mode/z80/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Z80 assembly mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Z80 assembly mode

27 | 28 | 29 |
44 | 45 | 50 | 51 |

MIME type defined: text/x-z80.

52 |
53 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "codemirror", 3 | "version":"4.0.3", 4 | "main": "lib/codemirror.js", 5 | "description": "In-browser code editing made bearable", 6 | "licenses": [{"type": "MIT", 7 | "url": "http://codemirror.net/LICENSE"}], 8 | "directories": {"lib": "./lib"}, 9 | "scripts": {"test": "node ./test/run.js"}, 10 | "devDependencies": {"node-static": "0.6.0", 11 | "phantomjs": "1.9.2-5"}, 12 | "bugs": "http://github.com/marijnh/CodeMirror/issues", 13 | "keywords": ["JavaScript", "CodeMirror", "Editor"], 14 | "homepage": "http://codemirror.net", 15 | "maintainers":[{"name": "Marijn Haverbeke", 16 | "email": "marijnh@gmail.com", 17 | "web": "http://marijnhaverbeke.nl"}], 18 | "repository": {"type": "git", 19 | "url": "https://github.com/marijnh/CodeMirror.git"} 20 | } 21 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/test/mode_test.css: -------------------------------------------------------------------------------- 1 | .mt-output .mt-token { 2 | border: 1px solid #ddd; 3 | white-space: pre; 4 | font-family: "Consolas", monospace; 5 | text-align: center; 6 | } 7 | 8 | .mt-output .mt-style { 9 | font-size: x-small; 10 | } 11 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/test/phantom_driver.js: -------------------------------------------------------------------------------- 1 | var page = require('webpage').create(); 2 | 3 | page.open("http://localhost:3000/test/index.html", function (status) { 4 | if (status != "success") { 5 | console.log("page couldn't be loaded successfully"); 6 | phantom.exit(1); 7 | } 8 | waitFor(function () { 9 | return page.evaluate(function () { 10 | var output = document.getElementById('status'); 11 | if (!output) { return false; } 12 | return (/^(\d+ failures?|all passed)/i).test(output.innerText); 13 | }); 14 | }, function () { 15 | var failed = page.evaluate(function () { return window.failed; }); 16 | var output = page.evaluate(function () { 17 | return document.getElementById('output').innerText + "\n" + 18 | document.getElementById('status').innerText; 19 | }); 20 | console.log(output); 21 | phantom.exit(failed > 0 ? 1 : 0); 22 | }); 23 | }); 24 | 25 | function waitFor (test, cb) { 26 | if (test()) { 27 | cb(); 28 | } else { 29 | setTimeout(function () { waitFor(test, cb); }, 250); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/test/run.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var lint = require("./lint/lint"); 4 | 5 | lint.checkDir("mode"); 6 | lint.checkDir("lib"); 7 | lint.checkDir("addon"); 8 | lint.checkDir("keymap"); 9 | 10 | var ok = lint.success(); 11 | 12 | var files = new (require('node-static').Server)(); 13 | 14 | var server = require('http').createServer(function (req, res) { 15 | req.addListener('end', function () { 16 | files.serve(req, res, function (err/*, result */) { 17 | if (err) { 18 | console.error(err); 19 | process.exit(1); 20 | } 21 | }); 22 | }).resume(); 23 | }).addListener('error', function (err) { 24 | throw err; 25 | }).listen(3000, function () { 26 | var childProcess = require('child_process'); 27 | var phantomjs = require("phantomjs"); 28 | var childArgs = [ 29 | require("path").join(__dirname, 'phantom_driver.js') 30 | ]; 31 | childProcess.execFile(phantomjs.path, childArgs, function (err, stdout, stderr) { 32 | server.close(); 33 | console.log(stdout); 34 | if (err) console.error(err); 35 | if (stderr) console.error(stderr); 36 | process.exit(err || stderr || !ok ? 1 : 0); 37 | }); 38 | }); 39 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/3024-day.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: 3024 day 4 | Author: Jan T. Sott (http://github.com/idleberg) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-3024-day.CodeMirror {background: #f7f7f7; color: #3a3432;} 12 | .cm-s-3024-day div.CodeMirror-selected {background: #d6d5d4 !important;} 13 | .cm-s-3024-day .CodeMirror-gutters {background: #f7f7f7; border-right: 0px;} 14 | .cm-s-3024-day .CodeMirror-linenumber {color: #807d7c;} 15 | .cm-s-3024-day .CodeMirror-cursor {border-left: 1px solid #5c5855 !important;} 16 | 17 | .cm-s-3024-day span.cm-comment {color: #cdab53;} 18 | .cm-s-3024-day span.cm-atom {color: #a16a94;} 19 | .cm-s-3024-day span.cm-number {color: #a16a94;} 20 | 21 | .cm-s-3024-day span.cm-property, .cm-s-3024-day span.cm-attribute {color: #01a252;} 22 | .cm-s-3024-day span.cm-keyword {color: #db2d20;} 23 | .cm-s-3024-day span.cm-string {color: #fded02;} 24 | 25 | .cm-s-3024-day span.cm-variable {color: #01a252;} 26 | .cm-s-3024-day span.cm-variable-2 {color: #01a0e4;} 27 | .cm-s-3024-day span.cm-def {color: #e8bbd0;} 28 | .cm-s-3024-day span.cm-bracket {color: #3a3432;} 29 | .cm-s-3024-day span.cm-tag {color: #db2d20;} 30 | .cm-s-3024-day span.cm-link {color: #a16a94;} 31 | .cm-s-3024-day span.cm-error {background: #db2d20; color: #5c5855;} 32 | 33 | .cm-s-3024-day .CodeMirror-activeline-background {background: #e8f2ff !important;} 34 | .cm-s-3024-day .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/3024-night.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: 3024 night 4 | Author: Jan T. Sott (http://github.com/idleberg) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-3024-night.CodeMirror {background: #090300; color: #d6d5d4;} 12 | .cm-s-3024-night div.CodeMirror-selected {background: #3a3432 !important;} 13 | .cm-s-3024-night .CodeMirror-gutters {background: #090300; border-right: 0px;} 14 | .cm-s-3024-night .CodeMirror-linenumber {color: #5c5855;} 15 | .cm-s-3024-night .CodeMirror-cursor {border-left: 1px solid #807d7c !important;} 16 | 17 | .cm-s-3024-night span.cm-comment {color: #cdab53;} 18 | .cm-s-3024-night span.cm-atom {color: #a16a94;} 19 | .cm-s-3024-night span.cm-number {color: #a16a94;} 20 | 21 | .cm-s-3024-night span.cm-property, .cm-s-3024-night span.cm-attribute {color: #01a252;} 22 | .cm-s-3024-night span.cm-keyword {color: #db2d20;} 23 | .cm-s-3024-night span.cm-string {color: #fded02;} 24 | 25 | .cm-s-3024-night span.cm-variable {color: #01a252;} 26 | .cm-s-3024-night span.cm-variable-2 {color: #01a0e4;} 27 | .cm-s-3024-night span.cm-def {color: #e8bbd0;} 28 | .cm-s-3024-night span.cm-bracket {color: #d6d5d4;} 29 | .cm-s-3024-night span.cm-tag {color: #db2d20;} 30 | .cm-s-3024-night span.cm-link {color: #a16a94;} 31 | .cm-s-3024-night span.cm-error {background: #db2d20; color: #807d7c;} 32 | 33 | .cm-s-3024-night .CodeMirror-activeline-background {background: #2F2F2F !important;} 34 | .cm-s-3024-night .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/ambiance-mobile.css: -------------------------------------------------------------------------------- 1 | .cm-s-ambiance.CodeMirror { 2 | -webkit-box-shadow: none; 3 | -moz-box-shadow: none; 4 | box-shadow: none; 5 | } 6 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/blackboard.css: -------------------------------------------------------------------------------- 1 | /* Port of TextMate's Blackboard theme */ 2 | 3 | .cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; } 4 | .cm-s-blackboard .CodeMirror-selected { background: #253B76 !important; } 5 | .cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; } 6 | .cm-s-blackboard .CodeMirror-linenumber { color: #888; } 7 | .cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; } 8 | 9 | .cm-s-blackboard .cm-keyword { color: #FBDE2D; } 10 | .cm-s-blackboard .cm-atom { color: #D8FA3C; } 11 | .cm-s-blackboard .cm-number { color: #D8FA3C; } 12 | .cm-s-blackboard .cm-def { color: #8DA6CE; } 13 | .cm-s-blackboard .cm-variable { color: #FF6400; } 14 | .cm-s-blackboard .cm-operator { color: #FBDE2D;} 15 | .cm-s-blackboard .cm-comment { color: #AEAEAE; } 16 | .cm-s-blackboard .cm-string { color: #61CE3C; } 17 | .cm-s-blackboard .cm-string-2 { color: #61CE3C; } 18 | .cm-s-blackboard .cm-meta { color: #D8FA3C; } 19 | .cm-s-blackboard .cm-builtin { color: #8DA6CE; } 20 | .cm-s-blackboard .cm-tag { color: #8DA6CE; } 21 | .cm-s-blackboard .cm-attribute { color: #8DA6CE; } 22 | .cm-s-blackboard .cm-header { color: #FF6400; } 23 | .cm-s-blackboard .cm-hr { color: #AEAEAE; } 24 | .cm-s-blackboard .cm-link { color: #8DA6CE; } 25 | .cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; } 26 | 27 | .cm-s-blackboard .CodeMirror-activeline-background {background: #3C3636 !important;} 28 | .cm-s-blackboard .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important} -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/cobalt.css: -------------------------------------------------------------------------------- 1 | .cm-s-cobalt.CodeMirror { background: #002240; color: white; } 2 | .cm-s-cobalt div.CodeMirror-selected { background: #b36539 !important; } 3 | .cm-s-cobalt .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } 4 | .cm-s-cobalt .CodeMirror-linenumber { color: #d0d0d0; } 5 | .cm-s-cobalt .CodeMirror-cursor { border-left: 1px solid white !important; } 6 | 7 | .cm-s-cobalt span.cm-comment { color: #08f; } 8 | .cm-s-cobalt span.cm-atom { color: #845dc4; } 9 | .cm-s-cobalt span.cm-number, .cm-s-cobalt span.cm-attribute { color: #ff80e1; } 10 | .cm-s-cobalt span.cm-keyword { color: #ffee80; } 11 | .cm-s-cobalt span.cm-string { color: #3ad900; } 12 | .cm-s-cobalt span.cm-meta { color: #ff9d00; } 13 | .cm-s-cobalt span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #9effff; } 14 | .cm-s-cobalt span.cm-variable-3, .cm-s-cobalt span.cm-def { color: white; } 15 | .cm-s-cobalt span.cm-bracket { color: #d8d8d8; } 16 | .cm-s-cobalt span.cm-builtin, .cm-s-cobalt span.cm-special { color: #ff9e59; } 17 | .cm-s-cobalt span.cm-link { color: #845dc4; } 18 | .cm-s-cobalt span.cm-error { color: #9d1e15; } 19 | 20 | .cm-s-cobalt .CodeMirror-activeline-background {background: #002D57 !important;} 21 | .cm-s-cobalt .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important} 22 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/eclipse.css: -------------------------------------------------------------------------------- 1 | .cm-s-eclipse span.cm-meta {color: #FF1717;} 2 | .cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; } 3 | .cm-s-eclipse span.cm-atom {color: #219;} 4 | .cm-s-eclipse span.cm-number {color: #164;} 5 | .cm-s-eclipse span.cm-def {color: #00f;} 6 | .cm-s-eclipse span.cm-variable {color: black;} 7 | .cm-s-eclipse span.cm-variable-2 {color: #0000C0;} 8 | .cm-s-eclipse span.cm-variable-3 {color: #0000C0;} 9 | .cm-s-eclipse span.cm-property {color: black;} 10 | .cm-s-eclipse span.cm-operator {color: black;} 11 | .cm-s-eclipse span.cm-comment {color: #3F7F5F;} 12 | .cm-s-eclipse span.cm-string {color: #2A00FF;} 13 | .cm-s-eclipse span.cm-string-2 {color: #f50;} 14 | .cm-s-eclipse span.cm-qualifier {color: #555;} 15 | .cm-s-eclipse span.cm-builtin {color: #30a;} 16 | .cm-s-eclipse span.cm-bracket {color: #cc7;} 17 | .cm-s-eclipse span.cm-tag {color: #170;} 18 | .cm-s-eclipse span.cm-attribute {color: #00c;} 19 | .cm-s-eclipse span.cm-link {color: #219;} 20 | .cm-s-eclipse span.cm-error {color: #f00;} 21 | 22 | .cm-s-eclipse .CodeMirror-activeline-background {background: #e8f2ff !important;} 23 | .cm-s-eclipse .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 24 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/elegant.css: -------------------------------------------------------------------------------- 1 | .cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;} 2 | .cm-s-elegant span.cm-comment {color: #262; font-style: italic; line-height: 1em;} 3 | .cm-s-elegant span.cm-meta {color: #555; font-style: italic; line-height: 1em;} 4 | .cm-s-elegant span.cm-variable {color: black;} 5 | .cm-s-elegant span.cm-variable-2 {color: #b11;} 6 | .cm-s-elegant span.cm-qualifier {color: #555;} 7 | .cm-s-elegant span.cm-keyword {color: #730;} 8 | .cm-s-elegant span.cm-builtin {color: #30a;} 9 | .cm-s-elegant span.cm-link {color: #762;} 10 | .cm-s-elegant span.cm-error {background-color: #fdd;} 11 | 12 | .cm-s-elegant .CodeMirror-activeline-background {background: #e8f2ff !important;} 13 | .cm-s-elegant .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 14 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/mbo.css: -------------------------------------------------------------------------------- 1 | /* Based on mbonaci's Brackets mbo theme */ 2 | 3 | .cm-s-mbo.CodeMirror {background: #2c2c2c; color: #ffffe9;} 4 | .cm-s-mbo div.CodeMirror-selected {background: #716C62 !important;} 5 | .cm-s-mbo .CodeMirror-gutters {background: #4e4e4e; border-right: 0px;} 6 | .cm-s-mbo .CodeMirror-linenumber {color: #dadada;} 7 | .cm-s-mbo .CodeMirror-cursor {border-left: 1px solid #ffffec !important;} 8 | 9 | .cm-s-mbo span.cm-comment {color: #95958a;} 10 | .cm-s-mbo span.cm-atom {color: #00a8c6;} 11 | .cm-s-mbo span.cm-number {color: #00a8c6;} 12 | 13 | .cm-s-mbo span.cm-property, .cm-s-mbo span.cm-attribute {color: #9ddfe9;} 14 | .cm-s-mbo span.cm-keyword {color: #ffb928;} 15 | .cm-s-mbo span.cm-string {color: #ffcf6c;} 16 | 17 | .cm-s-mbo span.cm-variable {color: #ffffec;} 18 | .cm-s-mbo span.cm-variable-2 {color: #00a8c6;} 19 | .cm-s-mbo span.cm-def {color: #ffffec;} 20 | .cm-s-mbo span.cm-bracket {color: #fffffc; font-weight: bold;} 21 | .cm-s-mbo span.cm-tag {color: #9ddfe9;} 22 | .cm-s-mbo span.cm-link {color: #f54b07;} 23 | .cm-s-mbo span.cm-error {background: #636363; color: #ffffec;} 24 | 25 | .cm-s-mbo .CodeMirror-activeline-background {background: #494b41 !important;} 26 | .cm-s-mbo .CodeMirror-matchingbracket { 27 | text-decoration: underline; 28 | color: #f5e107 !important; 29 | } 30 | 31 | .cm-s-mbo .CodeMirror-matchingtag {background: #4e4e4e;} 32 | 33 | .cm-s-mbo span.cm-searching { 34 | background-color: none; 35 | background: none; 36 | box-shadow: 0 0 0 1px #ffffec; 37 | } 38 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/monokai.css: -------------------------------------------------------------------------------- 1 | /* Based on Sublime Text's Monokai theme */ 2 | 3 | .cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;} 4 | .cm-s-monokai div.CodeMirror-selected {background: #49483E !important;} 5 | .cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;} 6 | .cm-s-monokai .CodeMirror-linenumber {color: #d0d0d0;} 7 | .cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;} 8 | 9 | .cm-s-monokai span.cm-comment {color: #75715e;} 10 | .cm-s-monokai span.cm-atom {color: #ae81ff;} 11 | .cm-s-monokai span.cm-number {color: #ae81ff;} 12 | 13 | .cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;} 14 | .cm-s-monokai span.cm-keyword {color: #f92672;} 15 | .cm-s-monokai span.cm-string {color: #e6db74;} 16 | 17 | .cm-s-monokai span.cm-variable {color: #a6e22e;} 18 | .cm-s-monokai span.cm-variable-2 {color: #9effff;} 19 | .cm-s-monokai span.cm-def {color: #fd971f;} 20 | .cm-s-monokai span.cm-bracket {color: #f8f8f2;} 21 | .cm-s-monokai span.cm-tag {color: #f92672;} 22 | .cm-s-monokai span.cm-link {color: #ae81ff;} 23 | .cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;} 24 | 25 | .cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;} 26 | .cm-s-monokai .CodeMirror-matchingbracket { 27 | text-decoration: underline; 28 | color: white !important; 29 | } 30 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/neat.css: -------------------------------------------------------------------------------- 1 | .cm-s-neat span.cm-comment { color: #a86; } 2 | .cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; } 3 | .cm-s-neat span.cm-string { color: #a22; } 4 | .cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; } 5 | .cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; } 6 | .cm-s-neat span.cm-variable { color: black; } 7 | .cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; } 8 | .cm-s-neat span.cm-meta {color: #555;} 9 | .cm-s-neat span.cm-link { color: #3a3; } 10 | 11 | .cm-s-neat .CodeMirror-activeline-background {background: #e8f2ff !important;} 12 | .cm-s-neat .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 13 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/night.css: -------------------------------------------------------------------------------- 1 | /* Loosely based on the Midnight Textmate theme */ 2 | 3 | .cm-s-night.CodeMirror { background: #0a001f; color: #f8f8f8; } 4 | .cm-s-night div.CodeMirror-selected { background: #447 !important; } 5 | .cm-s-night .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; } 6 | .cm-s-night .CodeMirror-linenumber { color: #f8f8f8; } 7 | .cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; } 8 | 9 | .cm-s-night span.cm-comment { color: #6900a1; } 10 | .cm-s-night span.cm-atom { color: #845dc4; } 11 | .cm-s-night span.cm-number, .cm-s-night span.cm-attribute { color: #ffd500; } 12 | .cm-s-night span.cm-keyword { color: #599eff; } 13 | .cm-s-night span.cm-string { color: #37f14a; } 14 | .cm-s-night span.cm-meta { color: #7678e2; } 15 | .cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; } 16 | .cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; } 17 | .cm-s-night span.cm-bracket { color: #8da6ce; } 18 | .cm-s-night span.cm-comment { color: #6900a1; } 19 | .cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; } 20 | .cm-s-night span.cm-link { color: #845dc4; } 21 | .cm-s-night span.cm-error { color: #9d1e15; } 22 | 23 | .cm-s-night .CodeMirror-activeline-background {background: #1C005A !important;} 24 | .cm-s-night .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 25 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/paraiso-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Paraíso (Dark) 4 | Author: Jan T. Sott 5 | 6 | Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror) 7 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 8 | 9 | */ 10 | 11 | .cm-s-paraiso-dark.CodeMirror {background: #2f1e2e; color: #b9b6b0;} 12 | .cm-s-paraiso-dark div.CodeMirror-selected {background: #41323f !important;} 13 | .cm-s-paraiso-dark .CodeMirror-gutters {background: #2f1e2e; border-right: 0px;} 14 | .cm-s-paraiso-dark .CodeMirror-linenumber {color: #776e71;} 15 | .cm-s-paraiso-dark .CodeMirror-cursor {border-left: 1px solid #8d8687 !important;} 16 | 17 | .cm-s-paraiso-dark span.cm-comment {color: #e96ba8;} 18 | .cm-s-paraiso-dark span.cm-atom {color: #815ba4;} 19 | .cm-s-paraiso-dark span.cm-number {color: #815ba4;} 20 | 21 | .cm-s-paraiso-dark span.cm-property, .cm-s-paraiso-dark span.cm-attribute {color: #48b685;} 22 | .cm-s-paraiso-dark span.cm-keyword {color: #ef6155;} 23 | .cm-s-paraiso-dark span.cm-string {color: #fec418;} 24 | 25 | .cm-s-paraiso-dark span.cm-variable {color: #48b685;} 26 | .cm-s-paraiso-dark span.cm-variable-2 {color: #06b6ef;} 27 | .cm-s-paraiso-dark span.cm-def {color: #f99b15;} 28 | .cm-s-paraiso-dark span.cm-bracket {color: #b9b6b0;} 29 | .cm-s-paraiso-dark span.cm-tag {color: #ef6155;} 30 | .cm-s-paraiso-dark span.cm-link {color: #815ba4;} 31 | .cm-s-paraiso-dark span.cm-error {background: #ef6155; color: #8d8687;} 32 | 33 | .cm-s-paraiso-dark .CodeMirror-activeline-background {background: #4D344A !important;} 34 | .cm-s-paraiso-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/rubyblue.css: -------------------------------------------------------------------------------- 1 | .cm-s-rubyblue { font-family: Trebuchet, Verdana, sans-serif; } /* - customized editor font - */ 2 | 3 | .cm-s-rubyblue.CodeMirror { background: #112435; color: white; } 4 | .cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; } 5 | .cm-s-rubyblue .CodeMirror-gutters { background: #1F4661; border-right: 7px solid #3E7087; } 6 | .cm-s-rubyblue .CodeMirror-linenumber { color: white; } 7 | .cm-s-rubyblue .CodeMirror-cursor { border-left: 1px solid white !important; } 8 | 9 | .cm-s-rubyblue span.cm-comment { color: #999; font-style:italic; line-height: 1em; } 10 | .cm-s-rubyblue span.cm-atom { color: #F4C20B; } 11 | .cm-s-rubyblue span.cm-number, .cm-s-rubyblue span.cm-attribute { color: #82C6E0; } 12 | .cm-s-rubyblue span.cm-keyword { color: #F0F; } 13 | .cm-s-rubyblue span.cm-string { color: #F08047; } 14 | .cm-s-rubyblue span.cm-meta { color: #F0F; } 15 | .cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; } 16 | .cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; } 17 | .cm-s-rubyblue span.cm-bracket { color: #F0F; } 18 | .cm-s-rubyblue span.cm-link { color: #F4C20B; } 19 | .cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; } 20 | .cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; } 21 | .cm-s-rubyblue span.cm-error { color: #AF2018; } 22 | 23 | .cm-s-rubyblue .CodeMirror-activeline-background {background: #173047 !important;} 24 | -------------------------------------------------------------------------------- /www/vendor/codemirror-4.0/theme/the-matrix.css: -------------------------------------------------------------------------------- 1 | .cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; } 2 | .cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D !important; } 3 | .cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; } 4 | .cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; } 5 | .cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; } 6 | 7 | .cm-s-the-matrix span.cm-keyword {color: #008803; font-weight: bold;} 8 | .cm-s-the-matrix span.cm-atom {color: #3FF;} 9 | .cm-s-the-matrix span.cm-number {color: #FFB94F;} 10 | .cm-s-the-matrix span.cm-def {color: #99C;} 11 | .cm-s-the-matrix span.cm-variable {color: #F6C;} 12 | .cm-s-the-matrix span.cm-variable-2 {color: #C6F;} 13 | .cm-s-the-matrix span.cm-variable-3 {color: #96F;} 14 | .cm-s-the-matrix span.cm-property {color: #62FFA0;} 15 | .cm-s-the-matrix span.cm-operator {color: #999} 16 | .cm-s-the-matrix span.cm-comment {color: #CCCCCC;} 17 | .cm-s-the-matrix span.cm-string {color: #39C;} 18 | .cm-s-the-matrix span.cm-meta {color: #C9F;} 19 | .cm-s-the-matrix span.cm-qualifier {color: #FFF700;} 20 | .cm-s-the-matrix span.cm-builtin {color: #30a;} 21 | .cm-s-the-matrix span.cm-bracket {color: #cc7;} 22 | .cm-s-the-matrix span.cm-tag {color: #FFBD40;} 23 | .cm-s-the-matrix span.cm-attribute {color: #FFF700;} 24 | .cm-s-the-matrix span.cm-error {color: #FF0000;} 25 | 26 | .cm-s-the-matrix .CodeMirror-activeline-background {background: #040;} 27 | -------------------------------------------------------------------------------- /www/views/components.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 |
    7 |
  • 8 |

    11 |
    12 |
    13 | 14 |
    15 |
  • 16 |
17 | 18 |
19 | -------------------------------------------------------------------------------- /www/views/htmlDialog.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 16 |
17 | 18 | 23 | -------------------------------------------------------------------------------- /www/views/newsletterPopup.html: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 26 | -------------------------------------------------------------------------------- /www/views/overview.html: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |
    7 |
  • 8 |

    {{pattern.displayName}} T_SHOW_HTML

    9 |
    10 |
    11 |
    12 |
    13 |
    14 | 15 |
    16 |
  • 17 |
18 |
19 | -------------------------------------------------------------------------------- /www/views/shareDialog.html: -------------------------------------------------------------------------------- 1 | 2 | 27 | 28 | 33 | -------------------------------------------------------------------------------- /www/views/thankyouDialog.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 35 |
36 | 37 | 42 | -------------------------------------------------------------------------------- /www/views/welcomeDialog.html: -------------------------------------------------------------------------------- 1 |
2 | 15 |
16 | 17 |
18 | 19 | 24 | --------------------------------------------------------------------------------