├── .gitignore ├── LICENSE ├── README.md ├── app ├── hyper │ ├── injectables │ │ ├── bluetooth-instrumentation.js │ │ ├── cordova-instrumentation.js │ │ ├── easyble.js │ │ ├── instrumentation-manager.js │ │ ├── instrumentation-starter.js │ │ ├── mqttws31.js │ │ ├── util.js │ │ └── watcher-instrumentation.js │ ├── libs │ │ ├── bootstrap-3.3.5-dist │ │ │ ├── css │ │ │ │ ├── bootstrap-theme.css │ │ │ │ ├── bootstrap-theme.css.map │ │ │ │ ├── bootstrap-theme.min.css │ │ │ │ ├── bootstrap.css │ │ │ │ ├── bootstrap.css.map │ │ │ │ └── bootstrap.min.css │ │ │ ├── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ └── js │ │ │ │ ├── bootstrap.js │ │ │ │ ├── bootstrap.min.js │ │ │ │ └── npm.js │ │ ├── codemirror-3.24 │ │ │ ├── .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 │ │ │ │ ├── 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 │ │ │ ├── index.html │ │ │ ├── keymap │ │ │ │ ├── emacs.js │ │ │ │ ├── extra.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 │ │ │ │ ├── django │ │ │ │ │ ├── django.js │ │ │ │ │ └── index.html │ │ │ │ ├── dtd │ │ │ │ │ ├── dtd.js │ │ │ │ │ └── index.html │ │ │ │ ├── dylan │ │ │ │ │ ├── dylan.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 │ │ │ │ ├── less │ │ │ │ │ ├── index.html │ │ │ │ │ └── less.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 │ │ │ │ │ └── test.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 │ │ │ │ │ │ ├── changes.js │ │ │ │ │ │ └── index.html │ │ │ │ │ └── spec │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── spec.css │ │ │ │ │ │ └── spec.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 │ │ │ │ │ ├── test.js │ │ │ │ │ └── verilog.js │ │ │ │ ├── xml │ │ │ │ │ ├── index.html │ │ │ │ │ ├── test.js │ │ │ │ │ └── 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 │ │ │ │ ├── phantom_driver.js │ │ │ │ ├── run.js │ │ │ │ ├── search_test.js │ │ │ │ ├── test.js │ │ │ │ ├── vim_test.js │ │ │ │ └── widget_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 │ │ └── jquery │ │ │ ├── jquery-2.1.4.min.js │ │ │ ├── jquery-ui.min.js │ │ │ ├── jquery.layout-latest.js │ │ │ └── layout-default-latest.css │ ├── plugins │ │ ├── build-plugin-coffee.js │ │ ├── build-plugin-js.js │ │ └── build-plugin-sass-not-workingxxx.js │ ├── server │ │ ├── app-settings.js │ │ ├── file-loader.js │ │ ├── file-monitor.js │ │ ├── file-server.js │ │ ├── file-util.js │ │ ├── log.js │ │ ├── mqttws31.js │ │ ├── system-events.js │ │ ├── ui │ │ │ ├── css │ │ │ │ └── evothings-app.css │ │ │ ├── fonts │ │ │ │ ├── ProximaNova-Black-webfont.eot │ │ │ │ ├── ProximaNova-Black-webfont.svg │ │ │ │ ├── ProximaNova-Black-webfont.ttf │ │ │ │ ├── ProximaNova-Black-webfont.woff │ │ │ │ ├── ProximaNova-Bold-webfont.eot │ │ │ │ ├── ProximaNova-Bold-webfont.svg │ │ │ │ ├── ProximaNova-Bold-webfont.ttf │ │ │ │ ├── ProximaNova-Bold-webfont.woff │ │ │ │ ├── ProximaNova-Reg-webfont.eot │ │ │ │ ├── ProximaNova-Reg-webfont.svg │ │ │ │ ├── ProximaNova-Reg-webfont.ttf │ │ │ │ ├── ProximaNova-Reg-webfont.woff │ │ │ │ └── ProximaNova.css │ │ │ └── images │ │ │ │ ├── arrow-left.svg │ │ │ │ ├── arrow-right.svg │ │ │ │ ├── logo.svg │ │ │ │ └── menu.svg │ │ ├── user-handler.js │ │ └── uuid.js │ ├── settings │ │ └── settings.js │ ├── ui │ │ ├── css │ │ │ ├── awesome-bootstrap-checkbox.css │ │ │ ├── evothings-app.css │ │ │ ├── font-awesome.min.css │ │ │ ├── hyper-common.css │ │ │ ├── hyper-ui.css │ │ │ └── tools-window.css │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── ProximaNova-Black-webfont.eot │ │ │ ├── ProximaNova-Black-webfont.svg │ │ │ ├── ProximaNova-Black-webfont.ttf │ │ │ ├── ProximaNova-Black-webfont.woff │ │ │ ├── ProximaNova-Bold-webfont.eot │ │ │ ├── ProximaNova-Bold-webfont.svg │ │ │ ├── ProximaNova-Bold-webfont.ttf │ │ │ ├── ProximaNova-Bold-webfont.woff │ │ │ ├── ProximaNova-Reg-webfont.eot │ │ │ ├── ProximaNova-Reg-webfont.svg │ │ │ ├── ProximaNova-Reg-webfont.ttf │ │ │ ├── ProximaNova-Reg-webfont.woff │ │ │ ├── ProximaNova.css │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── hyper-viewers.html │ │ ├── hyper-viewers.js │ │ ├── images │ │ │ ├── PNG │ │ │ │ ├── Galaxy3.png │ │ │ │ ├── Lumia900.png │ │ │ │ ├── Nexus7.png │ │ │ │ ├── iPad.png │ │ │ │ ├── iPadMini.png │ │ │ │ ├── iPhone4S.png │ │ │ │ └── iPhone5.png │ │ │ ├── app-icon.png │ │ │ ├── app-store.png │ │ │ ├── arrow-left.svg │ │ │ ├── arrow-right.svg │ │ │ ├── bt.png │ │ │ ├── cogs.png │ │ │ ├── cordova_256.png │ │ │ ├── diggit.png │ │ │ ├── evothings-studio-illustration.jpg │ │ │ ├── facebook.png │ │ │ ├── getting-started-mobile-app.jpg │ │ │ ├── google-play.svg │ │ │ ├── google.png │ │ │ ├── head.png │ │ │ ├── linkedin.png │ │ │ ├── logo.svg │ │ │ ├── menu.svg │ │ │ └── twitter.png │ │ ├── index.html │ │ ├── main-window-build.js │ │ ├── main-window-events.js │ │ ├── main-window-func.js │ │ ├── main-window-server.js │ │ ├── main-window.js │ │ ├── smoothie.js │ │ ├── tools-window.html │ │ └── tools-window.js │ └── util │ │ └── util.js ├── main.js └── package.json ├── build.sh ├── build ├── README.md ├── background.png ├── evo-only-logo.png ├── evothings-logo.png ├── evothings-logo.xcf ├── icon.icns ├── icon.ico └── install-spinner.gif ├── jsconfig.json ├── licenses ├── ApacheCordova-license.md ├── Bootstrap-licence.md ├── HyperReload-license.md ├── Nodejs-licence.txt ├── all-licences.md └── jQueryUI-LayoutPlugin-license.md ├── package.json └── test └── studio-spec.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /dist 3 | /app/node_modules 4 | /node_modules 5 | /app/npm-debug.log 6 | npm-debug.log 7 | -------------------------------------------------------------------------------- /app/hyper/injectables/instrumentation-starter.js: -------------------------------------------------------------------------------- 1 | hyper.log('instrumentation-starter loading...') 2 | if (window.evo && window.evo.instrumentation) 3 | { 4 | var mgr = window.evo.instrumentation 5 | // 6 | // 7 | 8 | if(window.evo.cordova) 9 | { 10 | mgr.addServiceProvider(window.evo.cordova) 11 | } 12 | 13 | if(window.evo.bluetooth) 14 | { 15 | mgr.addServiceProvider(window.evo.bluetooth) 16 | } 17 | if(window.evo.watcher) 18 | { 19 | mgr.addServiceProvider(window.evo.watcher) 20 | } 21 | // 22 | window._instrumentation = true 23 | hyper.log("INJECTION ACTIVATED") 24 | } 25 | else 26 | { 27 | hyper.log('ERROR: Could not find any evo instrumentation to start!!') 28 | } -------------------------------------------------------------------------------- /app/hyper/libs/bootstrap-3.3.5-dist/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/libs/bootstrap-3.3.5-dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /app/hyper/libs/bootstrap-3.3.5-dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/libs/bootstrap-3.3.5-dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /app/hyper/libs/bootstrap-3.3.5-dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/libs/bootstrap-3.3.5-dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /app/hyper/libs/bootstrap-3.3.5-dist/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/libs/bootstrap-3.3.5-dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /app/hyper/libs/bootstrap-3.3.5-dist/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/.gitattributes: -------------------------------------------------------------------------------- 1 | *.txt text 2 | *.js text 3 | *.html text 4 | *.md text 5 | *.json text 6 | *.yml text 7 | *.css text 8 | *.svg text 9 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /npm-debug.log 3 | test.html 4 | .tern-* 5 | *~ 6 | *.swp 7 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2014 by Marijn Haverbeke 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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/display/fullscreen.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | "use strict"; 3 | 4 | CodeMirror.defineOption("fullScreen", false, function(cm, val, old) { 5 | if (old == CodeMirror.Init) old = false; 6 | if (!old == !val) return; 7 | if (val) setFullscreen(cm); 8 | else setNormal(cm); 9 | }); 10 | 11 | function setFullscreen(cm) { 12 | var wrap = cm.getWrapperElement(); 13 | cm.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset, 14 | width: wrap.style.width, height: wrap.style.height}; 15 | wrap.style.width = ""; 16 | wrap.style.height = "auto"; 17 | wrap.className += " CodeMirror-fullscreen"; 18 | document.documentElement.style.overflow = "hidden"; 19 | cm.refresh(); 20 | } 21 | 22 | function setNormal(cm) { 23 | var wrap = cm.getWrapperElement(); 24 | wrap.className = wrap.className.replace(/\s*CodeMirror-fullscreen\b/, ""); 25 | document.documentElement.style.overflow = ""; 26 | var info = cm.state.fullScreenRestore; 27 | wrap.style.width = info.width; wrap.style.height = info.height; 28 | window.scrollTo(info.scrollLeft, info.scrollTop); 29 | cm.refresh(); 30 | } 31 | })(); 32 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/display/placeholder.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | CodeMirror.defineOption("placeholder", "", function(cm, val, old) { 3 | var prev = old && old != CodeMirror.Init; 4 | if (val && !prev) { 5 | cm.on("blur", onBlur); 6 | cm.on("change", onChange); 7 | onChange(cm); 8 | } else if (!val && prev) { 9 | cm.off("blur", onBlur); 10 | cm.off("change", onChange); 11 | clearPlaceholder(cm); 12 | var wrapper = cm.getWrapperElement(); 13 | wrapper.className = wrapper.className.replace(" CodeMirror-empty", ""); 14 | } 15 | 16 | if (val && !cm.hasFocus()) onBlur(cm); 17 | }); 18 | 19 | function clearPlaceholder(cm) { 20 | if (cm.state.placeholder) { 21 | cm.state.placeholder.parentNode.removeChild(cm.state.placeholder); 22 | cm.state.placeholder = null; 23 | } 24 | } 25 | function setPlaceholder(cm) { 26 | clearPlaceholder(cm); 27 | var elt = cm.state.placeholder = document.createElement("pre"); 28 | elt.style.cssText = "height: 0; overflow: visible"; 29 | elt.className = "CodeMirror-placeholder"; 30 | elt.appendChild(document.createTextNode(cm.getOption("placeholder"))); 31 | cm.display.lineSpace.insertBefore(elt, cm.display.lineSpace.firstChild); 32 | } 33 | 34 | function onBlur(cm) { 35 | if (isEmpty(cm)) setPlaceholder(cm); 36 | } 37 | function onChange(cm) { 38 | var wrapper = cm.getWrapperElement(), empty = isEmpty(cm); 39 | wrapper.className = wrapper.className.replace(" CodeMirror-empty", "") + (empty ? " CodeMirror-empty" : ""); 40 | 41 | if (empty) setPlaceholder(cm); 42 | else clearPlaceholder(cm); 43 | } 44 | 45 | function isEmpty(cm) { 46 | return (cm.lineCount() === 1) && (cm.getLine(0) === ""); 47 | } 48 | })(); 49 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/display/rulers.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | "use strict"; 3 | 4 | CodeMirror.defineOption("rulers", false, function(cm, val, old) { 5 | if (old && old != CodeMirror.Init) { 6 | clearRulers(cm); 7 | cm.off("refresh", refreshRulers); 8 | } 9 | if (val && val.length) { 10 | setRulers(cm); 11 | cm.on("refresh", refreshRulers); 12 | } 13 | }); 14 | 15 | function clearRulers(cm) { 16 | for (var i = cm.display.lineSpace.childNodes.length - 1; i >= 0; i--) { 17 | var node = cm.display.lineSpace.childNodes[i]; 18 | if (/(^|\s)CodeMirror-ruler($|\s)/.test(node.className)) 19 | node.parentNode.removeChild(node); 20 | } 21 | } 22 | 23 | function setRulers(cm) { 24 | var val = cm.getOption("rulers"); 25 | var cw = cm.defaultCharWidth(); 26 | var left = cm.charCoords(CodeMirror.Pos(cm.firstLine(), 0), "div").left; 27 | var bot = -cm.display.scroller.offsetHeight; 28 | for (var i = 0; i < val.length; i++) { 29 | var elt = document.createElement("div"); 30 | var col, cls = null; 31 | if (typeof val[i] == "number") { 32 | col = val[i]; 33 | } else { 34 | col = val[i].column; 35 | cls = val[i].className; 36 | } 37 | elt.className = "CodeMirror-ruler" + (cls ? " " + cls : ""); 38 | elt.style.cssText = "left: " + (left + col * cw) + "px; top: -50px; bottom: " + bot + "px"; 39 | cm.display.lineSpace.insertBefore(elt, cm.display.cursorDiv); 40 | } 41 | } 42 | 43 | function refreshRulers(cm) { 44 | clearRulers(cm); 45 | setRulers(cm); 46 | } 47 | })(); 48 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/edit/continuelist.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | var listRE = /^(\s*)([*+-]|(\d+)\.)(\s*)/, 5 | unorderedBullets = '*+-'; 6 | 7 | CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) { 8 | if (cm.getOption("disableInput")) return CodeMirror.Pass; 9 | 10 | var pos = cm.getCursor(), 11 | inList = cm.getStateAfter(pos.line).list !== false, 12 | match; 13 | 14 | if (!inList || !(match = cm.getLine(pos.line).match(listRE))) { 15 | cm.execCommand('newlineAndIndent'); 16 | return; 17 | } 18 | 19 | var indent = match[1], after = match[4]; 20 | var bullet = unorderedBullets.indexOf(match[2]) >= 0 21 | ? match[2] 22 | : (parseInt(match[3], 10) + 1) + '.'; 23 | 24 | cm.replaceSelection('\n' + indent + bullet + after, 'end'); 25 | }; 26 | 27 | }()); 28 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/edit/matchtags.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | "use strict"; 3 | 4 | CodeMirror.defineOption("matchTags", false, function(cm, val, old) { 5 | if (old && old != CodeMirror.Init) { 6 | cm.off("cursorActivity", doMatchTags); 7 | cm.off("viewportChange", maybeUpdateMatch); 8 | clear(cm); 9 | } 10 | if (val) { 11 | cm.state.matchBothTags = typeof val == "object" && val.bothTags; 12 | cm.on("cursorActivity", doMatchTags); 13 | cm.on("viewportChange", maybeUpdateMatch); 14 | doMatchTags(cm); 15 | } 16 | }); 17 | 18 | function clear(cm) { 19 | if (cm.state.tagHit) cm.state.tagHit.clear(); 20 | if (cm.state.tagOther) cm.state.tagOther.clear(); 21 | cm.state.tagHit = cm.state.tagOther = null; 22 | } 23 | 24 | function doMatchTags(cm) { 25 | cm.state.failedTagMatch = false; 26 | cm.operation(function() { 27 | clear(cm); 28 | if (cm.somethingSelected()) return; 29 | var cur = cm.getCursor(), range = cm.getViewport(); 30 | range.from = Math.min(range.from, cur.line); range.to = Math.max(cur.line + 1, range.to); 31 | var match = CodeMirror.findMatchingTag(cm, cur, range); 32 | if (!match) return; 33 | if (cm.state.matchBothTags) { 34 | var hit = match.at == "open" ? match.open : match.close; 35 | if (hit) cm.state.tagHit = cm.markText(hit.from, hit.to, {className: "CodeMirror-matchingtag"}); 36 | } 37 | var other = match.at == "close" ? match.open : match.close; 38 | if (other) 39 | cm.state.tagOther = cm.markText(other.from, other.to, {className: "CodeMirror-matchingtag"}); 40 | else 41 | cm.state.failedTagMatch = true; 42 | }); 43 | } 44 | 45 | function maybeUpdateMatch(cm) { 46 | if (cm.state.failedTagMatch) doMatchTags(cm); 47 | } 48 | 49 | CodeMirror.commands.toMatchingTag = function(cm) { 50 | var found = CodeMirror.findMatchingTag(cm, cm.getCursor()); 51 | if (found) { 52 | var other = found.at == "close" ? found.open : found.close; 53 | if (other) cm.setSelection(other.to, other.from); 54 | } 55 | }; 56 | })(); 57 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/edit/trailingspace.js: -------------------------------------------------------------------------------- 1 | CodeMirror.defineOption("showTrailingSpace", false, function(cm, val, prev) { 2 | if (prev == CodeMirror.Init) prev = false; 3 | if (prev && !val) 4 | cm.removeOverlay("trailingspace"); 5 | else if (!prev && val) 6 | cm.addOverlay({ 7 | token: function(stream) { 8 | for (var l = stream.string.length, i = l; i && /\s/.test(stream.string.charAt(i - 1)); --i) {} 9 | if (i > stream.pos) { stream.pos = i; return null; } 10 | stream.pos = l; 11 | return "trailingspace"; 12 | }, 13 | name: "trailingspace" 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/fold/comment-fold.js: -------------------------------------------------------------------------------- 1 | CodeMirror.registerGlobalHelper("fold", "comment", function(mode) { 2 | return mode.blockCommentStart && mode.blockCommentEnd; 3 | }, function(cm, start) { 4 | var mode = cm.getModeAt(start), startToken = mode.blockCommentStart, endToken = mode.blockCommentEnd; 5 | if (!startToken || !endToken) return; 6 | var line = start.line, lineText = cm.getLine(line); 7 | 8 | var startCh; 9 | for (var at = start.ch, pass = 0;;) { 10 | var found = at <= 0 ? -1 : lineText.lastIndexOf(startToken, at - 1); 11 | if (found == -1) { 12 | if (pass == 1) return; 13 | pass = 1; 14 | at = lineText.length; 15 | continue; 16 | } 17 | if (pass == 1 && found < start.ch) return; 18 | if (/comment/.test(cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1)))) { 19 | startCh = found + startToken.length; 20 | break; 21 | } 22 | at = found - 1; 23 | } 24 | 25 | var depth = 1, lastLine = cm.lastLine(), end, endCh; 26 | outer: for (var i = line; i <= lastLine; ++i) { 27 | var text = cm.getLine(i), pos = i == line ? startCh : 0; 28 | for (;;) { 29 | var nextOpen = text.indexOf(startToken, pos), nextClose = text.indexOf(endToken, pos); 30 | if (nextOpen < 0) nextOpen = text.length; 31 | if (nextClose < 0) nextClose = text.length; 32 | pos = Math.min(nextOpen, nextClose); 33 | if (pos == text.length) break; 34 | if (pos == nextOpen) ++depth; 35 | else if (!--depth) { end = i; endCh = pos; break outer; } 36 | ++pos; 37 | } 38 | } 39 | if (end == null || line == end && endCh == startCh) return; 40 | return {from: CodeMirror.Pos(line, startCh), 41 | to: CodeMirror.Pos(end, endCh)}; 42 | }); 43 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/fold/indent-fold.js: -------------------------------------------------------------------------------- 1 | CodeMirror.registerHelper("fold", "indent", function(cm, start) { 2 | var tabSize = cm.getOption("tabSize"), firstLine = cm.getLine(start.line); 3 | if (!/\S/.test(firstLine)) return; 4 | var getIndent = function(line) { 5 | return CodeMirror.countColumn(line, null, tabSize); 6 | }; 7 | var myIndent = getIndent(firstLine); 8 | var lastLineInFold = null; 9 | // Go through lines until we find a line that definitely doesn't belong in 10 | // the block we're folding, or to the end. 11 | for (var i = start.line + 1, end = cm.lastLine(); i <= end; ++i) { 12 | var curLine = cm.getLine(i); 13 | var curIndent = getIndent(curLine); 14 | if (curIndent > myIndent) { 15 | // Lines with a greater indent are considered part of the block. 16 | lastLineInFold = i; 17 | } else if (!/\S/.test(curLine)) { 18 | // Empty lines might be breaks within the block we're trying to fold. 19 | } else { 20 | // A non-empty line at an indent equal to or less than ours marks the 21 | // start of another block. 22 | break; 23 | } 24 | } 25 | if (lastLineInFold) return { 26 | from: CodeMirror.Pos(start.line, firstLine.length), 27 | to: CodeMirror.Pos(lastLineInFold, cm.getLine(lastLineInFold).length) 28 | }; 29 | }); 30 | CodeMirror.indentRangeFinder = CodeMirror.fold.indent; // deprecated 31 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/fold/markdown-fold.js: -------------------------------------------------------------------------------- 1 | CodeMirror.registerHelper("fold", "markdown", function(cm, start) { 2 | var maxDepth = 100; 3 | 4 | function isHeader(lineNo) { 5 | var tokentype = cm.getTokenTypeAt(CodeMirror.Pos(lineNo, 0)); 6 | return tokentype && /\bheader\b/.test(tokentype); 7 | } 8 | 9 | function headerLevel(lineNo, line, nextLine) { 10 | var match = line && line.match(/^#+/); 11 | if (match && isHeader(lineNo)) return match[0].length; 12 | match = nextLine && nextLine.match(/^[=\-]+\s*$/); 13 | if (match && isHeader(lineNo + 1)) return nextLine[0] == "=" ? 1 : 2; 14 | return maxDepth; 15 | } 16 | 17 | var firstLine = cm.getLine(start.line), nextLine = cm.getLine(start.line + 1); 18 | var level = headerLevel(start.line, firstLine, nextLine); 19 | if (level === maxDepth) return undefined; 20 | 21 | var lastLineNo = cm.lastLine(); 22 | var end = start.line, nextNextLine = cm.getLine(end + 2); 23 | while (end < lastLineNo) { 24 | if (headerLevel(end + 1, nextLine, nextNextLine) <= level) break; 25 | ++end; 26 | nextLine = nextNextLine; 27 | nextNextLine = cm.getLine(end + 2); 28 | } 29 | 30 | return { 31 | from: CodeMirror.Pos(start.line, firstLine.length), 32 | to: CodeMirror.Pos(end, cm.getLine(end).length) 33 | }; 34 | }); 35 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/hint/anyword-hint.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | "use strict"; 3 | 4 | var WORD = /[\w$]+/, RANGE = 500; 5 | 6 | CodeMirror.registerHelper("hint", "anyword", function(editor, options) { 7 | var word = options && options.word || WORD; 8 | var range = options && options.range || RANGE; 9 | var cur = editor.getCursor(), curLine = editor.getLine(cur.line); 10 | var start = cur.ch, end = start; 11 | while (end < curLine.length && word.test(curLine.charAt(end))) ++end; 12 | while (start && word.test(curLine.charAt(start - 1))) --start; 13 | var curWord = start != end && curLine.slice(start, end); 14 | 15 | var list = [], seen = {}; 16 | var re = new RegExp(word.source, "g"); 17 | for (var dir = -1; dir <= 1; dir += 2) { 18 | var line = cur.line, endLine = Math.min(Math.max(line + dir * range, editor.firstLine()), editor.lastLine()) + dir; 19 | for (; line != endLine; line += dir) { 20 | var text = editor.getLine(line), m; 21 | while (m = re.exec(text)) { 22 | if (line == cur.line && m[0] === curWord) continue; 23 | if ((!curWord || m[0].lastIndexOf(curWord, 0) == 0) && !Object.prototype.hasOwnProperty.call(seen, m[0])) { 24 | seen[m[0]] = true; 25 | list.push(m[0]); 26 | } 27 | } 28 | } 29 | } 30 | return {list: list, from: CodeMirror.Pos(cur.line, start), to: CodeMirror.Pos(cur.line, end)}; 31 | }); 32 | })(); 33 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/hint/css-hint.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | "use strict"; 3 | 4 | var pseudoClasses = {link: 1, visited: 1, active: 1, hover: 1, focus: 1, 5 | "first-letter": 1, "first-line": 1, "first-child": 1, 6 | before: 1, after: 1, lang: 1}; 7 | 8 | CodeMirror.registerHelper("hint", "css", function(cm) { 9 | var cur = cm.getCursor(), token = cm.getTokenAt(cur); 10 | var inner = CodeMirror.innerMode(cm.getMode(), token.state); 11 | if (inner.mode.name != "css") return; 12 | 13 | var word = token.string, start = token.start, end = token.end; 14 | if (/[^\w$_-]/.test(word)) { 15 | word = ""; start = end = cur.ch; 16 | } 17 | 18 | var spec = CodeMirror.resolveMode("text/css"); 19 | 20 | var result = []; 21 | function add(keywords) { 22 | for (var name in keywords) 23 | if (!word || name.lastIndexOf(word, 0) == 0) 24 | result.push(name); 25 | } 26 | 27 | var st = inner.state.state; 28 | if (st == "pseudo" || token.type == "variable-3") { 29 | add(pseudoClasses); 30 | } else if (st == "block" || st == "maybeprop") { 31 | add(spec.propertyKeywords); 32 | } else if (st == "prop" || st == "parens" || st == "at" || st == "params") { 33 | add(spec.valueKeywords); 34 | add(spec.colorKeywords); 35 | } else if (st == "media" || st == "media_parens") { 36 | add(spec.mediaTypes); 37 | add(spec.mediaFeatures); 38 | } 39 | 40 | if (result.length) return { 41 | list: result, 42 | from: CodeMirror.Pos(cur.line, start), 43 | to: CodeMirror.Pos(cur.line, end) 44 | }; 45 | }); 46 | })(); 47 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | CodeMirror.registerHelper("lint", "coffeescript", function(text) { 6 | var found = []; 7 | var parseError = function(err) { 8 | var loc = err.lineNumber; 9 | found.push({from: CodeMirror.Pos(loc-1, 0), 10 | to: CodeMirror.Pos(loc, 0), 11 | severity: err.level, 12 | message: err.message}); 13 | }; 14 | try { 15 | var res = coffeelint.lint(text); 16 | for(var i = 0; i < res.length; i++) { 17 | parseError(res[i]); 18 | } 19 | } catch(e) { 20 | found.push({from: CodeMirror.Pos(e.location.first_line, 0), 21 | to: CodeMirror.Pos(e.location.last_line, e.location.last_column), 22 | severity: 'error', 23 | message: e.message}); 24 | } 25 | return found; 26 | }); 27 | CodeMirror.coffeeValidator = CodeMirror.lint.coffeescript; // deprecated 28 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/lint/css-lint.js: -------------------------------------------------------------------------------- 1 | // Depends on csslint.js from https://github.com/stubbornella/csslint 2 | 3 | // declare global: CSSLint 4 | 5 | CodeMirror.registerHelper("lint", "css", function(text) { 6 | var found = []; 7 | if (!window.CSSLint) return found; 8 | var results = CSSLint.verify(text), messages = results.messages, message = null; 9 | for ( var i = 0; i < messages.length; i++) { 10 | message = messages[i]; 11 | var startLine = message.line -1, endLine = message.line -1, startCol = message.col -1, endCol = message.col; 12 | found.push({ 13 | from: CodeMirror.Pos(startLine, startCol), 14 | to: CodeMirror.Pos(endLine, endCol), 15 | message: message.message, 16 | severity : message.type 17 | }); 18 | } 19 | return found; 20 | }); 21 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/lint/json-lint.js: -------------------------------------------------------------------------------- 1 | // Depends on jsonlint.js from https://github.com/zaach/jsonlint 2 | 3 | // declare global: jsonlint 4 | 5 | CodeMirror.registerHelper("lint", "json", function(text) { 6 | var found = []; 7 | jsonlint.parseError = function(str, hash) { 8 | var loc = hash.loc; 9 | found.push({from: CodeMirror.Pos(loc.first_line - 1, loc.first_column), 10 | to: CodeMirror.Pos(loc.last_line - 1, loc.last_column), 11 | message: str}); 12 | }; 13 | try { jsonlint.parse(text); } 14 | catch(e) {} 15 | return found; 16 | }); 17 | CodeMirror.jsonValidator = CodeMirror.lint.json; // deprecated 18 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/lint/yaml-lint.js: -------------------------------------------------------------------------------- 1 | // Depends on js-yaml.js from https://github.com/nodeca/js-yaml 2 | 3 | // declare global: jsyaml 4 | 5 | CodeMirror.registerHelper("lint", "yaml", function(text) { 6 | var found = []; 7 | try { jsyaml.load(text); } 8 | catch(e) { 9 | var loc = e.mark; 10 | found.push({ from: CodeMirror.Pos(loc.line, loc.column), to: CodeMirror.Pos(loc.line, loc.column), message: e.message }); 11 | } 12 | return found; 13 | }); 14 | CodeMirror.yamlValidator = CodeMirror.lint.yaml; // deprecated 15 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/mode/loadmode.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | if (!CodeMirror.modeURL) CodeMirror.modeURL = "../mode/%N/%N.js"; 3 | 4 | var loading = {}; 5 | function splitCallback(cont, n) { 6 | var countDown = n; 7 | return function() { if (--countDown == 0) cont(); }; 8 | } 9 | function ensureDeps(mode, cont) { 10 | var deps = CodeMirror.modes[mode].dependencies; 11 | if (!deps) return cont(); 12 | var missing = []; 13 | for (var i = 0; i < deps.length; ++i) { 14 | if (!CodeMirror.modes.hasOwnProperty(deps[i])) 15 | missing.push(deps[i]); 16 | } 17 | if (!missing.length) return cont(); 18 | var split = splitCallback(cont, missing.length); 19 | for (var i = 0; i < missing.length; ++i) 20 | CodeMirror.requireMode(missing[i], split); 21 | } 22 | 23 | CodeMirror.requireMode = function(mode, cont) { 24 | if (typeof mode != "string") mode = mode.name; 25 | if (CodeMirror.modes.hasOwnProperty(mode)) return ensureDeps(mode, cont); 26 | if (loading.hasOwnProperty(mode)) return loading[mode].push(cont); 27 | 28 | var script = document.createElement("script"); 29 | script.src = CodeMirror.modeURL.replace(/%N/g, mode); 30 | var others = document.getElementsByTagName("script")[0]; 31 | others.parentNode.insertBefore(script, others); 32 | var list = loading[mode] = [cont]; 33 | var count = 0, poll = setInterval(function() { 34 | if (++count > 100) return clearInterval(poll); 35 | if (CodeMirror.modes.hasOwnProperty(mode)) { 36 | clearInterval(poll); 37 | loading[mode] = null; 38 | ensureDeps(mode, function() { 39 | for (var i = 0; i < list.length; ++i) list[i](); 40 | }); 41 | } 42 | }, 200); 43 | }; 44 | 45 | CodeMirror.autoLoadMode = function(instance, mode) { 46 | if (!CodeMirror.modes.hasOwnProperty(mode)) 47 | CodeMirror.requireMode(mode, function() { 48 | instance.setOption("mode", instance.getOption("mode")); 49 | }); 50 | }; 51 | }()); 52 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/runmode/colorize.js: -------------------------------------------------------------------------------- 1 | CodeMirror.colorize = (function() { 2 | 3 | var isBlock = /^(p|li|div|h\\d|pre|blockquote|td)$/; 4 | 5 | function textContent(node, out) { 6 | if (node.nodeType == 3) return out.push(node.nodeValue); 7 | for (var ch = node.firstChild; ch; ch = ch.nextSibling) { 8 | textContent(ch, out); 9 | if (isBlock.test(node.nodeType)) out.push("\n"); 10 | } 11 | } 12 | 13 | return function(collection, defaultMode) { 14 | if (!collection) collection = document.body.getElementsByTagName("pre"); 15 | 16 | for (var i = 0; i < collection.length; ++i) { 17 | var node = collection[i]; 18 | var mode = node.getAttribute("data-lang") || defaultMode; 19 | if (!mode) continue; 20 | 21 | var text = []; 22 | textContent(node, text); 23 | node.innerHTML = ""; 24 | CodeMirror.runMode(text.join(""), mode, node); 25 | 26 | node.className += " cm-s-default"; 27 | } 28 | }; 29 | })(); 30 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/runmode/runmode.js: -------------------------------------------------------------------------------- 1 | CodeMirror.runMode = function(string, modespec, callback, options) { 2 | var mode = CodeMirror.getMode(CodeMirror.defaults, modespec); 3 | var ie = /MSIE \d/.test(navigator.userAgent); 4 | var ie_lt9 = ie && (document.documentMode == null || document.documentMode < 9); 5 | 6 | if (callback.nodeType == 1) { 7 | var tabSize = (options && options.tabSize) || CodeMirror.defaults.tabSize; 8 | var node = callback, col = 0; 9 | node.innerHTML = ""; 10 | callback = function(text, style) { 11 | if (text == "\n") { 12 | // Emitting LF or CRLF on IE8 or earlier results in an incorrect display. 13 | // Emitting a carriage return makes everything ok. 14 | node.appendChild(document.createTextNode(ie_lt9 ? '\r' : text)); 15 | col = 0; 16 | return; 17 | } 18 | var content = ""; 19 | // replace tabs 20 | for (var pos = 0;;) { 21 | var idx = text.indexOf("\t", pos); 22 | if (idx == -1) { 23 | content += text.slice(pos); 24 | col += text.length - pos; 25 | break; 26 | } else { 27 | col += idx - pos; 28 | content += text.slice(pos, idx); 29 | var size = tabSize - col % tabSize; 30 | col += size; 31 | for (var i = 0; i < size; ++i) content += " "; 32 | pos = idx + 1; 33 | } 34 | } 35 | 36 | if (style) { 37 | var sp = node.appendChild(document.createElement("span")); 38 | sp.className = "cm-" + style.replace(/ +/g, " cm-"); 39 | sp.appendChild(document.createTextNode(content)); 40 | } else { 41 | node.appendChild(document.createTextNode(content)); 42 | } 43 | }; 44 | } 45 | 46 | var lines = CodeMirror.splitLines(string), state = (options && options.state) || CodeMirror.startState(mode); 47 | for (var i = 0, e = lines.length; i < e; ++i) { 48 | if (i) callback("\n"); 49 | var stream = new CodeMirror.StringStream(lines[i]); 50 | while (!stream.eol()) { 51 | var style = mode.token(stream, state); 52 | callback(stream.current(), style, i, stream.start, state); 53 | stream.start = stream.pos; 54 | } 55 | } 56 | }; 57 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/scroll/scrollpastend.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | "use strict"; 3 | 4 | CodeMirror.defineOption("scrollPastEnd", false, function(cm, val, old) { 5 | if (old && old != CodeMirror.Init) { 6 | cm.off("change", onChange); 7 | cm.off("refresh", updateBottomMargin); 8 | cm.display.lineSpace.parentNode.style.paddingBottom = ""; 9 | cm.state.scrollPastEndPadding = null; 10 | } 11 | if (val) { 12 | cm.on("change", onChange); 13 | cm.on("refresh", updateBottomMargin); 14 | updateBottomMargin(cm); 15 | } 16 | }); 17 | 18 | function onChange(cm, change) { 19 | if (CodeMirror.changeEnd(change).line == cm.lastLine()) 20 | updateBottomMargin(cm); 21 | } 22 | 23 | function updateBottomMargin(cm) { 24 | var padding = ""; 25 | if (cm.lineCount() > 1) { 26 | var totalH = cm.display.scroller.clientHeight - 30, 27 | lastLineH = cm.getLineHandle(cm.lastLine()).height; 28 | padding = (totalH - lastLineH) + "px"; 29 | } 30 | if (cm.state.scrollPastEndPadding != padding) { 31 | cm.state.scrollPastEndPadding = padding; 32 | cm.display.lineSpace.parentNode.style.paddingBottom = padding; 33 | cm.setSize(); 34 | } 35 | } 36 | })(); 37 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/selection/active-line.js: -------------------------------------------------------------------------------- 1 | // Because sometimes you need to style the cursor's line. 2 | // 3 | // Adds an option 'styleActiveLine' which, when enabled, gives the 4 | // active line's wrapping
the CSS class "CodeMirror-activeline", 5 | // and gives its background
the class "CodeMirror-activeline-background". 6 | 7 | (function() { 8 | "use strict"; 9 | var WRAP_CLASS = "CodeMirror-activeline"; 10 | var BACK_CLASS = "CodeMirror-activeline-background"; 11 | 12 | CodeMirror.defineOption("styleActiveLine", false, function(cm, val, old) { 13 | var prev = old && old != CodeMirror.Init; 14 | if (val && !prev) { 15 | updateActiveLine(cm, cm.getCursor().line); 16 | cm.on("beforeSelectionChange", selectionChange); 17 | } else if (!val && prev) { 18 | cm.off("beforeSelectionChange", selectionChange); 19 | clearActiveLine(cm); 20 | delete cm.state.activeLine; 21 | } 22 | }); 23 | 24 | function clearActiveLine(cm) { 25 | if ("activeLine" in cm.state) { 26 | cm.removeLineClass(cm.state.activeLine, "wrap", WRAP_CLASS); 27 | cm.removeLineClass(cm.state.activeLine, "background", BACK_CLASS); 28 | } 29 | } 30 | 31 | function updateActiveLine(cm, selectedLine) { 32 | var line = cm.getLineHandleVisualStart(selectedLine); 33 | if (cm.state.activeLine == line) return; 34 | cm.operation(function() { 35 | clearActiveLine(cm); 36 | cm.addLineClass(line, "wrap", WRAP_CLASS); 37 | cm.addLineClass(line, "background", BACK_CLASS); 38 | cm.state.activeLine = line; 39 | }); 40 | } 41 | 42 | function selectionChange(cm, sel) { 43 | updateActiveLine(cm, sel.head.line); 44 | } 45 | })(); 46 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/addon/tern/tern.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-Tern-completion { 2 | padding-left: 22px; 3 | position: relative; 4 | } 5 | .CodeMirror-Tern-completion:before { 6 | position: absolute; 7 | left: 2px; 8 | bottom: 2px; 9 | border-radius: 50%; 10 | font-size: 12px; 11 | font-weight: bold; 12 | height: 15px; 13 | width: 15px; 14 | line-height: 16px; 15 | text-align: center; 16 | color: white; 17 | -moz-box-sizing: border-box; 18 | box-sizing: border-box; 19 | } 20 | .CodeMirror-Tern-completion-unknown:before { 21 | content: "?"; 22 | background: #4bb; 23 | } 24 | .CodeMirror-Tern-completion-object:before { 25 | content: "O"; 26 | background: #77c; 27 | } 28 | .CodeMirror-Tern-completion-fn:before { 29 | content: "F"; 30 | background: #7c7; 31 | } 32 | .CodeMirror-Tern-completion-array:before { 33 | content: "A"; 34 | background: #c66; 35 | } 36 | .CodeMirror-Tern-completion-number:before { 37 | content: "1"; 38 | background: #999; 39 | } 40 | .CodeMirror-Tern-completion-string:before { 41 | content: "S"; 42 | background: #999; 43 | } 44 | .CodeMirror-Tern-completion-bool:before { 45 | content: "B"; 46 | background: #999; 47 | } 48 | 49 | .CodeMirror-Tern-completion-guess { 50 | color: #999; 51 | } 52 | 53 | .CodeMirror-Tern-tooltip { 54 | border: 1px solid silver; 55 | border-radius: 3px; 56 | color: #444; 57 | padding: 2px 5px; 58 | font-size: 90%; 59 | font-family: monospace; 60 | background-color: white; 61 | white-space: pre-wrap; 62 | 63 | max-width: 40em; 64 | position: absolute; 65 | z-index: 10; 66 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 67 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 68 | box-shadow: 2px 3px 5px rgba(0,0,0,.2); 69 | 70 | transition: opacity 1s; 71 | -moz-transition: opacity 1s; 72 | -webkit-transition: opacity 1s; 73 | -o-transition: opacity 1s; 74 | -ms-transition: opacity 1s; 75 | } 76 | 77 | .CodeMirror-Tern-hint-doc { 78 | max-width: 25em; 79 | } 80 | 81 | .CodeMirror-Tern-fname { color: black; } 82 | .CodeMirror-Tern-farg { color: #70a; } 83 | .CodeMirror-Tern-farg-current { text-decoration: underline; } 84 | .CodeMirror-Tern-type { color: #07c; } 85 | .CodeMirror-Tern-fhint-guess { opacity: .7; } 86 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/bin/release: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var fs = require("fs"), child = require("child_process"); 4 | 5 | var number, bumpOnly; 6 | 7 | for (var i = 2; i < process.argv.length; i++) { 8 | if (process.argv[i] == "-bump") bumpOnly = true; 9 | else if (/^\d+\.\d+\.\d+$/.test(process.argv[i])) number = process.argv[i]; 10 | else { console.log("Bogus command line arg: " + process.argv[i]); process.exit(1); } 11 | } 12 | 13 | if (!number) { console.log("Must give a version"); process.exit(1); } 14 | 15 | function rewrite(file, f) { 16 | fs.writeFileSync(file, f(fs.readFileSync(file, "utf8")), "utf8"); 17 | } 18 | 19 | rewrite("lib/codemirror.js", function(lib) { 20 | return lib.replace(/CodeMirror\.version = "\d+\.\d+\.\d+"/, 21 | "CodeMirror.version = \"" + number + "\""); 22 | }); 23 | rewrite("package.json", function(pack) { 24 | return pack.replace(/"version":"\d+\.\d+\.\d+"/, "\"version\":\"" + number + "\""); 25 | }); 26 | rewrite("doc/manual.html", function(manual) { 27 | return manual.replace(/>version \d+\.\d+\.\d+<\/span>/, ">version " + number + ""); 28 | }); 29 | 30 | if (bumpOnly) process.exit(0); 31 | 32 | child.exec("bash bin/authors.sh", function(){}); 33 | 34 | var simple = number.slice(0, number.lastIndexOf(".")); 35 | 36 | rewrite("doc/compress.html", function(cmp) { 37 | return cmp.replace(/\n "); 39 | }); 40 | 41 | rewrite("index.html", function(index) { 42 | return index.replace(/version \d+\.\d+<\/strong>/, 43 | "version " + simple + ""); 44 | }); 45 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/bin/source-highlight: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | // Simple command-line code highlighting tool. Reads code from stdin, 4 | // spits html to stdout. For example: 5 | // 6 | // echo 'function foo(a) { return a; }' | bin/source-highlight -s javascript 7 | // bin/source-highlight -s 8 | 9 | var fs = require("fs"); 10 | 11 | CodeMirror = require("../addon/runmode/runmode.node.js"); 12 | require("../mode/meta.js"); 13 | 14 | var sPos = process.argv.indexOf("-s"); 15 | if (sPos == -1 || sPos == process.argv.length - 1) { 16 | console.error("Usage: source-highlight -s language"); 17 | process.exit(1); 18 | } 19 | var lang = process.argv[sPos + 1].toLowerCase(), modeName = lang; 20 | CodeMirror.modeInfo.forEach(function(info) { 21 | if (info.mime == lang) { 22 | modeName = info.mode; 23 | } else if (info.name.toLowerCase() == lang) { 24 | modeName = info.mode; 25 | lang = info.mime; 26 | } 27 | }); 28 | 29 | function ensureMode(name) { 30 | if (CodeMirror.modes[name] || name == "null") return; 31 | try { 32 | require("../mode/" + name + "/" + name + ".js"); 33 | } catch(e) { 34 | console.error("Could not load mode " + name + "."); 35 | process.exit(1); 36 | } 37 | var obj = CodeMirror.modes[name]; 38 | if (obj.dependencies) obj.dependencies.forEach(ensureMode); 39 | } 40 | ensureMode(modeName); 41 | 42 | function esc(str) { 43 | return str.replace(/[<&]/g, function(ch) { return ch == "&" ? "&" : "<"; }); 44 | } 45 | 46 | var code = fs.readFileSync("/dev/stdin", "utf8"); 47 | var curStyle = null, accum = ""; 48 | function flush() { 49 | if (curStyle) process.stdout.write("" + esc(accum) + ""); 50 | else process.stdout.write(esc(accum)); 51 | } 52 | 53 | CodeMirror.runMode(code, lang, function(text, style) { 54 | if (style != curStyle) { 55 | flush(); 56 | curStyle = style; accum = text; 57 | } else { 58 | accum += text; 59 | } 60 | }); 61 | flush(); 62 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/demo/changemode.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Mode-Changing Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 26 | 27 |
28 |

Mode-Changing Demo

29 |
36 | 37 |

On changes to the content of the above editor, a (crude) script 38 | tries to auto-detect the language used, and switches the editor to 39 | either JavaScript or Scheme mode based on that.

40 | 41 | 58 |
59 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/demo/html5complete.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: HTML completion demo 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 36 | 37 |
38 |

HTML completion demo

39 | 40 |

Shows the XML completer 41 | parameterized with information about the tags in HTML. 42 | Press ctrl-space to activate completion.

43 | 44 |
45 | 46 | 55 |
56 | 57 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/demo/loadmode.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Lazy Mode Loading Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 13 | 25 | 26 |
27 |

Lazy Mode Loading Demo

28 |
33 |

34 | 35 | 49 |
50 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/demo/marker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Breakpoint Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 27 | 28 |
29 |

Breakpoint Demo

30 |
47 | 48 |

Click the line-number gutter to add or remove 'breakpoints'.

49 | 50 | 51 | 52 |
53 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/demo/markselection.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Match Selection Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 16 | 28 | 29 |
30 |

Match Selection Demo

31 |
35 | 36 | 42 | 43 |

Simple addon to easily mark (and style) selected text.

44 | 45 |
46 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/demo/matchhighlighter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Match Highlighter Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 19 | 31 | 32 |
33 |

Match Highlighter Demo

34 |
37 | 38 | 44 | 45 |

Search and highlight occurences of the selected text.

46 | 47 |
48 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/demo/placeholder.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Placeholder demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 28 | 29 |
30 |

Placeholder demo

31 |
32 | 33 |

The placeholder 34 | plug-in adds an option placeholder that can be set to 35 | make text appear in the editor when it is empty and not focused. 36 | If the source textarea has a placeholder attribute, 37 | it will automatically be inherited.

38 | 39 | 44 | 45 |
46 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/demo/resize.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Autoresize Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 20 | 32 | 33 |
34 |

Autoresize Demo

35 |
45 | 46 |

By setting a few CSS properties, and giving 47 | the viewportMargin 48 | a value of Infinity, CodeMirror can be made to 49 | automatically resize to fit its content.

50 | 51 | 57 | 58 |
59 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/demo/rulers.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Ruler Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 19 | 31 | 32 |
33 |

Ruler Demo

34 | 35 | 49 | 50 |

Demonstration of 51 | the rulers addon, which 52 | displays vertical lines at given column offsets.

53 | 54 |
55 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/demo/trailingspace.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Trailing Whitespace Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 18 | 30 | 31 |
32 |

Trailing Whitespace Demo

33 |
36 | 37 | 43 | 44 |

Uses 45 | the trailingspace 46 | addon to highlight trailing whitespace.

47 | 48 |
49 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/demo/visibletabs.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Visible tabs demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 18 | 30 | 31 |
32 |

Visible tabs demo

33 |
48 | 49 |

Tabs inside the editor are spans with the 50 | class cm-tab, and can be styled.

51 | 52 | 61 | 62 |
63 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/doc/activebookmark.js: -------------------------------------------------------------------------------- 1 | // Kludge in HTML5 tag recognition in IE8 2 | document.createElement("section"); 3 | document.createElement("article"); 4 | 5 | (function() { 6 | var pending = false, prevVal = null; 7 | 8 | function updateSoon() { 9 | if (!pending) { 10 | pending = true; 11 | setTimeout(update, 250); 12 | } 13 | } 14 | 15 | function update() { 16 | pending = false; 17 | var marks = document.getElementById("nav").getElementsByTagName("a"), found; 18 | for (var i = 0; i < marks.length; ++i) { 19 | var mark = marks[i], m; 20 | if (mark.getAttribute("data-default")) { 21 | if (found == null) found = i; 22 | } else if (m = mark.href.match(/#(.*)/)) { 23 | var ref = document.getElementById(m[1]); 24 | if (ref && ref.getBoundingClientRect().top < 50) 25 | found = i; 26 | } 27 | } 28 | if (found != null && found != prevVal) { 29 | prevVal = found; 30 | var lis = document.getElementById("nav").getElementsByTagName("li"); 31 | for (var i = 0; i < lis.length; ++i) lis[i].className = ""; 32 | for (var i = 0; i < marks.length; ++i) { 33 | if (found == i) { 34 | marks[i].className = "active"; 35 | for (var n = marks[i]; n; n = n.parentNode) 36 | if (n.nodeName == "LI") n.className = "active"; 37 | } else { 38 | marks[i].className = ""; 39 | } 40 | } 41 | } 42 | } 43 | 44 | if (window.addEventListener) { 45 | window.addEventListener("scroll", updateSoon); 46 | window.addEventListener("load", updateSoon); 47 | } 48 | })(); 49 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/doc/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/libs/codemirror-3.24/doc/logo.png -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/keymap/extra.js: -------------------------------------------------------------------------------- 1 | // A number of additional default bindings that are too obscure to 2 | // include in the core codemirror.js file. 3 | 4 | (function() { 5 | "use strict"; 6 | 7 | var Pos = CodeMirror.Pos; 8 | 9 | function moveLines(cm, start, end, dist) { 10 | if (!dist || start > end) return 0; 11 | 12 | var from = cm.clipPos(Pos(start, 0)), to = cm.clipPos(Pos(end)); 13 | var text = cm.getRange(from, to); 14 | 15 | if (start <= cm.firstLine()) 16 | cm.replaceRange("", from, Pos(to.line + 1, 0)); 17 | else 18 | cm.replaceRange("", Pos(from.line - 1), to); 19 | var target = from.line + dist; 20 | if (target <= cm.firstLine()) { 21 | cm.replaceRange(text + "\n", Pos(target, 0)); 22 | return cm.firstLine() - from.line; 23 | } else { 24 | var targetPos = cm.clipPos(Pos(target - 1)); 25 | cm.replaceRange("\n" + text, targetPos); 26 | return targetPos.line + 1 - from.line; 27 | } 28 | } 29 | 30 | function moveSelectedLines(cm, dist) { 31 | var head = cm.getCursor("head"), anchor = cm.getCursor("anchor"); 32 | cm.operation(function() { 33 | var moved = moveLines(cm, Math.min(head.line, anchor.line), Math.max(head.line, anchor.line), dist); 34 | cm.setSelection(Pos(anchor.line + moved, anchor.ch), Pos(head.line + moved, head.ch)); 35 | }); 36 | } 37 | 38 | CodeMirror.commands.moveLinesUp = function(cm) { moveSelectedLines(cm, -1); }; 39 | CodeMirror.commands.moveLinesDown = function(cm) { moveSelectedLines(cm, 1); }; 40 | 41 | CodeMirror.keyMap["default"]["Alt-Up"] = "moveLinesUp"; 42 | CodeMirror.keyMap["default"]["Alt-Down"] = "moveLinesDown"; 43 | })(); 44 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/css/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: CSS mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

CSS mode

27 |
62 | 65 | 66 |

MIME types defined: text/css, text/x-scss (demo), text/x-less (demo).

67 | 68 |

Parsing/Highlighting Tests: normal, verbose.

69 | 70 |
71 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/css/less_test.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | "use strict"; 3 | 4 | var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-less"); 5 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "less"); } 6 | 7 | MT("variable", 8 | "[variable-2 @base]: [atom #f04615];", 9 | "[qualifier .class] {", 10 | " [property width]: [variable percentage]([number 0.5]); [comment // returns `50%`]", 11 | " [property color]: [variable saturate]([variable-2 @base], [number 5%]);", 12 | "}"); 13 | 14 | MT("amp", 15 | "[qualifier .child], [qualifier .sibling] {", 16 | " [qualifier .parent] [atom &] {", 17 | " [property color]: [keyword black];", 18 | " }", 19 | " [atom &] + [atom &] {", 20 | " [property color]: [keyword red];", 21 | " }", 22 | "}"); 23 | 24 | MT("mixin", 25 | "[qualifier .mixin] ([variable dark]; [variable-2 @color]) {", 26 | " [property color]: [variable darken]([variable-2 @color], [number 10%]);", 27 | "}", 28 | "[qualifier .mixin] ([variable light]; [variable-2 @color]) {", 29 | " [property color]: [variable lighten]([variable-2 @color], [number 10%]);", 30 | "}", 31 | "[qualifier .mixin] ([variable-2 @_]; [variable-2 @color]) {", 32 | " [property display]: [atom block];", 33 | "}", 34 | "[variable-2 @switch]: [variable light];", 35 | "[qualifier .class] {", 36 | " [qualifier .mixin]([variable-2 @switch]; [atom #888]);", 37 | "}"); 38 | 39 | MT("nest", 40 | "[qualifier .one] {", 41 | " [def @media] ([property width]: [number 400px]) {", 42 | " [property font-size]: [number 1.2em];", 43 | " [def @media] [attribute print] [keyword and] [property color] {", 44 | " [property color]: [keyword blue];", 45 | " }", 46 | " }", 47 | "}"); 48 | })(); 49 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/diff/diff.js: -------------------------------------------------------------------------------- 1 | CodeMirror.defineMode("diff", function() { 2 | 3 | var TOKEN_NAMES = { 4 | '+': 'positive', 5 | '-': 'negative', 6 | '@': 'meta' 7 | }; 8 | 9 | return { 10 | token: function(stream) { 11 | var tw_pos = stream.string.search(/[\t ]+?$/); 12 | 13 | if (!stream.sol() || tw_pos === 0) { 14 | stream.skipToEnd(); 15 | return ("error " + ( 16 | TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, ''); 17 | } 18 | 19 | var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd(); 20 | 21 | if (tw_pos === -1) { 22 | stream.skipToEnd(); 23 | } else { 24 | stream.pos = tw_pos; 25 | } 26 | 27 | return token_name; 28 | } 29 | }; 30 | }); 31 | 32 | CodeMirror.defineMIME("text/x-diff", "diff"); 33 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/django/django.js: -------------------------------------------------------------------------------- 1 | (function(CodeMirror) { 2 | "use strict"; 3 | 4 | CodeMirror.defineMode("django:inner", function() { 5 | var keywords = ["block", "endblock", "for", "endfor", "in", "true", "false", 6 | "loop", "none", "self", "super", "if", "endif", "as", "not", "and", 7 | "else", "import", "with", "endwith", "without", "context", "ifequal", "endifequal", 8 | "ifnotequal", "endifnotequal", "extends", "include", "load", "length", "comment", 9 | "endcomment", "empty"]; 10 | keywords = new RegExp("^((" + keywords.join(")|(") + "))\\b"); 11 | 12 | function tokenBase (stream, state) { 13 | stream.eatWhile(/[^\{]/); 14 | var ch = stream.next(); 15 | if (ch == "{") { 16 | if (ch = stream.eat(/\{|%|#/)) { 17 | state.tokenize = inTag(ch); 18 | return "tag"; 19 | } 20 | } 21 | } 22 | function inTag (close) { 23 | if (close == "{") { 24 | close = "}"; 25 | } 26 | return function (stream, state) { 27 | var ch = stream.next(); 28 | if ((ch == close) && stream.eat("}")) { 29 | state.tokenize = tokenBase; 30 | return "tag"; 31 | } 32 | if (stream.match(keywords)) { 33 | return "keyword"; 34 | } 35 | return close == "#" ? "comment" : "string"; 36 | }; 37 | } 38 | return { 39 | startState: function () { 40 | return {tokenize: tokenBase}; 41 | }, 42 | token: function (stream, state) { 43 | return state.tokenize(stream, state); 44 | } 45 | }; 46 | }); 47 | 48 | CodeMirror.defineMode("django", function(config) { 49 | var htmlBase = CodeMirror.getMode(config, "text/html"); 50 | var djangoInner = CodeMirror.getMode(config, "django:inner"); 51 | return CodeMirror.overlayMode(htmlBase, djangoInner); 52 | }); 53 | 54 | CodeMirror.defineMIME("text/x-django", "django"); 55 | })(CodeMirror); 56 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/django/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Django template mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 27 | 28 |
29 |

Django template mode

30 |
50 | 51 | 59 | 60 |

Mode for HTML with embedded Django template markup.

61 | 62 |

MIME types defined: text/x-django

63 |
64 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/gas/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Gas mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Gas mode

27 |
28 | 50 |
51 | 52 | 58 | 59 |

Handles AT&T assembler syntax (more specifically this handles 60 | the GNU Assembler (gas) syntax.) 61 | It takes a single optional configuration parameter: 62 | architecture, which can be one of "ARM", 63 | "ARMv6" or "x86". 64 | Including the parameter adds syntax for the registers and special 65 | directives for the supplied architecture. 66 | 67 |

MIME types defined: text/x-gas

68 |
69 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/gherkin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Gherkin mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Gherkin mode

27 |
42 | 45 | 46 |

MIME types defined: text/x-feature.

47 | 48 |
49 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/htmlembedded/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Html Embedded Scripts mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 28 | 29 |
30 |

Html Embedded Scripts mode

31 |
43 | 44 | 52 | 53 |

Mode for html embedded scripts like JSP and ASP.NET. Depends on HtmlMixed which in turn depends on 54 | JavaScript, CSS and XML.
Other dependancies include those of the scriping language chosen.

55 | 56 |

MIME types defined: application/x-aspx (ASP.NET), 57 | application/x-ejs (Embedded Javascript), application/x-jsp (JavaServer Pages)

58 |
59 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/javascript/typescript.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: TypeScript mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

TypeScript mode

27 | 28 | 29 |
51 | 52 | 59 | 60 |

This is a specialization of the JavaScript mode.

61 |
62 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/jinja2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Jinja2 mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Jinja2 mode

27 |
49 | 54 |
55 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/octave/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Octave mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Octave mode

27 | 28 |
71 | 81 | 82 |

MIME types defined: text/x-octave.

83 |
84 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/pascal/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Pascal mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Pascal mode

27 | 28 | 29 |
52 | 53 | 59 | 60 |

MIME types defined: text/x-pascal.

61 |
62 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/pegjs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: PEG.js Mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 28 | 29 |
30 |

PEG.js Mode

31 |
56 | 62 |

The PEG.js Mode

63 |

Created by Forbes Lindesay.

64 |
65 | 66 | 67 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/perl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Perl mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Perl mode

27 | 28 | 29 |
67 | 68 | 73 | 74 |

MIME types defined: text/x-perl.

75 |
76 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/pig/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Pig Latin mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Pig Latin mode

27 |
39 | 40 | 47 | 48 |

49 | Simple mode that handles Pig Latin language. 50 |

51 | 52 |

MIME type defined: text/x-pig 53 | (PIG code) 54 | 55 |

56 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/properties/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Properties files mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Properties files mode

27 |
46 | 49 | 50 |

MIME types defined: text/x-properties, 51 | text/x-ini.

52 | 53 |
54 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/properties/properties.js: -------------------------------------------------------------------------------- 1 | CodeMirror.defineMode("properties", function() { 2 | return { 3 | token: function(stream, state) { 4 | var sol = stream.sol() || state.afterSection; 5 | var eol = stream.eol(); 6 | 7 | state.afterSection = false; 8 | 9 | if (sol) { 10 | if (state.nextMultiline) { 11 | state.inMultiline = true; 12 | state.nextMultiline = false; 13 | } else { 14 | state.position = "def"; 15 | } 16 | } 17 | 18 | if (eol && ! state.nextMultiline) { 19 | state.inMultiline = false; 20 | state.position = "def"; 21 | } 22 | 23 | if (sol) { 24 | while(stream.eatSpace()); 25 | } 26 | 27 | var ch = stream.next(); 28 | 29 | if (sol && (ch === "#" || ch === "!" || ch === ";")) { 30 | state.position = "comment"; 31 | stream.skipToEnd(); 32 | return "comment"; 33 | } else if (sol && ch === "[") { 34 | state.afterSection = true; 35 | stream.skipTo("]"); stream.eat("]"); 36 | return "header"; 37 | } else if (ch === "=" || ch === ":") { 38 | state.position = "quote"; 39 | return null; 40 | } else if (ch === "\\" && state.position === "quote") { 41 | if (stream.next() !== "u") { // u = Unicode sequence \u1234 42 | // Multiline value 43 | state.nextMultiline = true; 44 | } 45 | } 46 | 47 | return state.position; 48 | }, 49 | 50 | startState: function() { 51 | return { 52 | position : "def", // Current position, "def", "quote" or "comment" 53 | nextMultiline : false, // Is the next line multiline value 54 | inMultiline : false, // Is the current line a multiline value 55 | afterSection : false // Did we just open a section 56 | }; 57 | } 58 | 59 | }; 60 | }); 61 | 62 | CodeMirror.defineMIME("text/x-properties", "properties"); 63 | CodeMirror.defineMIME("text/x-ini", "properties"); 64 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/rpm/changes/changes.js: -------------------------------------------------------------------------------- 1 | CodeMirror.defineMode("changes", function() { 2 | var headerSeperator = /^-+$/; 3 | var headerLine = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /; 4 | var simpleEmail = /^[\w+.-]+@[\w.-]+/; 5 | 6 | return { 7 | token: function(stream) { 8 | if (stream.sol()) { 9 | if (stream.match(headerSeperator)) { return 'tag'; } 10 | if (stream.match(headerLine)) { return 'tag'; } 11 | } 12 | if (stream.match(simpleEmail)) { return 'string'; } 13 | stream.next(); 14 | return null; 15 | } 16 | }; 17 | }); 18 | 19 | CodeMirror.defineMIME("text/x-rpm-changes", "changes"); 20 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/rpm/spec/spec.css: -------------------------------------------------------------------------------- 1 | .cm-s-default span.cm-preamble {color: #b26818; font-weight: bold;} 2 | .cm-s-default span.cm-macro {color: #b218b2;} 3 | .cm-s-default span.cm-section {color: green; font-weight: bold;} 4 | .cm-s-default span.cm-script {color: red;} 5 | .cm-s-default span.cm-issue {color: yellow;} 6 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/sass/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Sass mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 25 | 26 |
27 |

Sass mode

28 |
58 | 64 | 65 |

MIME types defined: text/x-sass.

66 |
67 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/shell/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Shell mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 27 | 28 |
29 |

Shell mode

30 | 31 | 32 | 56 | 57 | 64 | 65 |

MIME types defined: text/x-sh.

66 |
67 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/smalltalk/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Smalltalk mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 16 | 29 | 30 |
31 |

Smalltalk mode

32 |
55 | 56 | 64 | 65 |

Simple Smalltalk mode.

66 | 67 |

MIME types defined: text/x-stsrc.

68 |
69 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/sparql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: SPARQL mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 25 | 26 |
27 |

SPARQL mode

28 |
44 | 50 | 51 |

MIME types defined: application/x-sparql-query.

52 | 53 |
54 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/tiki/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Tiki wiki mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 25 | 26 |
27 |

Tiki wiki mode

28 | 29 | 30 |
87 | 88 | 94 | 95 |
96 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | } -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/toml/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: TOML Mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

TOML Mode

27 |
64 | 70 |

The TOML Mode

71 |

Created by Forbes Lindesay.

72 |

MIME type defined: text/x-toml.

73 |
74 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/vbscript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: VBScript mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

VBScript mode

27 | 28 | 29 |
46 | 47 | 53 | 54 |

MIME types defined: text/vbscript.

55 |
56 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/xml/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: XML mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

XML mode

27 |
39 | 45 |

The XML mode supports two configuration parameters:

46 |
47 |
htmlMode (boolean)
48 |
This switches the mode to parse HTML instead of XML. This 49 | means attributes do not have to be quoted, and some elements 50 | (such as br) do not require a closing tag.
51 |
alignCDATA (boolean)
52 |
Setting this to true will force the opening tag of CDATA 53 | blocks to not be indented.
54 |
55 | 56 |

MIME types defined: application/xml, text/html.

57 |
58 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/mode/xml/test.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var mode = CodeMirror.getMode({indentUnit: 2}, "xml"), mname = "xml"; 3 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), mname); } 4 | 5 | MT("matching", 6 | "[tag&bracket <][tag top][tag&bracket >]", 7 | " text", 8 | " [tag&bracket <][tag inner][tag&bracket />]", 9 | "[tag&bracket ]"); 10 | 11 | MT("nonmatching", 12 | "[tag&bracket <][tag top][tag&bracket >]", 13 | " [tag&bracket <][tag inner][tag&bracket />]", 14 | " [tag&bracket ]"); 15 | 16 | MT("doctype", 17 | "[meta ]", 18 | "[tag&bracket <][tag top][tag&bracket />]"); 19 | 20 | MT("cdata", 21 | "[tag&bracket <][tag top][tag&bracket >]", 22 | " [atom ]", 24 | "[tag&bracket ]"); 25 | 26 | // HTML tests 27 | mode = CodeMirror.getMode({indentUnit: 2}, "text/html"); 28 | 29 | MT("selfclose", 30 | "[tag&bracket <][tag html][tag&bracket >]", 31 | " [tag&bracket <][tag link] [attribute rel]=[string stylesheet] [attribute href]=[string \"/foobar\"][tag&bracket >]", 32 | "[tag&bracket ]"); 33 | 34 | MT("list", 35 | "[tag&bracket <][tag ol][tag&bracket >]", 36 | " [tag&bracket <][tag li][tag&bracket >]one", 37 | " [tag&bracket <][tag li][tag&bracket >]two", 38 | "[tag&bracket ]"); 39 | 40 | MT("valueless", 41 | "[tag&bracket <][tag input] [attribute type]=[string checkbox] [attribute checked][tag&bracket />]"); 42 | 43 | MT("pThenArticle", 44 | "[tag&bracket <][tag p][tag&bracket >]", 45 | " foo", 46 | "[tag&bracket <][tag article][tag&bracket >]bar"); 47 | 48 | })(); 49 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "codemirror", 3 | "version":"3.24.0", 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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/theme/base16-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Base16 Default Dark 4 | Author: Chris Kempson (http://chriskempson.com) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-base16-dark.CodeMirror {background: #151515; color: #e0e0e0;} 12 | .cm-s-base16-dark div.CodeMirror-selected {background: #202020 !important;} 13 | .cm-s-base16-dark .CodeMirror-gutters {background: #151515; border-right: 0px;} 14 | .cm-s-base16-dark .CodeMirror-linenumber {color: #505050;} 15 | .cm-s-base16-dark .CodeMirror-cursor {border-left: 1px solid #b0b0b0 !important;} 16 | 17 | .cm-s-base16-dark span.cm-comment {color: #8f5536;} 18 | .cm-s-base16-dark span.cm-atom {color: #aa759f;} 19 | .cm-s-base16-dark span.cm-number {color: #aa759f;} 20 | 21 | .cm-s-base16-dark span.cm-property, .cm-s-base16-dark span.cm-attribute {color: #90a959;} 22 | .cm-s-base16-dark span.cm-keyword {color: #ac4142;} 23 | .cm-s-base16-dark span.cm-string {color: #f4bf75;} 24 | 25 | .cm-s-base16-dark span.cm-variable {color: #90a959;} 26 | .cm-s-base16-dark span.cm-variable-2 {color: #6a9fb5;} 27 | .cm-s-base16-dark span.cm-def {color: #d28445;} 28 | .cm-s-base16-dark span.cm-bracket {color: #e0e0e0;} 29 | .cm-s-base16-dark span.cm-tag {color: #ac4142;} 30 | .cm-s-base16-dark span.cm-link {color: #aa759f;} 31 | .cm-s-base16-dark span.cm-error {background: #ac4142; color: #b0b0b0;} 32 | 33 | .cm-s-base16-dark .CodeMirror-activeline-background {background: #2F2F2F !important;} 34 | .cm-s-base16-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/theme/base16-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Base16 Default Light 4 | Author: Chris Kempson (http://chriskempson.com) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-base16-light.CodeMirror {background: #f5f5f5; color: #202020;} 12 | .cm-s-base16-light div.CodeMirror-selected {background: #e0e0e0 !important;} 13 | .cm-s-base16-light .CodeMirror-gutters {background: #f5f5f5; border-right: 0px;} 14 | .cm-s-base16-light .CodeMirror-linenumber {color: #b0b0b0;} 15 | .cm-s-base16-light .CodeMirror-cursor {border-left: 1px solid #505050 !important;} 16 | 17 | .cm-s-base16-light span.cm-comment {color: #8f5536;} 18 | .cm-s-base16-light span.cm-atom {color: #aa759f;} 19 | .cm-s-base16-light span.cm-number {color: #aa759f;} 20 | 21 | .cm-s-base16-light span.cm-property, .cm-s-base16-light span.cm-attribute {color: #90a959;} 22 | .cm-s-base16-light span.cm-keyword {color: #ac4142;} 23 | .cm-s-base16-light span.cm-string {color: #f4bf75;} 24 | 25 | .cm-s-base16-light span.cm-variable {color: #90a959;} 26 | .cm-s-base16-light span.cm-variable-2 {color: #6a9fb5;} 27 | .cm-s-base16-light span.cm-def {color: #d28445;} 28 | .cm-s-base16-light span.cm-bracket {color: #202020;} 29 | .cm-s-base16-light span.cm-tag {color: #ac4142;} 30 | .cm-s-base16-light span.cm-link {color: #aa759f;} 31 | .cm-s-base16-light span.cm-error {background: #ac4142; color: #505050;} 32 | 33 | .cm-s-base16-light .CodeMirror-activeline-background {background: #DDDCDC !important;} 34 | .cm-s-base16-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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} -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/theme/erlang-dark.css: -------------------------------------------------------------------------------- 1 | .cm-s-erlang-dark.CodeMirror { background: #002240; color: white; } 2 | .cm-s-erlang-dark div.CodeMirror-selected { background: #b36539 !important; } 3 | .cm-s-erlang-dark .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } 4 | .cm-s-erlang-dark .CodeMirror-linenumber { color: #d0d0d0; } 5 | .cm-s-erlang-dark .CodeMirror-cursor { border-left: 1px solid white !important; } 6 | 7 | .cm-s-erlang-dark span.cm-atom { color: #f133f1; } 8 | .cm-s-erlang-dark span.cm-attribute { color: #ff80e1; } 9 | .cm-s-erlang-dark span.cm-bracket { color: #ff9d00; } 10 | .cm-s-erlang-dark span.cm-builtin { color: #eaa; } 11 | .cm-s-erlang-dark span.cm-comment { color: #77f; } 12 | .cm-s-erlang-dark span.cm-def { color: #e7a; } 13 | .cm-s-erlang-dark span.cm-keyword { color: #ffee80; } 14 | .cm-s-erlang-dark span.cm-meta { color: #50fefe; } 15 | .cm-s-erlang-dark span.cm-number { color: #ffd0d0; } 16 | .cm-s-erlang-dark span.cm-operator { color: #d55; } 17 | .cm-s-erlang-dark span.cm-property { color: #ccc; } 18 | .cm-s-erlang-dark span.cm-qualifier { color: #ccc; } 19 | .cm-s-erlang-dark span.cm-quote { color: #ccc; } 20 | .cm-s-erlang-dark span.cm-special { color: #ffbbbb; } 21 | .cm-s-erlang-dark span.cm-string { color: #3ad900; } 22 | .cm-s-erlang-dark span.cm-string-2 { color: #ccc; } 23 | .cm-s-erlang-dark span.cm-tag { color: #9effff; } 24 | .cm-s-erlang-dark span.cm-variable { color: #50fe50; } 25 | .cm-s-erlang-dark span.cm-variable-2 { color: #e0e; } 26 | .cm-s-erlang-dark span.cm-variable-3 { color: #ccc; } 27 | .cm-s-erlang-dark span.cm-error { color: #9d1e15; } 28 | 29 | .cm-s-erlang-dark .CodeMirror-activeline-background {background: #013461 !important;} 30 | .cm-s-erlang-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 31 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/theme/lesser-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | http://lesscss.org/ dark theme 3 | Ported to CodeMirror by Peter Kroon 4 | */ 5 | .cm-s-lesser-dark { 6 | line-height: 1.3em; 7 | } 8 | .cm-s-lesser-dark.CodeMirror { background: #262626; color: #EBEFE7; text-shadow: 0 -1px 1px #262626; } 9 | .cm-s-lesser-dark div.CodeMirror-selected {background: #45443B !important;} /* 33322B*/ 10 | .cm-s-lesser-dark .CodeMirror-cursor { border-left: 1px solid white !important; } 11 | .cm-s-lesser-dark pre { padding: 0 8px; }/*editable code holder*/ 12 | 13 | .cm-s-lesser-dark.CodeMirror span.CodeMirror-matchingbracket { color: #7EFC7E; }/*65FC65*/ 14 | 15 | .cm-s-lesser-dark .CodeMirror-gutters { background: #262626; border-right:1px solid #aaa; } 16 | .cm-s-lesser-dark .CodeMirror-linenumber { color: #777; } 17 | 18 | .cm-s-lesser-dark span.cm-keyword { color: #599eff; } 19 | .cm-s-lesser-dark span.cm-atom { color: #C2B470; } 20 | .cm-s-lesser-dark span.cm-number { color: #B35E4D; } 21 | .cm-s-lesser-dark span.cm-def {color: white;} 22 | .cm-s-lesser-dark span.cm-variable { color:#D9BF8C; } 23 | .cm-s-lesser-dark span.cm-variable-2 { color: #669199; } 24 | .cm-s-lesser-dark span.cm-variable-3 { color: white; } 25 | .cm-s-lesser-dark span.cm-property {color: #92A75C;} 26 | .cm-s-lesser-dark span.cm-operator {color: #92A75C;} 27 | .cm-s-lesser-dark span.cm-comment { color: #666; } 28 | .cm-s-lesser-dark span.cm-string { color: #BCD279; } 29 | .cm-s-lesser-dark span.cm-string-2 {color: #f50;} 30 | .cm-s-lesser-dark span.cm-meta { color: #738C73; } 31 | .cm-s-lesser-dark span.cm-qualifier {color: #555;} 32 | .cm-s-lesser-dark span.cm-builtin { color: #ff9e59; } 33 | .cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; } 34 | .cm-s-lesser-dark span.cm-tag { color: #669199; } 35 | .cm-s-lesser-dark span.cm-attribute {color: #00c;} 36 | .cm-s-lesser-dark span.cm-header {color: #a0a;} 37 | .cm-s-lesser-dark span.cm-quote {color: #090;} 38 | .cm-s-lesser-dark span.cm-hr {color: #999;} 39 | .cm-s-lesser-dark span.cm-link {color: #00c;} 40 | .cm-s-lesser-dark span.cm-error { color: #9d1e15; } 41 | 42 | .cm-s-lesser-dark .CodeMirror-activeline-background {background: #3C3A3A !important;} 43 | .cm-s-lesser-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 44 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/theme/midnight.css: -------------------------------------------------------------------------------- 1 | /* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */ 2 | 3 | /**/ 4 | .cm-s-midnight span.CodeMirror-matchhighlight { background: #494949; } 5 | .cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67 !important; } 6 | 7 | /**/ 8 | .cm-s-midnight .CodeMirror-activeline-background {background: #253540 !important;} 9 | 10 | .cm-s-midnight.CodeMirror { 11 | background: #0F192A; 12 | color: #D1EDFF; 13 | } 14 | 15 | .cm-s-midnight.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;} 16 | 17 | .cm-s-midnight div.CodeMirror-selected {background: #314D67 !important;} 18 | .cm-s-midnight .CodeMirror-gutters {background: #0F192A; border-right: 1px solid;} 19 | .cm-s-midnight .CodeMirror-linenumber {color: #D0D0D0;} 20 | .cm-s-midnight .CodeMirror-cursor { 21 | border-left: 1px solid #F8F8F0 !important; 22 | } 23 | 24 | .cm-s-midnight span.cm-comment {color: #428BDD;} 25 | .cm-s-midnight span.cm-atom {color: #AE81FF;} 26 | .cm-s-midnight span.cm-number {color: #D1EDFF;} 27 | 28 | .cm-s-midnight span.cm-property, .cm-s-midnight span.cm-attribute {color: #A6E22E;} 29 | .cm-s-midnight span.cm-keyword {color: #E83737;} 30 | .cm-s-midnight span.cm-string {color: #1DC116;} 31 | 32 | .cm-s-midnight span.cm-variable {color: #FFAA3E;} 33 | .cm-s-midnight span.cm-variable-2 {color: #FFAA3E;} 34 | .cm-s-midnight span.cm-def {color: #4DD;} 35 | .cm-s-midnight span.cm-bracket {color: #D1EDFF;} 36 | .cm-s-midnight span.cm-tag {color: #449;} 37 | .cm-s-midnight span.cm-link {color: #AE81FF;} 38 | .cm-s-midnight span.cm-error {background: #F92672; color: #F8F8F0;} 39 | 40 | .cm-s-midnight .CodeMirror-matchingbracket { 41 | text-decoration: underline; 42 | color: white !important; 43 | } 44 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/theme/paraiso-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Paraíso (Light) 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-light.CodeMirror {background: #e7e9db; color: #41323f;} 12 | .cm-s-paraiso-light div.CodeMirror-selected {background: #b9b6b0 !important;} 13 | .cm-s-paraiso-light .CodeMirror-gutters {background: #e7e9db; border-right: 0px;} 14 | .cm-s-paraiso-light .CodeMirror-linenumber {color: #8d8687;} 15 | .cm-s-paraiso-light .CodeMirror-cursor {border-left: 1px solid #776e71 !important;} 16 | 17 | .cm-s-paraiso-light span.cm-comment {color: #e96ba8;} 18 | .cm-s-paraiso-light span.cm-atom {color: #815ba4;} 19 | .cm-s-paraiso-light span.cm-number {color: #815ba4;} 20 | 21 | .cm-s-paraiso-light span.cm-property, .cm-s-paraiso-light span.cm-attribute {color: #48b685;} 22 | .cm-s-paraiso-light span.cm-keyword {color: #ef6155;} 23 | .cm-s-paraiso-light span.cm-string {color: #fec418;} 24 | 25 | .cm-s-paraiso-light span.cm-variable {color: #48b685;} 26 | .cm-s-paraiso-light span.cm-variable-2 {color: #06b6ef;} 27 | .cm-s-paraiso-light span.cm-def {color: #f99b15;} 28 | .cm-s-paraiso-light span.cm-bracket {color: #41323f;} 29 | .cm-s-paraiso-light span.cm-tag {color: #ef6155;} 30 | .cm-s-paraiso-light span.cm-link {color: #815ba4;} 31 | .cm-s-paraiso-light span.cm-error {background: #ef6155; color: #776e71;} 32 | 33 | .cm-s-paraiso-light .CodeMirror-activeline-background {background: #CFD1C4 !important;} 34 | .cm-s-paraiso-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/theme/pastel-on-dark.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Pastel On Dark theme ported from ACE editor 3 | * @license MIT 4 | * @copyright AtomicPages LLC 2014 5 | * @author Dennis Thompson, AtomicPages LLC 6 | * @version 1.1 7 | * @source https://github.com/atomicpages/codemirror-pastel-on-dark-theme 8 | */ 9 | 10 | .cm-s-pastel-on-dark.CodeMirror { 11 | background: #2c2827; 12 | color: #8F938F; 13 | line-height: 1.5; 14 | font-size: 14px; 15 | } 16 | .cm-s-pastel-on-dark div.CodeMirror-selected { background: rgba(221,240,255,0.2) !important; } 17 | .cm-s-pastel-on-dark .CodeMirror-gutters { 18 | background: #34302f; 19 | border-right: 0px; 20 | padding: 0 3px; 21 | } 22 | .cm-s-pastel-on-dark .CodeMirror-linenumber { color: #8F938F; } 23 | .cm-s-pastel-on-dark .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; } 24 | .cm-s-pastel-on-dark span.cm-comment { color: #A6C6FF; } 25 | .cm-s-pastel-on-dark span.cm-atom { color: #DE8E30; } 26 | .cm-s-pastel-on-dark span.cm-number { color: #CCCCCC; } 27 | .cm-s-pastel-on-dark span.cm-property { color: #8F938F; } 28 | .cm-s-pastel-on-dark span.cm-attribute { color: #a6e22e; } 29 | .cm-s-pastel-on-dark span.cm-keyword { color: #AEB2F8; } 30 | .cm-s-pastel-on-dark span.cm-string { color: #66A968; } 31 | .cm-s-pastel-on-dark span.cm-variable { color: #AEB2F8; } 32 | .cm-s-pastel-on-dark span.cm-variable-2 { color: #BEBF55; } 33 | .cm-s-pastel-on-dark span.cm-variable-3 { color: #DE8E30; } 34 | .cm-s-pastel-on-dark span.cm-def { color: #757aD8; } 35 | .cm-s-pastel-on-dark span.cm-bracket { color: #f8f8f2; } 36 | .cm-s-pastel-on-dark span.cm-tag { color: #C1C144; } 37 | .cm-s-pastel-on-dark span.cm-link { color: #ae81ff; } 38 | .cm-s-pastel-on-dark span.cm-qualifier,.cm-s-pastel-on-dark span.cm-builtin { color: #C1C144; } 39 | .cm-s-pastel-on-dark span.cm-error { 40 | background: #757aD8; 41 | color: #f8f8f0; 42 | } 43 | .cm-s-pastel-on-dark .CodeMirror-activeline-background { background: rgba(255, 255, 255, 0.031) !important; } 44 | .cm-s-pastel-on-dark .CodeMirror-matchingbracket { 45 | border: 1px solid rgba(255,255,255,0.25); 46 | color: #8F938F !important; 47 | margin: -1px -1px 0 -1px; 48 | } 49 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/theme/rubyblue.css: -------------------------------------------------------------------------------- 1 | .cm-s-rubyblue.CodeMirror { background: #112435; color: white; } 2 | .cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; } 3 | .cm-s-rubyblue .CodeMirror-gutters { background: #1F4661; border-right: 7px solid #3E7087; } 4 | .cm-s-rubyblue .CodeMirror-linenumber { color: white; } 5 | .cm-s-rubyblue .CodeMirror-cursor { border-left: 1px solid white !important; } 6 | 7 | .cm-s-rubyblue span.cm-comment { color: #999; font-style:italic; line-height: 1em; } 8 | .cm-s-rubyblue span.cm-atom { color: #F4C20B; } 9 | .cm-s-rubyblue span.cm-number, .cm-s-rubyblue span.cm-attribute { color: #82C6E0; } 10 | .cm-s-rubyblue span.cm-keyword { color: #F0F; } 11 | .cm-s-rubyblue span.cm-string { color: #F08047; } 12 | .cm-s-rubyblue span.cm-meta { color: #F0F; } 13 | .cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; } 14 | .cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; } 15 | .cm-s-rubyblue span.cm-bracket { color: #F0F; } 16 | .cm-s-rubyblue span.cm-link { color: #F4C20B; } 17 | .cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; } 18 | .cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; } 19 | .cm-s-rubyblue span.cm-error { color: #AF2018; } 20 | 21 | .cm-s-rubyblue .CodeMirror-activeline-background {background: #173047 !important;} 22 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/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 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/theme/tomorrow-night-eighties.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Tomorrow Night - Eighties 4 | Author: Chris Kempson 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-tomorrow-night-eighties.CodeMirror {background: #000000; color: #CCCCCC;} 12 | .cm-s-tomorrow-night-eighties div.CodeMirror-selected {background: #2D2D2D !important;} 13 | .cm-s-tomorrow-night-eighties .CodeMirror-gutters {background: #000000; border-right: 0px;} 14 | .cm-s-tomorrow-night-eighties .CodeMirror-linenumber {color: #515151;} 15 | .cm-s-tomorrow-night-eighties .CodeMirror-cursor {border-left: 1px solid #6A6A6A !important;} 16 | 17 | .cm-s-tomorrow-night-eighties span.cm-comment {color: #d27b53;} 18 | .cm-s-tomorrow-night-eighties span.cm-atom {color: #a16a94;} 19 | .cm-s-tomorrow-night-eighties span.cm-number {color: #a16a94;} 20 | 21 | .cm-s-tomorrow-night-eighties span.cm-property, .cm-s-tomorrow-night-eighties span.cm-attribute {color: #99cc99;} 22 | .cm-s-tomorrow-night-eighties span.cm-keyword {color: #f2777a;} 23 | .cm-s-tomorrow-night-eighties span.cm-string {color: #ffcc66;} 24 | 25 | .cm-s-tomorrow-night-eighties span.cm-variable {color: #99cc99;} 26 | .cm-s-tomorrow-night-eighties span.cm-variable-2 {color: #6699cc;} 27 | .cm-s-tomorrow-night-eighties span.cm-def {color: #f99157;} 28 | .cm-s-tomorrow-night-eighties span.cm-bracket {color: #CCCCCC;} 29 | .cm-s-tomorrow-night-eighties span.cm-tag {color: #f2777a;} 30 | .cm-s-tomorrow-night-eighties span.cm-link {color: #a16a94;} 31 | .cm-s-tomorrow-night-eighties span.cm-error {background: #f2777a; color: #6A6A6A;} 32 | 33 | .cm-s-tomorrow-night-eighties .CodeMirror-activeline-background {background: #343600 !important;} 34 | .cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/theme/twilight.css: -------------------------------------------------------------------------------- 1 | .cm-s-twilight.CodeMirror { background: #141414; color: #f7f7f7; } /**/ 2 | .cm-s-twilight .CodeMirror-selected { background: #323232 !important; } /**/ 3 | 4 | .cm-s-twilight .CodeMirror-gutters { background: #222; border-right: 1px solid #aaa; } 5 | .cm-s-twilight .CodeMirror-linenumber { color: #aaa; } 6 | .cm-s-twilight .CodeMirror-cursor { border-left: 1px solid white !important; } 7 | 8 | .cm-s-twilight .cm-keyword { color: #f9ee98; } /**/ 9 | .cm-s-twilight .cm-atom { color: #FC0; } 10 | .cm-s-twilight .cm-number { color: #ca7841; } /**/ 11 | .cm-s-twilight .cm-def { color: #8DA6CE; } 12 | .cm-s-twilight span.cm-variable-2, .cm-s-twilight span.cm-tag { color: #607392; } /**/ 13 | .cm-s-twilight span.cm-variable-3, .cm-s-twilight span.cm-def { color: #607392; } /**/ 14 | .cm-s-twilight .cm-operator { color: #cda869; } /**/ 15 | .cm-s-twilight .cm-comment { color:#777; font-style:italic; font-weight:normal; } /**/ 16 | .cm-s-twilight .cm-string { color:#8f9d6a; font-style:italic; } /**/ 17 | .cm-s-twilight .cm-string-2 { color:#bd6b18 } /*?*/ 18 | .cm-s-twilight .cm-meta { background-color:#141414; color:#f7f7f7; } /*?*/ 19 | .cm-s-twilight .cm-builtin { color: #cda869; } /*?*/ 20 | .cm-s-twilight .cm-tag { color: #997643; } /**/ 21 | .cm-s-twilight .cm-attribute { color: #d6bb6d; } /*?*/ 22 | .cm-s-twilight .cm-header { color: #FF6400; } 23 | .cm-s-twilight .cm-hr { color: #AEAEAE; } 24 | .cm-s-twilight .cm-link { color:#ad9361; font-style:italic; text-decoration:none; } /**/ 25 | .cm-s-twilight .cm-error { border-bottom: 1px solid red; } 26 | 27 | .cm-s-twilight .CodeMirror-activeline-background {background: #27282E !important;} 28 | .cm-s-twilight .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 29 | -------------------------------------------------------------------------------- /app/hyper/libs/codemirror-3.24/theme/vibrant-ink.css: -------------------------------------------------------------------------------- 1 | /* Taken from the popular Visual Studio Vibrant Ink Schema */ 2 | 3 | .cm-s-vibrant-ink.CodeMirror { background: black; color: white; } 4 | .cm-s-vibrant-ink .CodeMirror-selected { background: #35493c !important; } 5 | 6 | .cm-s-vibrant-ink .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } 7 | .cm-s-vibrant-ink .CodeMirror-linenumber { color: #d0d0d0; } 8 | .cm-s-vibrant-ink .CodeMirror-cursor { border-left: 1px solid white !important; } 9 | 10 | .cm-s-vibrant-ink .cm-keyword { color: #CC7832; } 11 | .cm-s-vibrant-ink .cm-atom { color: #FC0; } 12 | .cm-s-vibrant-ink .cm-number { color: #FFEE98; } 13 | .cm-s-vibrant-ink .cm-def { color: #8DA6CE; } 14 | .cm-s-vibrant-ink span.cm-variable-2, .cm-s-vibrant span.cm-tag { color: #FFC66D } 15 | .cm-s-vibrant-ink span.cm-variable-3, .cm-s-vibrant span.cm-def { color: #FFC66D } 16 | .cm-s-vibrant-ink .cm-operator { color: #888; } 17 | .cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; } 18 | .cm-s-vibrant-ink .cm-string { color: #A5C25C } 19 | .cm-s-vibrant-ink .cm-string-2 { color: red } 20 | .cm-s-vibrant-ink .cm-meta { color: #D8FA3C; } 21 | .cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; } 22 | .cm-s-vibrant-ink .cm-tag { color: #8DA6CE; } 23 | .cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; } 24 | .cm-s-vibrant-ink .cm-header { color: #FF6400; } 25 | .cm-s-vibrant-ink .cm-hr { color: #AEAEAE; } 26 | .cm-s-vibrant-ink .cm-link { color: blue; } 27 | .cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; } 28 | 29 | .cm-s-vibrant-ink .CodeMirror-activeline-background {background: #27282E !important;} 30 | .cm-s-vibrant-ink .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 31 | -------------------------------------------------------------------------------- /app/hyper/plugins/build-plugin-coffee.js: -------------------------------------------------------------------------------- 1 | /* 2 | File: build-plugin-coffee.js.js 3 | Description: Plugin for building CoffeeScript files. 4 | Author: Mikael Kindborg 5 | 6 | License: 7 | 8 | Copyright (c) 2016 Evothings AB 9 | 10 | Licensed under the Apache License, Version 2.0 (the "License"); 11 | you may not use this file except in compliance with the License. 12 | You may obtain a copy of the License at 13 | 14 | http://www.apache.org/licenses/LICENSE-2.0 15 | 16 | Unless required by applicable law or agreed to in writing, software 17 | distributed under the License is distributed on an "AS IS" BASIS, 18 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 | See the License for the specific language governing permissions and 20 | limitations under the License. 21 | */ 22 | 23 | /*** Imported modules ***/ 24 | 25 | var FS = require('fs') 26 | var PATH = require('path') 27 | var FSEXTRA = require('fs-extra') 28 | var COFFEE = require('coffee-script') 29 | 30 | exports.build = function(hyper, fullSourcePath, fullDestFolderPath, resultCallback) 31 | { 32 | console.log('COFFEE build') 33 | 34 | try 35 | { 36 | var options = 37 | { 38 | } 39 | 40 | var code = FS.readFileSync(fullSourcePath, { encoding: 'utf8' }) 41 | 42 | var result = COFFEE.compile(code, options) 43 | 44 | // Save result. 45 | var fullDestPath = PATH.join( 46 | fullDestFolderPath, 47 | PATH.basename(fullSourcePath, '.coffee') + '.js') 48 | FSEXTRA.outputFileSync(fullDestPath, result, { encoding: 'utf8' }) 49 | 50 | // Call callback with no error. 51 | resultCallback() 52 | } 53 | catch (error) 54 | { 55 | console.log('COFFEE error: ' + error) 56 | console.log(error) 57 | 58 | resultCallback(error) 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /app/hyper/plugins/build-plugin-js.js: -------------------------------------------------------------------------------- 1 | /* 2 | File: build-plugin-js.js.js 3 | Description: Plugin for building JavaScript files. Supports ES6. 4 | Author: Mikael Kindborg 5 | 6 | License: 7 | 8 | Copyright (c) 2016 Evothings AB 9 | 10 | Licensed under the Apache License, Version 2.0 (the "License"); 11 | you may not use this file except in compliance with the License. 12 | You may obtain a copy of the License at 13 | 14 | http://www.apache.org/licenses/LICENSE-2.0 15 | 16 | Unless required by applicable law or agreed to in writing, software 17 | distributed under the License is distributed on an "AS IS" BASIS, 18 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 | See the License for the specific language governing permissions and 20 | limitations under the License. 21 | */ 22 | 23 | /*** Imported modules ***/ 24 | 25 | var FS = require('fs') 26 | var PATH = require('path') 27 | var FSEXTRA = require('fs-extra') 28 | var BABEL = require('babel-core') 29 | 30 | exports.build = function(hyper, fullSourcePath, fullDestFolderPath, resultCallback) 31 | { 32 | console.log('BABEL build') 33 | 34 | try 35 | { 36 | var presetsPath = PATH.join( 37 | hyper.UI.getWorkbenchPath(), 38 | 'node_modules', 39 | 'babel-preset-es2015') 40 | 41 | //http://babeljs.io/docs/usage/options/ 42 | var options = 43 | { 44 | "ast": false, 45 | "babelrc": false, 46 | "presets": [presetsPath], 47 | "filename": fullSourcePath 48 | } 49 | 50 | // TODO: Use utf8 encoding when reading file? 51 | var code = FS.readFileSync(fullSourcePath, { encoding: 'utf8' }) 52 | 53 | var result = BABEL.transform(code, options) 54 | 55 | var data = !!result ? result.code : null 56 | 57 | // Disable strict mode. 58 | if (data) 59 | { 60 | data = data.replace("'use strict';", '') 61 | } 62 | 63 | console.log('Build result write') 64 | 65 | // Save result. 66 | var fullDestPath = PATH.join(fullDestFolderPath, PATH.basename(fullSourcePath)) 67 | FSEXTRA.outputFileSync(fullDestPath, data, { encoding: 'utf8' }) 68 | 69 | // Call callback with no error. 70 | resultCallback() 71 | } 72 | catch (error) 73 | { 74 | //console.log('BABEL error: ' + error) 75 | //console.log(error) 76 | 77 | resultCallback(error) 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /app/hyper/plugins/build-plugin-sass-not-workingxxx.js: -------------------------------------------------------------------------------- 1 | /* 2 | File: build-plugin-sass.js.js 3 | Description: Plugin for buildling SASS files. 4 | Author: Mikael Kindborg 5 | 6 | License: 7 | 8 | Copyright (c) 2016 Evothings AB 9 | 10 | Licensed under the Apache License, Version 2.0 (the "License"); 11 | you may not use this file except in compliance with the License. 12 | You may obtain a copy of the License at 13 | 14 | http://www.apache.org/licenses/LICENSE-2.0 15 | 16 | Unless required by applicable law or agreed to in writing, software 17 | distributed under the License is distributed on an "AS IS" BASIS, 18 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 | See the License for the specific language governing permissions and 20 | limitations under the License. 21 | */ 22 | 23 | /*** Imported modules ***/ 24 | 25 | var FS = require('fs') 26 | var PATH = require('path') 27 | var FSEXTRA = require('fs-extra') 28 | var SASS = require('node-sass') 29 | 30 | exports.build = function(hyper, fullSourcePath, fullDestFolderPath, resultCallback) 31 | { 32 | console.log('SASS build') 33 | 34 | try 35 | { 36 | // TODO: Use utf8 encoding when reading file? 37 | var code = FS.readFileSync(fullSourcePath, { encoding: 'utf8' }) 38 | 39 | var options = 40 | { 41 | data: code 42 | } 43 | 44 | var result = SASS.renderSync(options) 45 | 46 | console.log('@@@ SASS result: ' + result) 47 | 48 | // Save result. 49 | var fullDestPath = PATH.join( 50 | fullDestFolderPath, 51 | PATH.basename(fullSourcePath, '.sass') + '.css') 52 | FSEXTRA.outputFileSync(fullDestPath, result, { encoding: 'utf8' }) 53 | 54 | // Call callback with no error. 55 | resultCallback() 56 | } 57 | catch (error) 58 | { 59 | console.log('SASS error: ' + error) 60 | console.log(error) 61 | 62 | resultCallback(error) 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /app/hyper/server/log.js: -------------------------------------------------------------------------------- 1 | /* 2 | File: log.js 3 | Description: Logging functionality. 4 | Author: Mikael Kindborg 5 | 6 | License: 7 | 8 | Copyright (c) 2013-2015 Mikael Kindborg 9 | 10 | Licensed under the Apache License, Version 2.0 (the "License"); 11 | you may not use this file except in compliance with the License. 12 | You may obtain a copy of the License at 13 | 14 | http://www.apache.org/licenses/LICENSE-2.0 15 | 16 | Unless required by applicable law or agreed to in writing, software 17 | distributed under the License is distributed on an "AS IS" BASIS, 18 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 | See the License for the specific language governing permissions and 20 | limitations under the License. 21 | */ 22 | 23 | // If window is available, use the window.console object. 24 | exports.log = function(message) 25 | { 26 | if (typeof window != 'undefined') 27 | { 28 | window.console.log(message) 29 | } 30 | else if (typeof console != 'undefined') 31 | { 32 | console.log(message) 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/hyper/server/ui/fonts/ProximaNova-Black-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/server/ui/fonts/ProximaNova-Black-webfont.eot -------------------------------------------------------------------------------- /app/hyper/server/ui/fonts/ProximaNova-Black-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/server/ui/fonts/ProximaNova-Black-webfont.ttf -------------------------------------------------------------------------------- /app/hyper/server/ui/fonts/ProximaNova-Black-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/server/ui/fonts/ProximaNova-Black-webfont.woff -------------------------------------------------------------------------------- /app/hyper/server/ui/fonts/ProximaNova-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/server/ui/fonts/ProximaNova-Bold-webfont.eot -------------------------------------------------------------------------------- /app/hyper/server/ui/fonts/ProximaNova-Bold-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/server/ui/fonts/ProximaNova-Bold-webfont.ttf -------------------------------------------------------------------------------- /app/hyper/server/ui/fonts/ProximaNova-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/server/ui/fonts/ProximaNova-Bold-webfont.woff -------------------------------------------------------------------------------- /app/hyper/server/ui/fonts/ProximaNova-Reg-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/server/ui/fonts/ProximaNova-Reg-webfont.eot -------------------------------------------------------------------------------- /app/hyper/server/ui/fonts/ProximaNova-Reg-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/server/ui/fonts/ProximaNova-Reg-webfont.ttf -------------------------------------------------------------------------------- /app/hyper/server/ui/fonts/ProximaNova-Reg-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/server/ui/fonts/ProximaNova-Reg-webfont.woff -------------------------------------------------------------------------------- /app/hyper/server/ui/fonts/ProximaNova.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Web Fonts from fontspring.com 3 | * 4 | * All OpenType features and all extended glyphs have been removed. 5 | * Fully installable fonts can be purchased at http://www.fontspring.com 6 | * 7 | * The fonts included in this stylesheet are subject to the End User License you purchased 8 | * from Fontspring. The fonts are protected under domestic and international trademark and 9 | * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or 10 | * distributing this font software. 11 | * 12 | * (c) 2010-2014 Fontspring 13 | * 14 | * 15 | * 16 | * 17 | * The fonts included are copyrighted by the vendor listed below. 18 | * 19 | * Vendor: Mark Simonson Studio 20 | * License URL: http://www.fontspring.com/fflicense/mark-simonson-studio 21 | * 22 | * 23 | */ 24 | 25 | @font-face { 26 | font-family: 'Proxima Nova Regular'; 27 | src: url('ProximaNova-Reg-webfont.eot'); 28 | src: url('ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'), 29 | url('ProximaNova-Reg-webfont.woff') format('woff'), 30 | url('ProximaNova-Reg-webfont.ttf') format('truetype'), 31 | url('ProximaNova-Reg-webfont.svg#proxima_nova_rgregular') format('svg'); 32 | font-weight: normal; 33 | font-style: normal; 34 | } 35 | 36 | @font-face { 37 | font-family: 'Proxima Nova Bold'; 38 | src: url('ProximaNova-Bold-webfont.eot'); 39 | src: url('ProximaNova-Bold-webfont.eot?#iefix') format('embedded-opentype'), 40 | url('ProximaNova-Bold-webfont.woff') format('woff'), 41 | url('ProximaNova-Bold-webfont.ttf') format('truetype'), 42 | url('ProximaNova-Bold-webfont.svg#proxima_nova_rgbold') format('svg'); 43 | font-weight: bold; 44 | font-style: normal; 45 | } 46 | 47 | @font-face { 48 | font-family: 'Proxima Nova Black'; 49 | src: url('ProximaNova-Black-webfont.eot'); 50 | src: url('ProximaNova-Black-webfont.eot?#iefix') format('embedded-opentype'), 51 | url('ProximaNova-Black-webfont.woff') format('woff'), 52 | url('ProximaNova-Black-webfont.ttf') format('truetype'), 53 | url('ProximaNova-Black-webfont.svg#proxima_nova_blblack') format('svg'); 54 | font-weight: bolder; 55 | font-style: normal; 56 | } 57 | -------------------------------------------------------------------------------- /app/hyper/server/ui/images/arrow-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 10 | 11 | -------------------------------------------------------------------------------- /app/hyper/server/ui/images/arrow-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /app/hyper/server/ui/images/menu.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 10 | 11 | 13 | 15 | 17 | 19 | 20 | -------------------------------------------------------------------------------- /app/hyper/server/uuid.js: -------------------------------------------------------------------------------- 1 | /** 2 | * External. 3 | * 4 | * http://stackoverflow.com/a/8809472/4940311 5 | */ 6 | exports.generateUUID = function() 7 | { 8 | var d = new Date().getTime() 9 | return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace( 10 | /[xy]/g, 11 | function(c) 12 | { 13 | var r = (d + Math.random()*16)%16 | 0 14 | d = Math.floor(d/16) 15 | return (c=='x' ? r : (r&0x3|0x8)).toString(16) 16 | }) 17 | } 18 | -------------------------------------------------------------------------------- /app/hyper/ui/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /app/hyper/ui/fonts/ProximaNova-Black-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/ProximaNova-Black-webfont.eot -------------------------------------------------------------------------------- /app/hyper/ui/fonts/ProximaNova-Black-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/ProximaNova-Black-webfont.ttf -------------------------------------------------------------------------------- /app/hyper/ui/fonts/ProximaNova-Black-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/ProximaNova-Black-webfont.woff -------------------------------------------------------------------------------- /app/hyper/ui/fonts/ProximaNova-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/ProximaNova-Bold-webfont.eot -------------------------------------------------------------------------------- /app/hyper/ui/fonts/ProximaNova-Bold-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/ProximaNova-Bold-webfont.ttf -------------------------------------------------------------------------------- /app/hyper/ui/fonts/ProximaNova-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/ProximaNova-Bold-webfont.woff -------------------------------------------------------------------------------- /app/hyper/ui/fonts/ProximaNova-Reg-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/ProximaNova-Reg-webfont.eot -------------------------------------------------------------------------------- /app/hyper/ui/fonts/ProximaNova-Reg-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/ProximaNova-Reg-webfont.ttf -------------------------------------------------------------------------------- /app/hyper/ui/fonts/ProximaNova-Reg-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/ProximaNova-Reg-webfont.woff -------------------------------------------------------------------------------- /app/hyper/ui/fonts/ProximaNova.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Web Fonts from fontspring.com 3 | * 4 | * All OpenType features and all extended glyphs have been removed. 5 | * Fully installable fonts can be purchased at http://www.fontspring.com 6 | * 7 | * The fonts included in this stylesheet are subject to the End User License you purchased 8 | * from Fontspring. The fonts are protected under domestic and international trademark and 9 | * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or 10 | * distributing this font software. 11 | * 12 | * (c) 2010-2014 Fontspring 13 | * 14 | * 15 | * 16 | * 17 | * The fonts included are copyrighted by the vendor listed below. 18 | * 19 | * Vendor: Mark Simonson Studio 20 | * License URL: http://www.fontspring.com/fflicense/mark-simonson-studio 21 | * 22 | * 23 | */ 24 | 25 | @font-face { 26 | font-family: 'Proxima Nova Regular'; 27 | src: url('ProximaNova-Reg-webfont.eot'); 28 | src: url('ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'), 29 | url('ProximaNova-Reg-webfont.woff') format('woff'), 30 | url('ProximaNova-Reg-webfont.ttf') format('truetype'), 31 | url('ProximaNova-Reg-webfont.svg#proxima_nova_rgregular') format('svg'); 32 | font-weight: normal; 33 | font-style: normal; 34 | } 35 | 36 | @font-face { 37 | font-family: 'Proxima Nova Bold'; 38 | src: url('ProximaNova-Bold-webfont.eot'); 39 | src: url('ProximaNova-Bold-webfont.eot?#iefix') format('embedded-opentype'), 40 | url('ProximaNova-Bold-webfont.woff') format('woff'), 41 | url('ProximaNova-Bold-webfont.ttf') format('truetype'), 42 | url('ProximaNova-Bold-webfont.svg#proxima_nova_rgbold') format('svg'); 43 | font-weight: bold; 44 | font-style: normal; 45 | } 46 | 47 | @font-face { 48 | font-family: 'Proxima Nova Black'; 49 | src: url('ProximaNova-Black-webfont.eot'); 50 | src: url('ProximaNova-Black-webfont.eot?#iefix') format('embedded-opentype'), 51 | url('ProximaNova-Black-webfont.woff') format('woff'), 52 | url('ProximaNova-Black-webfont.ttf') format('truetype'), 53 | url('ProximaNova-Black-webfont.svg#proxima_nova_blblack') format('svg'); 54 | font-weight: bolder; 55 | font-style: normal; 56 | } 57 | -------------------------------------------------------------------------------- /app/hyper/ui/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /app/hyper/ui/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /app/hyper/ui/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /app/hyper/ui/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /app/hyper/ui/images/PNG/Galaxy3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/PNG/Galaxy3.png -------------------------------------------------------------------------------- /app/hyper/ui/images/PNG/Lumia900.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/PNG/Lumia900.png -------------------------------------------------------------------------------- /app/hyper/ui/images/PNG/Nexus7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/PNG/Nexus7.png -------------------------------------------------------------------------------- /app/hyper/ui/images/PNG/iPad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/PNG/iPad.png -------------------------------------------------------------------------------- /app/hyper/ui/images/PNG/iPadMini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/PNG/iPadMini.png -------------------------------------------------------------------------------- /app/hyper/ui/images/PNG/iPhone4S.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/PNG/iPhone4S.png -------------------------------------------------------------------------------- /app/hyper/ui/images/PNG/iPhone5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/PNG/iPhone5.png -------------------------------------------------------------------------------- /app/hyper/ui/images/app-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/app-icon.png -------------------------------------------------------------------------------- /app/hyper/ui/images/app-store.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/app-store.png -------------------------------------------------------------------------------- /app/hyper/ui/images/arrow-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 10 | 11 | -------------------------------------------------------------------------------- /app/hyper/ui/images/arrow-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /app/hyper/ui/images/bt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/bt.png -------------------------------------------------------------------------------- /app/hyper/ui/images/cogs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/cogs.png -------------------------------------------------------------------------------- /app/hyper/ui/images/cordova_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/cordova_256.png -------------------------------------------------------------------------------- /app/hyper/ui/images/diggit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/diggit.png -------------------------------------------------------------------------------- /app/hyper/ui/images/evothings-studio-illustration.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/evothings-studio-illustration.jpg -------------------------------------------------------------------------------- /app/hyper/ui/images/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/facebook.png -------------------------------------------------------------------------------- /app/hyper/ui/images/getting-started-mobile-app.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/getting-started-mobile-app.jpg -------------------------------------------------------------------------------- /app/hyper/ui/images/google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/google.png -------------------------------------------------------------------------------- /app/hyper/ui/images/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/head.png -------------------------------------------------------------------------------- /app/hyper/ui/images/linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/linkedin.png -------------------------------------------------------------------------------- /app/hyper/ui/images/menu.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 10 | 11 | 13 | 15 | 17 | 19 | 20 | -------------------------------------------------------------------------------- /app/hyper/ui/images/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/app/hyper/ui/images/twitter.png -------------------------------------------------------------------------------- /app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "evothings-studio", 3 | "productName": "Evothings Studio", 4 | "description": "HTML/JS IoT mobile app development tool", 5 | "version": "2.2.0", 6 | "author": "Evothings ", 7 | "homepage": "https://evothings.com", 8 | "license": "Apache-2.0", 9 | "main": "main.js", 10 | "keywords": [ 11 | "Evothings", 12 | "mobile", 13 | "JavaScript" 14 | ], 15 | "bugs": { 16 | "url": "https://github.com/evothings/evothings-studio/issues", 17 | "email": "info@evothings.com" 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/evothings/evothings-studio.git" 22 | }, 23 | "dependencies": { 24 | "babel-core": "^6.21.0", 25 | "babel-preset-es2015": "^6.18.0", 26 | "cheerio": "^0.22.0", 27 | "coffee-script": "^1.12.2", 28 | "font-awesome": "^4.7.0", 29 | "fs-extra": "^1.0.0", 30 | "glob": "^7.1.1", 31 | "material-design-lite": "^1.3.0", 32 | "mqtt": "^2.2.0", 33 | "node-promise": "^0.5.12", 34 | "semver-regex": "^1.0.0", 35 | "socket.io-client": "^1.7.2", 36 | "temp": "^0.8.3", 37 | "adm-zip": "^0.4.7" 38 | }, 39 | "other-dependencies": { 40 | "comment": "See functions downloadJavaScriptLibraries in init.rb" 41 | }, 42 | "private": true 43 | } 44 | -------------------------------------------------------------------------------- /build/README.md: -------------------------------------------------------------------------------- 1 | ## Notes 2 | The `icon.icns` and `icon.ico` were produced by uploading `evothings-logo.png` at https://iconverticons.com/online/ 3 | The `install-spinner.gif` was made using Waves animation in Gimp. 4 | -------------------------------------------------------------------------------- /build/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/build/background.png -------------------------------------------------------------------------------- /build/evo-only-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/build/evo-only-logo.png -------------------------------------------------------------------------------- /build/evothings-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/build/evothings-logo.png -------------------------------------------------------------------------------- /build/evothings-logo.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/build/evothings-logo.xcf -------------------------------------------------------------------------------- /build/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/build/icon.icns -------------------------------------------------------------------------------- /build/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/build/icon.ico -------------------------------------------------------------------------------- /build/install-spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evothings/evothings-studio/fb4ce49ed980aaa0650283bf6ff61c6174d526f9/build/install-spinner.gif -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | // See https://go.microsoft.com/fwlink/?LinkId=759670 3 | // for the documentation about the jsconfig.json format 4 | "compilerOptions": { 5 | "target": "es6", 6 | "module": "commonjs", 7 | "allowSyntheticDefaultImports": true 8 | }, 9 | "exclude": [ 10 | "node_modules", 11 | "bower_components", 12 | "jspm_packages", 13 | "tmp", 14 | "temp" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Evothings ", 3 | "bugs": { 4 | "url": "https://github.com/evothings/evothings-studio/issues", 5 | "email": "info@evothings.com" 6 | }, 7 | "repository": { 8 | "type": "git", 9 | "url": "https://github.com/evothings/evothings-studio.git" 10 | }, 11 | "devDependencies": { 12 | "chai": "^3.5.0", 13 | "electron": "^1.4.14", 14 | "electron-builder": "^11.2.4", 15 | "electron-packager": "^8.5.0", 16 | "node-promise": "^0.5.12", 17 | "spectron": "^3.4.1", 18 | "electron-builder-squirrel-windows": "^11.2.5" 19 | }, 20 | "build": { 21 | "appId": "com.evothings.studio", 22 | "linux": { 23 | "category": "Development", 24 | "target": [ 25 | "deb", 26 | "rpm", 27 | "AppImage" 28 | ], 29 | "synopsis": "IoT hybrid mobile app development tool", 30 | "vendor": "Evothings " 31 | }, 32 | "mac": { 33 | "category": "public.app-category.developer-tools" 34 | }, 35 | "dmg": { 36 | "contents": [ 37 | { 38 | "x": 140, 39 | "y": 220 40 | }, 41 | { 42 | "x": 450, 43 | "y": 220, 44 | "type": "link", 45 | "path": "/Applications" 46 | } 47 | ] 48 | }, 49 | "win": { 50 | "target": [ 51 | "nsis", 52 | "squirrel" 53 | ] 54 | }, 55 | "squirrelWindows": { 56 | "iconUrl": "http://evothings.com/evothings-logo.ico" 57 | } 58 | }, 59 | "scripts": { 60 | "test": "electron-mocha", 61 | "dist": "build --linux deb rpm && build --mac && build --win && build --win --ia32", 62 | "dist:mac": "build --mac", 63 | "dist:linux": "build --linux", 64 | "dist:win": "build --win", 65 | "dist:win32": "build --win --ia32", 66 | "start": "cd app && electron --enable-logging main.js" 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /test/studio-spec.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert') 2 | var expect = require("chai").expect; 3 | var Application = require('spectron').Application 4 | // 5 | // 6 | // Look here for examples on how to write exepect assertions; 7 | //---------------------------------------------------------- 8 | // http://chaijs.com/guide/styles/ 9 | // http://chaijs.com/api/bdd/ 10 | // 11 | // 12 | var DEFER = require('node-promise').defer 13 | 14 | var app = undefined 15 | var main = undefined 16 | 17 | describe("Evothings Studio", function() 18 | { 19 | before(function (done) 20 | { 21 | // Any async inits for mocks et.c. before testin+g starts 22 | 23 | done() 24 | }) 25 | 26 | beforeEach(function (done) 27 | { 28 | app = new Application({ 29 | path: '/usr/bin/electron', 30 | args: ['app/main.js'] 31 | }); 32 | app.start().then(function() 33 | { 34 | var mm = app.webContents 35 | 36 | console.log('main module is') 37 | console.dir(mm) 38 | 39 | console.log('--- app is') 40 | console.dir(main) 41 | console.log('workbenchWindow = '+main.workbenchWindow) 42 | 43 | }.bind(this)) 44 | }) 45 | 46 | it("should be able to test that internet connectivity works ", function(done) 47 | { 48 | app.client.util.checkInternet().then(function(res) 49 | { 50 | console.log('checkInternet result = '+res) 51 | expect(true).to.equal(true) 52 | done() 53 | }, function(rej) 54 | { 55 | console.log('checkInternet reject = '+rej) 56 | }) 57 | }) 58 | 59 | }) 60 | 61 | --------------------------------------------------------------------------------