├── .drone.star ├── .github └── dependabot.yml ├── .gitignore ├── .phan └── config.php ├── .php-cs-fixer.dist.php ├── .scrutinizer.yml ├── AUTHORS ├── CHANGELOG.md ├── CONTRIBUTING.md ├── COPYING ├── Makefile ├── README.md ├── appinfo ├── info.xml └── routes.php ├── composer.json ├── composer.lock ├── controller ├── errors.php ├── notesapicontroller.php ├── notescontroller.php └── pagecontroller.php ├── css ├── notes.css └── vendor │ └── bootstrap │ └── tooltip.css ├── db └── note.php ├── img ├── favicon-mask.svg ├── favicon-touch.png ├── favicon-touch.svg ├── favicon.ico ├── favicon.png ├── favicon.svg ├── loading.gif └── notes.svg ├── js ├── .bowerrc ├── .gitignore ├── .jshintrc ├── README.md ├── app │ ├── controllers │ │ ├── appcontroller.js │ │ ├── notecontroller.js │ │ └── notescontroller.js │ ├── directives │ │ ├── autofocus.js │ │ ├── editor.js │ │ ├── issaving.js │ │ ├── timeoutchange.js │ │ └── tooltip.js │ ├── filters │ │ ├── noteTitle.js │ │ └── wordCount.js │ └── services │ │ ├── is.js │ │ ├── notesmodel.js │ │ └── savequeue.js ├── bower.json ├── config │ └── app.js ├── gulpfile.js ├── karma.conf.js ├── package-lock.json ├── package.json ├── tests │ ├── stubs │ │ ├── app.js │ │ └── owncloud.js │ └── unit │ │ ├── controllers │ │ ├── appcontrollerSpec.js │ │ ├── notecontrollerSpec.js │ │ └── notescontrollerSpec.js │ │ ├── directives │ │ └── timeoutchangeSpec.js │ │ └── services │ │ ├── isSpec.js │ │ ├── notesmodelSpec.js │ │ └── savequeueSpec.js └── vendor │ ├── angular-mocks │ ├── .bower.json │ ├── LICENSE.md │ ├── README.md │ ├── angular-mocks.js │ ├── bower.json │ ├── ngAnimateMock.js │ ├── ngMock.js │ ├── ngMockE2E.js │ └── package.json │ ├── angular-route │ ├── .bower.json │ ├── LICENSE.md │ ├── README.md │ ├── angular-route.js │ ├── angular-route.min.js │ ├── angular-route.min.js.map │ ├── bower.json │ ├── index.js │ └── package.json │ ├── angular │ ├── .bower.json │ ├── LICENSE.md │ ├── README.md │ ├── angular-csp.css │ ├── angular.js │ ├── angular.min.js │ ├── angular.min.js.gzip │ ├── angular.min.js.map │ ├── bower.json │ ├── index.js │ └── package.json │ ├── jquery │ ├── .bower.json │ ├── MIT-LICENSE.txt │ ├── bower.json │ ├── dist │ │ ├── jquery.js │ │ ├── jquery.min.js │ │ └── jquery.min.map │ └── src │ │ ├── ajax.js │ │ ├── ajax │ │ ├── jsonp.js │ │ ├── load.js │ │ ├── parseJSON.js │ │ ├── parseXML.js │ │ ├── script.js │ │ ├── var │ │ │ ├── nonce.js │ │ │ └── rquery.js │ │ └── xhr.js │ │ ├── attributes.js │ │ ├── attributes │ │ ├── attr.js │ │ ├── classes.js │ │ ├── prop.js │ │ ├── support.js │ │ └── val.js │ │ ├── callbacks.js │ │ ├── core.js │ │ ├── core │ │ ├── access.js │ │ ├── init.js │ │ ├── parseHTML.js │ │ ├── ready.js │ │ └── var │ │ │ └── rsingleTag.js │ │ ├── css.js │ │ ├── css │ │ ├── addGetHookIf.js │ │ ├── curCSS.js │ │ ├── defaultDisplay.js │ │ ├── hiddenVisibleSelectors.js │ │ ├── support.js │ │ ├── swap.js │ │ └── var │ │ │ ├── cssExpand.js │ │ │ ├── getStyles.js │ │ │ ├── isHidden.js │ │ │ ├── rmargin.js │ │ │ └── rnumnonpx.js │ │ ├── data.js │ │ ├── data │ │ ├── Data.js │ │ ├── accepts.js │ │ └── var │ │ │ ├── data_priv.js │ │ │ └── data_user.js │ │ ├── deferred.js │ │ ├── deprecated.js │ │ ├── dimensions.js │ │ ├── effects.js │ │ ├── effects │ │ ├── Tween.js │ │ └── animatedSelector.js │ │ ├── event.js │ │ ├── event │ │ ├── ajax.js │ │ ├── alias.js │ │ └── support.js │ │ ├── exports │ │ ├── amd.js │ │ └── global.js │ │ ├── intro.js │ │ ├── jquery.js │ │ ├── manipulation.js │ │ ├── manipulation │ │ ├── _evalUrl.js │ │ ├── support.js │ │ └── var │ │ │ └── rcheckableType.js │ │ ├── offset.js │ │ ├── outro.js │ │ ├── queue.js │ │ ├── queue │ │ └── delay.js │ │ ├── selector-native.js │ │ ├── selector-sizzle.js │ │ ├── selector.js │ │ ├── serialize.js │ │ ├── sizzle │ │ └── dist │ │ │ ├── sizzle.js │ │ │ ├── sizzle.min.js │ │ │ └── sizzle.min.map │ │ ├── traversing.js │ │ ├── traversing │ │ ├── findFilter.js │ │ └── var │ │ │ └── rneedsContext.js │ │ ├── var │ │ ├── arr.js │ │ ├── class2type.js │ │ ├── concat.js │ │ ├── hasOwn.js │ │ ├── indexOf.js │ │ ├── pnum.js │ │ ├── push.js │ │ ├── rnotwhite.js │ │ ├── slice.js │ │ ├── strundefined.js │ │ ├── support.js │ │ └── toString.js │ │ └── wrap.js │ ├── lodash │ ├── .bower.json │ ├── LICENSE.txt │ ├── bower.json │ └── dist │ │ ├── lodash.compat.js │ │ ├── lodash.compat.min.js │ │ ├── lodash.js │ │ ├── lodash.min.js │ │ ├── lodash.underscore.js │ │ └── lodash.underscore.min.js │ ├── mdEdit │ ├── .bower.json │ ├── LICENSE.txt │ ├── README.md │ ├── bower.json │ ├── example.html │ ├── gulpfile.js │ ├── mdedit.css │ ├── mdedit.js │ ├── mdedit.min.js │ ├── package.json │ ├── prism-all.js │ ├── prism.css │ └── src │ │ ├── Editor.js │ │ ├── SelectionManager.js │ │ ├── UndoManager.js │ │ ├── actions.js │ │ ├── md.js │ │ ├── util.js │ │ └── yaml.js │ ├── prism │ ├── .bower.json │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── components.js │ ├── components │ │ ├── prism-actionscript.js │ │ ├── prism-actionscript.min.js │ │ ├── prism-apacheconf.js │ │ ├── prism-apacheconf.min.js │ │ ├── prism-applescript.js │ │ ├── prism-applescript.min.js │ │ ├── prism-aspnet.js │ │ ├── prism-aspnet.min.js │ │ ├── prism-autohotkey.js │ │ ├── prism-autohotkey.min.js │ │ ├── prism-bash.js │ │ ├── prism-bash.min.js │ │ ├── prism-brainfuck.js │ │ ├── prism-brainfuck.min.js │ │ ├── prism-c.js │ │ ├── prism-c.min.js │ │ ├── prism-clike.js │ │ ├── prism-clike.min.js │ │ ├── prism-coffeescript.js │ │ ├── prism-coffeescript.min.js │ │ ├── prism-core.js │ │ ├── prism-core.min.js │ │ ├── prism-cpp.js │ │ ├── prism-cpp.min.js │ │ ├── prism-csharp.js │ │ ├── prism-csharp.min.js │ │ ├── prism-css-extras.js │ │ ├── prism-css-extras.min.js │ │ ├── prism-css.js │ │ ├── prism-css.min.js │ │ ├── prism-dart.js │ │ ├── prism-dart.min.js │ │ ├── prism-eiffel.js │ │ ├── prism-eiffel.min.js │ │ ├── prism-erlang.js │ │ ├── prism-erlang.min.js │ │ ├── prism-fortran.js │ │ ├── prism-fortran.min.js │ │ ├── prism-fsharp.js │ │ ├── prism-fsharp.min.js │ │ ├── prism-gherkin.js │ │ ├── prism-gherkin.min.js │ │ ├── prism-git.js │ │ ├── prism-git.min.js │ │ ├── prism-go.js │ │ ├── prism-go.min.js │ │ ├── prism-groovy.js │ │ ├── prism-groovy.min.js │ │ ├── prism-haml.js │ │ ├── prism-haml.min.js │ │ ├── prism-handlebars.js │ │ ├── prism-handlebars.min.js │ │ ├── prism-haskell.js │ │ ├── prism-haskell.min.js │ │ ├── prism-http.js │ │ ├── prism-http.min.js │ │ ├── prism-ini.js │ │ ├── prism-ini.min.js │ │ ├── prism-jade.js │ │ ├── prism-jade.min.js │ │ ├── prism-java.js │ │ ├── prism-java.min.js │ │ ├── prism-javascript.js │ │ ├── prism-javascript.min.js │ │ ├── prism-jsx.js │ │ ├── prism-jsx.min.js │ │ ├── prism-julia.js │ │ ├── prism-julia.min.js │ │ ├── prism-keyman.js │ │ ├── prism-keyman.min.js │ │ ├── prism-latex.js │ │ ├── prism-latex.min.js │ │ ├── prism-less.js │ │ ├── prism-less.min.js │ │ ├── prism-lolcode.js │ │ ├── prism-lolcode.min.js │ │ ├── prism-makefile.js │ │ ├── prism-makefile.min.js │ │ ├── prism-markdown.js │ │ ├── prism-markdown.min.js │ │ ├── prism-markup.js │ │ ├── prism-markup.min.js │ │ ├── prism-matlab.js │ │ ├── prism-matlab.min.js │ │ ├── prism-nasm.js │ │ ├── prism-nasm.min.js │ │ ├── prism-nsis.js │ │ ├── prism-nsis.min.js │ │ ├── prism-objectivec.js │ │ ├── prism-objectivec.min.js │ │ ├── prism-pascal.js │ │ ├── prism-pascal.min.js │ │ ├── prism-perl.js │ │ ├── prism-perl.min.js │ │ ├── prism-php-extras.js │ │ ├── prism-php-extras.min.js │ │ ├── prism-php.js │ │ ├── prism-php.min.js │ │ ├── prism-powershell.js │ │ ├── prism-powershell.min.js │ │ ├── prism-python.js │ │ ├── prism-python.min.js │ │ ├── prism-r.js │ │ ├── prism-r.min.js │ │ ├── prism-rest.js │ │ ├── prism-rest.min.js │ │ ├── prism-rip.js │ │ ├── prism-rip.min.js │ │ ├── prism-ruby.js │ │ ├── prism-ruby.min.js │ │ ├── prism-rust.js │ │ ├── prism-rust.min.js │ │ ├── prism-sas.js │ │ ├── prism-sas.min.js │ │ ├── prism-sass.js │ │ ├── prism-sass.min.js │ │ ├── prism-scala.js │ │ ├── prism-scala.min.js │ │ ├── prism-scheme.js │ │ ├── prism-scheme.min.js │ │ ├── prism-scss.js │ │ ├── prism-scss.min.js │ │ ├── prism-smalltalk.js │ │ ├── prism-smalltalk.min.js │ │ ├── prism-smarty.js │ │ ├── prism-smarty.min.js │ │ ├── prism-sql.js │ │ ├── prism-sql.min.js │ │ ├── prism-stylus.js │ │ ├── prism-stylus.min.js │ │ ├── prism-swift.js │ │ ├── prism-swift.min.js │ │ ├── prism-twig.js │ │ ├── prism-twig.min.js │ │ ├── prism-typescript.js │ │ ├── prism-typescript.min.js │ │ ├── prism-vhdl.js │ │ ├── prism-vhdl.min.js │ │ ├── prism-wiki.js │ │ ├── prism-wiki.min.js │ │ ├── prism-yaml.js │ │ └── prism-yaml.min.js │ ├── examples.js │ ├── gulpfile.js │ ├── package.json │ ├── plugins │ │ ├── autolinker │ │ │ ├── prism-autolinker.css │ │ │ ├── prism-autolinker.js │ │ │ └── prism-autolinker.min.js │ │ ├── file-highlight │ │ │ ├── prism-file-highlight.js │ │ │ └── prism-file-highlight.min.js │ │ ├── highlight-keywords │ │ │ ├── prism-highlight-keywords.js │ │ │ └── prism-highlight-keywords.min.js │ │ ├── ie8 │ │ │ ├── prism-ie8.css │ │ │ ├── prism-ie8.js │ │ │ └── prism-ie8.min.js │ │ ├── line-highlight │ │ │ ├── prism-line-highlight.css │ │ │ ├── prism-line-highlight.js │ │ │ └── prism-line-highlight.min.js │ │ ├── line-numbers │ │ │ ├── prism-line-numbers.css │ │ │ ├── prism-line-numbers.js │ │ │ └── prism-line-numbers.min.js │ │ ├── show-invisibles │ │ │ ├── prism-show-invisibles.css │ │ │ ├── prism-show-invisibles.js │ │ │ └── prism-show-invisibles.min.js │ │ ├── show-language │ │ │ ├── prism-show-language.css │ │ │ ├── prism-show-language.js │ │ │ ├── prism-show-language.min.css │ │ │ └── prism-show-language.min.js │ │ └── wpd │ │ │ ├── prism-wpd.css │ │ │ ├── prism-wpd.js │ │ │ └── prism-wpd.min.js │ ├── prism.js │ ├── themes │ │ ├── prism-coy.css │ │ ├── prism-dark.css │ │ ├── prism-funky.css │ │ ├── prism-okaidia.css │ │ ├── prism-tomorrow.css │ │ ├── prism-twilight.css │ │ └── prism.css │ └── vendor │ │ └── promise.js │ ├── restangular │ ├── .bower.json │ ├── .gitignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── CONTRIBUTE.md │ ├── Gruntfile.js │ ├── README.md │ ├── bower.json │ ├── dist │ │ ├── restangular.js │ │ ├── restangular.min.js │ │ └── restangular.zip │ ├── karma.conf.js │ ├── karma.underscore.conf.js │ ├── license.md │ ├── package.json │ ├── src │ │ └── restangular.js │ └── test │ │ └── restangularSpec.js │ └── underscore │ ├── .bower.json │ ├── .eslintrc │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── component.json │ ├── package.json │ ├── underscore-min.js │ ├── underscore-min.map │ └── underscore.js ├── l10n ├── .gitkeep ├── .tx │ └── config ├── af_ZA.js ├── af_ZA.json ├── ar.js ├── ar.json ├── ast.js ├── ast.json ├── az.js ├── az.json ├── bg_BG.js ├── bg_BG.json ├── bn_BD.js ├── bn_BD.json ├── bn_IN.js ├── bn_IN.json ├── ca.js ├── ca.json ├── cs_CZ.js ├── cs_CZ.json ├── da.js ├── da.json ├── de.js ├── de.json ├── de_CH.js ├── de_CH.json ├── de_DE.js ├── de_DE.json ├── el.js ├── el.json ├── en_GB.js ├── en_GB.json ├── eo.js ├── eo.json ├── es.js ├── es.json ├── es_AR.js ├── es_AR.json ├── es_MX.js ├── es_MX.json ├── et_EE.js ├── et_EE.json ├── eu.js ├── eu.json ├── fa.js ├── fa.json ├── fi_FI.js ├── fi_FI.json ├── fr.js ├── fr.json ├── gl.js ├── gl.json ├── he.js ├── he.json ├── hr.js ├── hr.json ├── hu_HU.js ├── hu_HU.json ├── hy.js ├── hy.json ├── ia.js ├── ia.json ├── id.js ├── id.json ├── ignorelist ├── is.js ├── is.json ├── it.js ├── it.json ├── ja.js ├── ja.json ├── km.js ├── km.json ├── ko.js ├── ko.json ├── ku_IQ.js ├── ku_IQ.json ├── lt_LT.js ├── lt_LT.json ├── lv.js ├── lv.json ├── mk.js ├── mk.json ├── mn.js ├── mn.json ├── ms_MY.js ├── ms_MY.json ├── nb_NO.js ├── nb_NO.json ├── nl.js ├── nl.json ├── nn_NO.js ├── nn_NO.json ├── oc.js ├── oc.json ├── pl.js ├── pl.json ├── pt_BR.js ├── pt_BR.json ├── pt_PT.js ├── pt_PT.json ├── ro.js ├── ro.json ├── ru.js ├── ru.json ├── ru_RU.js ├── ru_RU.json ├── sk_SK.js ├── sk_SK.json ├── sl.js ├── sl.json ├── sq.js ├── sq.json ├── sr.js ├── sr.json ├── sr@latin.js ├── sr@latin.json ├── sv.js ├── sv.json ├── th_TH.js ├── th_TH.json ├── tr.js ├── tr.json ├── ug.js ├── ug.json ├── uk.js ├── uk.json ├── zh_CN.js ├── zh_CN.json ├── zh_HK.js ├── zh_HK.json ├── zh_TW.js └── zh_TW.json ├── phpcs.xml ├── phpstan.neon ├── phpunit.integration.xml ├── phpunit.xml ├── service ├── notedoesnotexistexception.php └── notesservice.php ├── sonar-project.properties ├── templates ├── main.php └── note.php ├── tests ├── integration │ └── controller │ │ ├── NotesApiControllerTest.php │ │ └── NotesControllerTest.php └── unit │ ├── controller │ ├── NotesApiControllerTest.php │ ├── NotesControllerTest.php │ └── PageControllerTest.php │ ├── db │ └── NoteTest.php │ └── service │ └── NotesServiceTest.php └── vendor-bin ├── owncloud-codestyle └── composer.json ├── phan └── composer.json └── phpstan └── composer.json /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: npm 4 | directory: "/js" 5 | schedule: 6 | interval: daily 7 | time: "22:00" 8 | open-pull-requests-limit: 10 9 | ignore: 10 | - dependency-name: karma 11 | versions: 12 | - 6.0.3 13 | - 6.0.4 14 | - 6.1.0 15 | - 6.1.1 16 | - 6.1.2 17 | - 6.2.0 18 | - 6.3.0 19 | - 6.3.1 20 | - package-ecosystem: composer 21 | directory: "/" 22 | schedule: 23 | interval: daily 24 | time: "22:00" 25 | open-pull-requests-limit: 10 26 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | *.log 3 | build/artifacts 4 | .rvm 5 | report 6 | build 7 | /l10n/.transifexrc 8 | .php_cs.cache 9 | .php-cs-fixer.cache 10 | js/public 11 | 12 | # Composer 13 | /vendor/ 14 | /vendor-bin/**/vendor 15 | /vendor-bin/**/composer.lock 16 | 17 | # Tests - auto-generated files 18 | /tests/acceptance/output* 19 | /tests/output 20 | .phpunit.result.cache 21 | 22 | # just sane ignores 23 | .*.sw[po] 24 | *.bak 25 | *.BAK 26 | *~ 27 | *.orig 28 | *.class 29 | .cvsignore 30 | Thumbs.db 31 | *.py[co] 32 | _darcs/* 33 | CVS/* 34 | .svn/* 35 | RCS/* 36 | 37 | # kdevelop 38 | .kdev 39 | *.kdev4 40 | 41 | # Lokalize 42 | *lokalize* 43 | 44 | # eclipse 45 | .project 46 | .settings 47 | 48 | # netbeans 49 | nbproject 50 | 51 | # phpStorm 52 | .idea 53 | 54 | # geany 55 | *.geany 56 | 57 | # Cloud9IDE 58 | .settings.xml 59 | 60 | # vim ex mode 61 | .vimrc 62 | 63 | # Mac OS 64 | .DS_Store 65 | 66 | # SonarCloud scanner 67 | .scannerwork 68 | 69 | # Generated from .drone.star 70 | .drone.yml 71 | -------------------------------------------------------------------------------- /.php-cs-fixer.dist.php: -------------------------------------------------------------------------------- 1 | setUsingCache(true) 7 | ->getFinder() 8 | ->in(__DIR__); 9 | 10 | return $config; 11 | -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- 1 | filter: 2 | excluded_paths: 3 | - 'js/vendor/*' 4 | - 'js/public/*' 5 | - 'js/tests/stubs/*' 6 | - 'templates/*' 7 | - 'l10n/*' 8 | - 'tests/*' 9 | 10 | imports: 11 | - javascript 12 | - php 13 | 14 | tools: 15 | external_code_coverage: 16 | timeout: 1800 17 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | Jan-Christoph Borchardt (http://jancborchardt.net) 2 | Bernhard Posselt 3 | -------------------------------------------------------------------------------- /appinfo/info.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | notes 4 | Notes 5 | AGPL 6 | Bernhard Posselt, Jan-Christoph Borchardt, Hendrik Leppelsack 7 | 2.0.7 8 | Notes 9 | tools 10 | Distraction-free notes and writing 11 | Distraction-free notes and writing 12 | https://github.com/owncloud/notes/issues 13 | https://github.com/owncloud/notes.git 14 | 15 | 16 | 17 | https://cloud.githubusercontent.com/assets/4741199/17731273/e557b5fe-646c-11e6-9975-d6b242454482.png 18 | 19 | notes.page.index 20 | 10 21 | 22 | 23 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "owncloud/notes", 3 | "config" : { 4 | "platform": { 5 | "php": "7.3" 6 | }, 7 | "allow-plugins": { 8 | "bamarni/composer-bin-plugin": true 9 | } 10 | }, 11 | "require": { 12 | "php": ">=7.3" 13 | }, 14 | "require-dev": { 15 | "bamarni/composer-bin-plugin": "^1.8" 16 | }, 17 | "extra": { 18 | "bamarni-bin": { 19 | "bin-links": false 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /controller/errors.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright Bernhard Posselt 2012, 2014 10 | */ 11 | 12 | namespace OCA\Notes\Controller; 13 | 14 | use OCP\AppFramework\Http; 15 | use OCP\AppFramework\Http\DataResponse; 16 | 17 | use OCA\Notes\Service\NoteDoesNotExistException; 18 | 19 | /** 20 | * Class Errors 21 | * 22 | * @package OCA\Notes\Controller 23 | */ 24 | trait Errors { 25 | /** 26 | * @param $callback 27 | * @return DataResponse 28 | */ 29 | protected function respond($callback) { 30 | try { 31 | return new DataResponse($callback()); 32 | } catch (NoteDoesNotExistException $ex) { 33 | return new DataResponse([], Http::STATUS_NOT_FOUND); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /img/favicon-mask.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /img/favicon-touch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owncloud/notes/b5b9cd7e60aa8a2ba4f9b81d597e363ff4fd577b/img/favicon-touch.png -------------------------------------------------------------------------------- /img/favicon-touch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owncloud/notes/b5b9cd7e60aa8a2ba4f9b81d597e363ff4fd577b/img/favicon.ico -------------------------------------------------------------------------------- /img/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owncloud/notes/b5b9cd7e60aa8a2ba4f9b81d597e363ff4fd577b/img/favicon.png -------------------------------------------------------------------------------- /img/favicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owncloud/notes/b5b9cd7e60aa8a2ba4f9b81d597e363ff4fd577b/img/loading.gif -------------------------------------------------------------------------------- /img/notes.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /js/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "vendor" 3 | 4 | } -------------------------------------------------------------------------------- /js/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | *.log 3 | test-results.xml 4 | -------------------------------------------------------------------------------- /js/README.md: -------------------------------------------------------------------------------- 1 | # Building JavaScript and CSS 2 | 3 | To build JavaScript and CSS first install Gulp and install the required modules via npm: 4 | 5 | sudo npm install -g gulp 6 | npm install 7 | 8 | To simply build everything run: 9 | 10 | gulp 11 | 12 | You can also run it in watch mode to rebuild when files change: 13 | 14 | gulp watch 15 | 16 | # Tests 17 | 18 | Run all tests: 19 | 20 | gulp test-all 21 | 22 | Run JavaScript tests: 23 | 24 | gulp test 25 | 26 | in watch mode: 27 | 28 | gulp watch-test 29 | 30 | Run PHP unit tests: 31 | 32 | gulp test-php 33 | 34 | in watch mode: 35 | 36 | gulp watch-test-php 37 | 38 | 39 | Run PHP integration tests: 40 | 41 | gulp test-php-integration 42 | 43 | -------------------------------------------------------------------------------- /js/app/controllers/appcontroller.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2013, Bernhard Posselt 3 | * This file is licensed under the Affero General Public License version 3 or 4 | * later. 5 | * See the COPYING file. 6 | */ 7 | 8 | app.controller('AppController', function ($scope, $location, is) { 9 | 'use strict'; 10 | 11 | $scope.is = is; 12 | 13 | $scope.init = function (lastViewedNote) { 14 | if(lastViewedNote !== 0) { 15 | $location.path('/notes/' + lastViewedNote); 16 | } 17 | }; 18 | }); 19 | -------------------------------------------------------------------------------- /js/app/controllers/notecontroller.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2013, Bernhard Posselt 3 | * This file is licensed under the Affero General Public License version 3 or 4 | * later. 5 | * See the COPYING file. 6 | */ 7 | 8 | app.controller('NoteController', function($routeParams, $scope, NotesModel, 9 | SaveQueue, note) { 10 | 'use strict'; 11 | 12 | NotesModel.updateIfExists(note); 13 | 14 | $scope.note = NotesModel.get($routeParams.noteId); 15 | 16 | $scope.isSaving = function () { 17 | return SaveQueue.isSaving(); 18 | }; 19 | 20 | $scope.updateTitle = function () { 21 | $scope.note.title = $scope.note.content.split('\n')[0] || 22 | t('notes', 'New note'); 23 | }; 24 | 25 | $scope.save = function() { 26 | var note = $scope.note; 27 | SaveQueue.add(note); 28 | }; 29 | 30 | }); -------------------------------------------------------------------------------- /js/app/directives/autofocus.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2013, Bernhard Posselt 3 | * This file is licensed under the Affero General Public License version 3 or 4 | * later. 5 | * See the COPYING file. 6 | */ 7 | 8 | app.directive('notesAutofocus', function () { 9 | 'use strict'; 10 | return { 11 | restrict: 'A', 12 | link: function (scope, element) { 13 | element.focus(); 14 | } 15 | }; 16 | }); 17 | -------------------------------------------------------------------------------- /js/app/directives/editor.js: -------------------------------------------------------------------------------- 1 | /*global mdEdit*/ 2 | app.directive('editor', ['$timeout', function ($timeout) { 3 | 'use strict'; 4 | return { 5 | restrict: 'A', 6 | link: function(scope, element) { 7 | var editor = mdEdit(element[0], {change: function(value) { 8 | $timeout(function(){ 9 | scope.$apply(function() { 10 | scope.note.content = value; 11 | scope.updateTitle(); 12 | }); 13 | }); 14 | }}); 15 | editor.setValue(scope.note.content); 16 | element.on('click', '.link', function(event) { 17 | if(event.ctrlKey) { 18 | var url = $(this).find('.link-params-inner').text(); 19 | window.open(url, '_blank'); 20 | } 21 | }); 22 | } 23 | }; 24 | }]); 25 | -------------------------------------------------------------------------------- /js/app/directives/issaving.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2013, Bernhard Posselt 3 | * This file is licensed under the Affero General Public License version 3 or 4 | * later. 5 | * See the COPYING file. 6 | */ 7 | 8 | app.directive('notesIsSaving', function ($window) { 9 | 'use strict'; 10 | return { 11 | restrict: 'A', 12 | scope: { 13 | 'notesIsSaving': '=' 14 | }, 15 | link: function (scope) { 16 | $window.onbeforeunload = function () { 17 | if (scope.notesIsSaving) { 18 | return t('notes', 'Note is currently saving. Leaving ' + 19 | 'the page will delete all changes!'); 20 | } else { 21 | return null; 22 | } 23 | }; 24 | } 25 | }; 26 | }); 27 | -------------------------------------------------------------------------------- /js/app/directives/timeoutchange.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2013, Bernhard Posselt 3 | * This file is licensed under the Affero General Public License version 3 or 4 | * later. 5 | * See the COPYING file. 6 | */ 7 | 8 | /** 9 | * Like ng-change only that it does not fire when you type faster than 10 | * 300 ms 11 | */ 12 | app.directive('notesTimeoutChange', function ($timeout) { 13 | 'use strict'; 14 | 15 | return { 16 | restrict: 'A', 17 | link: function (scope, element, attributes) { 18 | var interval = 300; // 300 miliseconds timeout after typing 19 | var timeout; 20 | 21 | $(element).bind('input propertychange paste', function () { 22 | $timeout.cancel(timeout); 23 | 24 | timeout = $timeout(function () { 25 | scope.$apply(attributes.notesTimeoutChange); 26 | }, interval); 27 | }); 28 | } 29 | }; 30 | }); 31 | -------------------------------------------------------------------------------- /js/app/directives/tooltip.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2013, Bernhard Posselt 3 | * This file is licensed under the Affero General Public License version 3 or 4 | * later. 5 | * See the COPYING file. 6 | */ 7 | 8 | app.directive('notesTooltip', function () { 9 | 'use strict'; 10 | 11 | return { 12 | restrict: 'A', 13 | link: function (scope, element) { 14 | element.tooltip(); 15 | } 16 | }; 17 | }); 18 | -------------------------------------------------------------------------------- /js/app/filters/noteTitle.js: -------------------------------------------------------------------------------- 1 | /** 2 | * removes whitespaces and leading # 3 | */ 4 | app.filter('noteTitle', function () { 5 | 'use strict'; 6 | return function (value) { 7 | value = value.split('\n')[0] || 'newNote'; 8 | return value.trim().replace(/^#+/g, ''); 9 | }; 10 | }); 11 | -------------------------------------------------------------------------------- /js/app/filters/wordCount.js: -------------------------------------------------------------------------------- 1 | app.filter('wordCount', function () { 2 | 'use strict'; 3 | return function (value) { 4 | if (value && (typeof value === 'string')) { 5 | var wordCount = value.split(/\s+/).filter( 6 | // only count words containing 7 | // at least one alphanumeric character 8 | function(value) { 9 | return value.search(/[A-Za-z0-9]/) !== -1; 10 | } 11 | ).length; 12 | return window.n('notes', '%n word', '%n words', wordCount); 13 | } else { 14 | return 0; 15 | } 16 | }; 17 | }); 18 | -------------------------------------------------------------------------------- /js/app/services/is.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2013, Bernhard Posselt 3 | * This file is licensed under the Affero General Public License version 3 or 4 | * later. 5 | * See the COPYING file. 6 | */ 7 | 8 | app.factory('is', function () { 9 | 'use strict'; 10 | 11 | return { 12 | loading: false 13 | }; 14 | }); -------------------------------------------------------------------------------- /js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "owncloud-notes", 3 | "version": "0.0.1", 4 | "dependencies": { 5 | "angular": "1.4.*", 6 | "restangular": "1.3.*", 7 | "jquery": "2.1.*", 8 | "underscore": "1.7.*", 9 | "angular-mocks": "1.4.*", 10 | "angular-route": "1.4.*", 11 | "prism": "~1.0.1", 12 | "mdEdit": "https://github.com/jbt/mdEdit.git#master" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /js/tests/stubs/app.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2013, Bernhard Posselt 3 | * This file is licensed under the Affero General Public License version 3 or 4 | * later. 5 | * See the COPYING file. 6 | */ 7 | 8 | /*jshint unused:false*/ 9 | var app = angular.module('Notes', ['ngMock', 'restangular', 'ngRoute']). 10 | config(['RestangularProvider', function (RestangularProvider) { 11 | 'use strict'; 12 | RestangularProvider.setBaseUrl('/'); 13 | }]); -------------------------------------------------------------------------------- /js/tests/stubs/owncloud.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2013, Bernhard Posselt 3 | * This file is licensed under the Affero General Public License version 3 or 4 | * later. 5 | * See the COPYING file. 6 | */ 7 | 8 | /*jshint unused:false*/ 9 | var t = function (appName, string) { 10 | 'use strict'; 11 | return string; 12 | }; -------------------------------------------------------------------------------- /js/tests/unit/services/isSpec.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2013, Bernhard Posselt 3 | * This file is licensed under the Affero General Public License version 3 or 4 | * later. 5 | * See the COPYING file. 6 | */ 7 | 8 | describe('is', function() { 9 | 'use strict'; 10 | 11 | beforeEach(module('Notes')); 12 | 13 | 14 | it ('should be set loading to false', inject(function(is) { 15 | expect(is.loading).toBe(false); 16 | })); 17 | 18 | 19 | }); -------------------------------------------------------------------------------- /js/vendor/angular-mocks/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-mocks", 3 | "version": "1.4.14", 4 | "license": "MIT", 5 | "main": "./angular-mocks.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.4.14" 9 | }, 10 | "homepage": "https://github.com/angular/bower-angular-mocks", 11 | "_release": "1.4.14", 12 | "_resolution": { 13 | "type": "version", 14 | "tag": "v1.4.14", 15 | "commit": "d6d76294fbc8ee9e5d5b581968b775910b4e67d0" 16 | }, 17 | "_source": "https://github.com/angular/bower-angular-mocks.git", 18 | "_target": "1.4.*", 19 | "_originalSource": "angular-mocks" 20 | } -------------------------------------------------------------------------------- /js/vendor/angular-mocks/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Angular 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /js/vendor/angular-mocks/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-mocks", 3 | "version": "1.4.14", 4 | "license": "MIT", 5 | "main": "./angular-mocks.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.4.14" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /js/vendor/angular-mocks/ngAnimateMock.js: -------------------------------------------------------------------------------- 1 | require('./angular-mocks'); 2 | module.exports = 'ngAnimateMock'; 3 | -------------------------------------------------------------------------------- /js/vendor/angular-mocks/ngMock.js: -------------------------------------------------------------------------------- 1 | require('./angular-mocks'); 2 | module.exports = 'ngMock'; 3 | -------------------------------------------------------------------------------- /js/vendor/angular-mocks/ngMockE2E.js: -------------------------------------------------------------------------------- 1 | require('./angular-mocks'); 2 | module.exports = 'ngMockE2E'; 3 | -------------------------------------------------------------------------------- /js/vendor/angular-mocks/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-mocks", 3 | "version": "1.4.14", 4 | "description": "AngularJS mocks for testing", 5 | "main": "angular-mocks.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "mocks", 18 | "testing", 19 | "client-side" 20 | ], 21 | "author": "Angular Core Team ", 22 | "license": "MIT", 23 | "bugs": { 24 | "url": "https://github.com/angular/angular.js/issues" 25 | }, 26 | "homepage": "http://angularjs.org", 27 | "jspm": { 28 | "shim": { 29 | "angular-mocks": { 30 | "deps": ["angular"] 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /js/vendor/angular-route/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-route", 3 | "version": "1.4.14", 4 | "license": "MIT", 5 | "main": "./angular-route.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.4.14" 9 | }, 10 | "homepage": "https://github.com/angular/bower-angular-route", 11 | "_release": "1.4.14", 12 | "_resolution": { 13 | "type": "version", 14 | "tag": "v1.4.14", 15 | "commit": "785dd6ff64784a33840ab4535503f3f576e78751" 16 | }, 17 | "_source": "https://github.com/angular/bower-angular-route.git", 18 | "_target": "1.4.*", 19 | "_originalSource": "angular-route" 20 | } -------------------------------------------------------------------------------- /js/vendor/angular-route/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Angular 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /js/vendor/angular-route/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-route", 3 | "version": "1.4.14", 4 | "license": "MIT", 5 | "main": "./angular-route.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.4.14" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /js/vendor/angular-route/index.js: -------------------------------------------------------------------------------- 1 | require('./angular-route'); 2 | module.exports = 'ngRoute'; 3 | -------------------------------------------------------------------------------- /js/vendor/angular-route/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-route", 3 | "version": "1.4.14", 4 | "description": "AngularJS router module", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "router", 18 | "client-side" 19 | ], 20 | "author": "Angular Core Team ", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/angular/angular.js/issues" 24 | }, 25 | "homepage": "http://angularjs.org", 26 | "jspm": { 27 | "shim": { 28 | "angular-route": { 29 | "deps": ["angular"] 30 | } 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /js/vendor/angular/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.4.14", 4 | "license": "MIT", 5 | "main": "./angular.js", 6 | "ignore": [], 7 | "dependencies": {}, 8 | "homepage": "https://github.com/angular/bower-angular", 9 | "_release": "1.4.14", 10 | "_resolution": { 11 | "type": "version", 12 | "tag": "v1.4.14", 13 | "commit": "63133dadd7831af4226b7ceaf8be8b68a7e284d9" 14 | }, 15 | "_source": "https://github.com/angular/bower-angular.git", 16 | "_target": "1.4.14", 17 | "_originalSource": "angular" 18 | } -------------------------------------------------------------------------------- /js/vendor/angular/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Angular 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /js/vendor/angular/angular-csp.css: -------------------------------------------------------------------------------- 1 | /* Include this file in your html if you are using the CSP mode. */ 2 | 3 | @charset "UTF-8"; 4 | 5 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], 6 | .ng-cloak, .x-ng-cloak, 7 | .ng-hide:not(.ng-hide-animate) { 8 | display: none !important; 9 | } 10 | 11 | ng\:form { 12 | display: block; 13 | } 14 | 15 | .ng-animate-shim { 16 | visibility:hidden; 17 | } 18 | 19 | .ng-anchor { 20 | position:absolute; 21 | } 22 | -------------------------------------------------------------------------------- /js/vendor/angular/angular.min.js.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owncloud/notes/b5b9cd7e60aa8a2ba4f9b81d597e363ff4fd577b/js/vendor/angular/angular.min.js.gzip -------------------------------------------------------------------------------- /js/vendor/angular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.4.14", 4 | "license": "MIT", 5 | "main": "./angular.js", 6 | "ignore": [], 7 | "dependencies": { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /js/vendor/angular/index.js: -------------------------------------------------------------------------------- 1 | require('./angular'); 2 | module.exports = angular; 3 | -------------------------------------------------------------------------------- /js/vendor/angular/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.4.14", 4 | "description": "HTML enhanced for web apps", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "client-side" 18 | ], 19 | "author": "Angular Core Team ", 20 | "license": "MIT", 21 | "bugs": { 22 | "url": "https://github.com/angular/angular.js/issues" 23 | }, 24 | "homepage": "http://angularjs.org" 25 | } 26 | -------------------------------------------------------------------------------- /js/vendor/jquery/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "version": "2.1.4", 4 | "main": "dist/jquery.js", 5 | "license": "MIT", 6 | "ignore": [ 7 | "**/.*", 8 | "build", 9 | "dist/cdn", 10 | "speed", 11 | "test", 12 | "*.md", 13 | "AUTHORS.txt", 14 | "Gruntfile.js", 15 | "package.json" 16 | ], 17 | "devDependencies": { 18 | "sizzle": "2.1.1-jquery.2.1.2", 19 | "requirejs": "2.1.10", 20 | "qunit": "1.14.0", 21 | "sinon": "1.8.1" 22 | }, 23 | "keywords": [ 24 | "jquery", 25 | "javascript", 26 | "library" 27 | ], 28 | "homepage": "https://github.com/jquery/jquery-dist", 29 | "_release": "2.1.4", 30 | "_resolution": { 31 | "type": "version", 32 | "tag": "2.1.4", 33 | "commit": "7751e69b615c6eca6f783a81e292a55725af6b85" 34 | }, 35 | "_source": "https://github.com/jquery/jquery-dist.git", 36 | "_target": "2.1.*", 37 | "_originalSource": "jquery" 38 | } -------------------------------------------------------------------------------- /js/vendor/jquery/MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2014 jQuery Foundation and other contributors 2 | http://jquery.com/ 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining 5 | a copy of this software and associated documentation files (the 6 | "Software"), to deal in the Software without restriction, including 7 | without limitation the rights to use, copy, modify, merge, publish, 8 | distribute, sublicense, and/or sell copies of the Software, and to 9 | permit persons to whom the Software is furnished to do so, subject to 10 | the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 19 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 20 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /js/vendor/jquery/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "version": "2.1.4", 4 | "main": "dist/jquery.js", 5 | "license": "MIT", 6 | "ignore": [ 7 | "**/.*", 8 | "build", 9 | "dist/cdn", 10 | "speed", 11 | "test", 12 | "*.md", 13 | "AUTHORS.txt", 14 | "Gruntfile.js", 15 | "package.json" 16 | ], 17 | "devDependencies": { 18 | "sizzle": "2.1.1-jquery.2.1.2", 19 | "requirejs": "2.1.10", 20 | "qunit": "1.14.0", 21 | "sinon": "1.8.1" 22 | }, 23 | "keywords": [ 24 | "jquery", 25 | "javascript", 26 | "library" 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/ajax/parseJSON.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Support: Android 2.3 6 | // Workaround failure to string-cast null input 7 | jQuery.parseJSON = function( data ) { 8 | return JSON.parse( data + "" ); 9 | }; 10 | 11 | return jQuery.parseJSON; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/ajax/parseXML.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Cross-browser xml parsing 6 | jQuery.parseXML = function( data ) { 7 | var xml, tmp; 8 | if ( !data || typeof data !== "string" ) { 9 | return null; 10 | } 11 | 12 | // Support: IE9 13 | try { 14 | tmp = new DOMParser(); 15 | xml = tmp.parseFromString( data, "text/xml" ); 16 | } catch ( e ) { 17 | xml = undefined; 18 | } 19 | 20 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { 21 | jQuery.error( "Invalid XML: " + data ); 22 | } 23 | return xml; 24 | }; 25 | 26 | return jQuery.parseXML; 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/ajax/var/nonce.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core" 3 | ], function( jQuery ) { 4 | return jQuery.now(); 5 | }); 6 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/ajax/var/rquery.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/\?/); 3 | }); 4 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/attributes.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./attributes/attr", 4 | "./attributes/prop", 5 | "./attributes/classes", 6 | "./attributes/val" 7 | ], function( jQuery ) { 8 | 9 | // Return jQuery for attributes-only inclusion 10 | return jQuery; 11 | }); 12 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/attributes/support.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | (function() { 6 | var input = document.createElement( "input" ), 7 | select = document.createElement( "select" ), 8 | opt = select.appendChild( document.createElement( "option" ) ); 9 | 10 | input.type = "checkbox"; 11 | 12 | // Support: iOS<=5.1, Android<=4.2+ 13 | // Default value for a checkbox should be "on" 14 | support.checkOn = input.value !== ""; 15 | 16 | // Support: IE<=11+ 17 | // Must access selectedIndex to make default options select 18 | support.optSelected = opt.selected; 19 | 20 | // Support: Android<=2.3 21 | // Options inside disabled selects are incorrectly marked as disabled 22 | select.disabled = true; 23 | support.optDisabled = !opt.disabled; 24 | 25 | // Support: IE<=11+ 26 | // An input loses its value after becoming a radio 27 | input = document.createElement( "input" ); 28 | input.value = "t"; 29 | input.type = "radio"; 30 | support.radioValue = input.value === "t"; 31 | })(); 32 | 33 | return support; 34 | 35 | }); 36 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/core/parseHTML.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "./var/rsingleTag", 4 | "../manipulation" // buildFragment 5 | ], function( jQuery, rsingleTag ) { 6 | 7 | // data: string of html 8 | // context (optional): If specified, the fragment will be created in this context, defaults to document 9 | // keepScripts (optional): If true, will include scripts passed in the html string 10 | jQuery.parseHTML = function( data, context, keepScripts ) { 11 | if ( !data || typeof data !== "string" ) { 12 | return null; 13 | } 14 | if ( typeof context === "boolean" ) { 15 | keepScripts = context; 16 | context = false; 17 | } 18 | context = context || document; 19 | 20 | var parsed = rsingleTag.exec( data ), 21 | scripts = !keepScripts && []; 22 | 23 | // Single tag 24 | if ( parsed ) { 25 | return [ context.createElement( parsed[1] ) ]; 26 | } 27 | 28 | parsed = jQuery.buildFragment( [ data ], context, scripts ); 29 | 30 | if ( scripts && scripts.length ) { 31 | jQuery( scripts ).remove(); 32 | } 33 | 34 | return jQuery.merge( [], parsed.childNodes ); 35 | }; 36 | 37 | return jQuery.parseHTML; 38 | 39 | }); 40 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/core/var/rsingleTag.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // Match a standalone tag 3 | return (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); 4 | }); 5 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/css/addGetHookIf.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | 3 | function addGetHookIf( conditionFn, hookFn ) { 4 | // Define the hook, we'll check on the first run if it's really needed. 5 | return { 6 | get: function() { 7 | if ( conditionFn() ) { 8 | // Hook not needed (or it's not possible to use it due 9 | // to missing dependency), remove it. 10 | delete this.get; 11 | return; 12 | } 13 | 14 | // Hook needed; redefine it so that the support test is not executed again. 15 | return (this.get = hookFn).apply( this, arguments ); 16 | } 17 | }; 18 | } 19 | 20 | return addGetHookIf; 21 | 22 | }); 23 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/css/hiddenVisibleSelectors.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../selector" 4 | ], function( jQuery ) { 5 | 6 | jQuery.expr.filters.hidden = function( elem ) { 7 | // Support: Opera <= 12.12 8 | // Opera reports offsetWidths and offsetHeights less than zero on some elements 9 | return elem.offsetWidth <= 0 && elem.offsetHeight <= 0; 10 | }; 11 | jQuery.expr.filters.visible = function( elem ) { 12 | return !jQuery.expr.filters.hidden( elem ); 13 | }; 14 | 15 | }); 16 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/css/swap.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // A method for quickly swapping in/out CSS properties to get correct calculations. 6 | jQuery.swap = function( elem, options, callback, args ) { 7 | var ret, name, 8 | old = {}; 9 | 10 | // Remember the old values, and insert the new ones 11 | for ( name in options ) { 12 | old[ name ] = elem.style[ name ]; 13 | elem.style[ name ] = options[ name ]; 14 | } 15 | 16 | ret = callback.apply( elem, args || [] ); 17 | 18 | // Revert the old values 19 | for ( name in options ) { 20 | elem.style[ name ] = old[ name ]; 21 | } 22 | 23 | return ret; 24 | }; 25 | 26 | return jQuery.swap; 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/css/var/cssExpand.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return [ "Top", "Right", "Bottom", "Left" ]; 3 | }); 4 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/css/var/getStyles.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return function( elem ) { 3 | // Support: IE<=11+, Firefox<=30+ (#15098, #14150) 4 | // IE throws on elements created in popups 5 | // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" 6 | if ( elem.ownerDocument.defaultView.opener ) { 7 | return elem.ownerDocument.defaultView.getComputedStyle( elem, null ); 8 | } 9 | 10 | return window.getComputedStyle( elem, null ); 11 | }; 12 | }); 13 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/css/var/isHidden.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core", 3 | "../../selector" 4 | // css is assumed 5 | ], function( jQuery ) { 6 | 7 | return function( elem, el ) { 8 | // isHidden might be called from jQuery#filter function; 9 | // in that case, element will be second argument 10 | elem = el || elem; 11 | return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); 12 | }; 13 | }); 14 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/css/var/rmargin.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/^margin/); 3 | }); 4 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/css/var/rnumnonpx.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../var/pnum" 3 | ], function( pnum ) { 4 | return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 5 | }); 6 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/data/accepts.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | /** 6 | * Determines whether an object can have data 7 | */ 8 | jQuery.acceptData = function( owner ) { 9 | // Accepts only: 10 | // - Node 11 | // - Node.ELEMENT_NODE 12 | // - Node.DOCUMENT_NODE 13 | // - Object 14 | // - Any 15 | /* jshint -W018 */ 16 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 17 | }; 18 | 19 | return jQuery.acceptData; 20 | }); 21 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/data/var/data_priv.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | }); 6 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/data/var/data_user.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | }); 6 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/deprecated.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./traversing" 4 | ], function( jQuery ) { 5 | 6 | // The number of elements contained in the matched element set 7 | jQuery.fn.size = function() { 8 | return this.length; 9 | }; 10 | 11 | jQuery.fn.andSelf = jQuery.fn.addBack; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/effects/animatedSelector.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../selector", 4 | "../effects" 5 | ], function( jQuery ) { 6 | 7 | jQuery.expr.filters.animated = function( elem ) { 8 | return jQuery.grep(jQuery.timers, function( fn ) { 9 | return elem === fn.elem; 10 | }).length; 11 | }; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/event/ajax.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../event" 4 | ], function( jQuery ) { 5 | 6 | // Attach a bunch of functions for handling common AJAX events 7 | jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) { 8 | jQuery.fn[ type ] = function( fn ) { 9 | return this.on( type, fn ); 10 | }; 11 | }); 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/event/support.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | support.focusinBubbles = "onfocusin" in window; 6 | 7 | return support; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/exports/amd.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Register as a named AMD module, since jQuery can be concatenated with other 6 | // files that may use define, but not via a proper concatenation script that 7 | // understands anonymous AMD modules. A named AMD is safest and most robust 8 | // way to register. Lowercase jquery is used because AMD module names are 9 | // derived from file names, and jQuery is normally delivered in a lowercase 10 | // file name. Do this after creating the global so that if an AMD module wants 11 | // to call noConflict to hide this version of jQuery, it will work. 12 | 13 | // Note that for maximum portability, libraries that are not jQuery should 14 | // declare themselves as anonymous modules, and avoid setting a global if an 15 | // AMD loader is present. jQuery is a special case. For more information, see 16 | // https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon 17 | 18 | if ( typeof define === "function" && define.amd ) { 19 | define( "jquery", [], function() { 20 | return jQuery; 21 | }); 22 | } 23 | 24 | }); 25 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/exports/global.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../var/strundefined" 4 | ], function( jQuery, strundefined ) { 5 | 6 | var 7 | // Map over jQuery in case of overwrite 8 | _jQuery = window.jQuery, 9 | 10 | // Map over the $ in case of overwrite 11 | _$ = window.$; 12 | 13 | jQuery.noConflict = function( deep ) { 14 | if ( window.$ === jQuery ) { 15 | window.$ = _$; 16 | } 17 | 18 | if ( deep && window.jQuery === jQuery ) { 19 | window.jQuery = _jQuery; 20 | } 21 | 22 | return jQuery; 23 | }; 24 | 25 | // Expose jQuery and $ identifiers, even in AMD 26 | // (#7102#comment:10, https://github.com/jquery/jquery/pull/557) 27 | // and CommonJS for browser emulators (#13566) 28 | if ( typeof noGlobal === strundefined ) { 29 | window.jQuery = window.$ = jQuery; 30 | } 31 | 32 | }); 33 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/jquery.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./selector", 4 | "./traversing", 5 | "./callbacks", 6 | "./deferred", 7 | "./core/ready", 8 | "./data", 9 | "./queue", 10 | "./queue/delay", 11 | "./attributes", 12 | "./event", 13 | "./event/alias", 14 | "./manipulation", 15 | "./manipulation/_evalUrl", 16 | "./wrap", 17 | "./css", 18 | "./css/hiddenVisibleSelectors", 19 | "./serialize", 20 | "./ajax", 21 | "./ajax/xhr", 22 | "./ajax/script", 23 | "./ajax/jsonp", 24 | "./ajax/load", 25 | "./event/ajax", 26 | "./effects", 27 | "./effects/animatedSelector", 28 | "./offset", 29 | "./dimensions", 30 | "./deprecated", 31 | "./exports/amd", 32 | "./exports/global" 33 | ], function( jQuery ) { 34 | 35 | return jQuery; 36 | 37 | }); 38 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/manipulation/_evalUrl.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../ajax" 3 | ], function( jQuery ) { 4 | 5 | jQuery._evalUrl = function( url ) { 6 | return jQuery.ajax({ 7 | url: url, 8 | type: "GET", 9 | dataType: "script", 10 | async: false, 11 | global: false, 12 | "throws": true 13 | }); 14 | }; 15 | 16 | return jQuery._evalUrl; 17 | 18 | }); 19 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/manipulation/support.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | (function() { 6 | var fragment = document.createDocumentFragment(), 7 | div = fragment.appendChild( document.createElement( "div" ) ), 8 | input = document.createElement( "input" ); 9 | 10 | // Support: Safari<=5.1 11 | // Check state lost if the name is set (#11217) 12 | // Support: Windows Web Apps (WWA) 13 | // `name` and `type` must use .setAttribute for WWA (#14901) 14 | input.setAttribute( "type", "radio" ); 15 | input.setAttribute( "checked", "checked" ); 16 | input.setAttribute( "name", "t" ); 17 | 18 | div.appendChild( input ); 19 | 20 | // Support: Safari<=5.1, Android<4.2 21 | // Older WebKit doesn't clone checked state correctly in fragments 22 | support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; 23 | 24 | // Support: IE<=11+ 25 | // Make sure textarea (and checkbox) defaultValue is properly cloned 26 | div.innerHTML = ""; 27 | support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; 28 | })(); 29 | 30 | return support; 31 | 32 | }); 33 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/manipulation/var/rcheckableType.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/^(?:checkbox|radio)$/i); 3 | }); 4 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/outro.js: -------------------------------------------------------------------------------- 1 | })); 2 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/queue/delay.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../queue", 4 | "../effects" // Delay is optional because of this dependency 5 | ], function( jQuery ) { 6 | 7 | // Based off of the plugin by Clint Helfers, with permission. 8 | // http://blindsignals.com/index.php/2009/07/jquery-delay/ 9 | jQuery.fn.delay = function( time, type ) { 10 | time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; 11 | type = type || "fx"; 12 | 13 | return this.queue( type, function( next, hooks ) { 14 | var timeout = setTimeout( next, time ); 15 | hooks.stop = function() { 16 | clearTimeout( timeout ); 17 | }; 18 | }); 19 | }; 20 | 21 | return jQuery.fn.delay; 22 | }); 23 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/selector-sizzle.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "sizzle" 4 | ], function( jQuery, Sizzle ) { 5 | 6 | jQuery.find = Sizzle; 7 | jQuery.expr = Sizzle.selectors; 8 | jQuery.expr[":"] = jQuery.expr.pseudos; 9 | jQuery.unique = Sizzle.uniqueSort; 10 | jQuery.text = Sizzle.getText; 11 | jQuery.isXMLDoc = Sizzle.isXML; 12 | jQuery.contains = Sizzle.contains; 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/selector.js: -------------------------------------------------------------------------------- 1 | define([ "./selector-sizzle" ]); 2 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/traversing/var/rneedsContext.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core", 3 | "../../selector" 4 | ], function( jQuery ) { 5 | return jQuery.expr.match.needsContext; 6 | }); 7 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/arr.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return []; 3 | }); 4 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/class2type.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // [[Class]] -> type pairs 3 | return {}; 4 | }); 5 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/concat.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.concat; 5 | }); 6 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/hasOwn.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.hasOwnProperty; 5 | }); 6 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/indexOf.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.indexOf; 5 | }); 6 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/pnum.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; 3 | }); 4 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/push.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.push; 5 | }); 6 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/rnotwhite.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/\S+/g); 3 | }); 4 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/slice.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.slice; 5 | }); 6 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/strundefined.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return typeof undefined; 3 | }); 4 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/support.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // All support tests are defined in their respective modules. 3 | return {}; 4 | }); 5 | -------------------------------------------------------------------------------- /js/vendor/jquery/src/var/toString.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.toString; 5 | }); 6 | -------------------------------------------------------------------------------- /js/vendor/lodash/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lodash", 3 | "version": "2.4.2", 4 | "main": "dist/lodash.compat.js", 5 | "ignore": [ 6 | ".*", 7 | "*.custom.*", 8 | "*.template.*", 9 | "*.map", 10 | "*.md", 11 | "/*.min.*", 12 | "/lodash.js", 13 | "index.js", 14 | "component.json", 15 | "package.json", 16 | "doc", 17 | "modularize", 18 | "node_modules", 19 | "perf", 20 | "test", 21 | "vendor" 22 | ], 23 | "homepage": "https://github.com/lodash/lodash", 24 | "_release": "2.4.2", 25 | "_resolution": { 26 | "type": "version", 27 | "tag": "2.4.2", 28 | "commit": "47289d89e0155462ea6888e6bb2e258dc4daa9d0" 29 | }, 30 | "_source": "https://github.com/lodash/lodash.git", 31 | "_target": ">=1.3.0 <2.5.0", 32 | "_originalSource": "lodash" 33 | } -------------------------------------------------------------------------------- /js/vendor/lodash/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lodash", 3 | "version": "2.4.2", 4 | "main": "dist/lodash.compat.js", 5 | "ignore": [ 6 | ".*", 7 | "*.custom.*", 8 | "*.template.*", 9 | "*.map", 10 | "*.md", 11 | "/*.min.*", 12 | "/lodash.js", 13 | "index.js", 14 | "component.json", 15 | "package.json", 16 | "doc", 17 | "modularize", 18 | "node_modules", 19 | "perf", 20 | "test", 21 | "vendor" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /js/vendor/mdEdit/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mdEdit", 3 | "homepage": "https://github.com/jbt/mdEdit", 4 | "authors": [ 5 | "James Taylor " 6 | ], 7 | "description": "nice syntax-highlighted markdown editor view component", 8 | "main": [ 9 | "mdedit.js", 10 | "mdedit.css" 11 | ], 12 | "moduleType": [ 13 | "amd", 14 | "globals", 15 | "node" 16 | ], 17 | "keywords": [ 18 | "markdown", 19 | "editor", 20 | "highlight" 21 | ], 22 | "license": "MIT", 23 | "ignore": [ 24 | "**/.*", 25 | "node_modules", 26 | "bower_components", 27 | "test", 28 | "tests" 29 | ], 30 | "_release": "4812667576", 31 | "_resolution": { 32 | "type": "branch", 33 | "branch": "master", 34 | "commit": "48126675762e07c7b29576451c24c0cb60ea6ef6" 35 | }, 36 | "_source": "https://github.com/jbt/mdEdit.git", 37 | "_target": "master", 38 | "_originalSource": "https://github.com/jbt/mdEdit.git" 39 | } -------------------------------------------------------------------------------- /js/vendor/mdEdit/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 James Taylor 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /js/vendor/mdEdit/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mdEdit", 3 | "version": "0.1.0", 4 | "homepage": "https://github.com/jbt/mdEdit", 5 | "authors": [ 6 | "James Taylor " 7 | ], 8 | "description": "nice syntax-highlighted markdown editor view component", 9 | "main": ["mdedit.js", "mdedit.css"], 10 | "moduleType": [ 11 | "amd", 12 | "globals", 13 | "node" 14 | ], 15 | "keywords": [ 16 | "markdown", 17 | "editor", 18 | "highlight" 19 | ], 20 | "license": "MIT", 21 | "ignore": [ 22 | "**/.*", 23 | "node_modules", 24 | "bower_components", 25 | "test", 26 | "tests" 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /js/vendor/mdEdit/gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var concat = require('gulp-concat'); 3 | var rename = require('gulp-rename'); 4 | var uglify = require('gulp-uglify'); 5 | var wrap = require('gulp-wrap-umd'); 6 | var del = require('del'); 7 | 8 | gulp.task('build', function(){ 9 | return gulp.src([ 10 | 'src/yaml.js', 11 | 'src/md.js', 12 | 'src/util.js', 13 | 'src/actions.js', 14 | 'src/SelectionManager.js', 15 | 'src/UndoManager.js', 16 | 'src/Editor.js' 17 | ]) 18 | .pipe(concat('mdedit.js')) 19 | .pipe(wrap({ 20 | namespace: 'mdEdit', 21 | deps: [ 22 | { name: 'prismjs', paramName: 'Prism', globalName: 'Prism', amdName: 'prismjs' } 23 | ], 24 | exports: 'Editor' 25 | })) 26 | .pipe(gulp.dest('./')) 27 | .pipe(rename({ suffix: '.min' })) 28 | .pipe(uglify()) 29 | .pipe(gulp.dest('./')); 30 | }); 31 | 32 | gulp.task('clean', function(cb) { 33 | del(['mdedit.js', 'mdedit.min.js'], cb); 34 | }); 35 | -------------------------------------------------------------------------------- /js/vendor/mdEdit/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mdEdit", 3 | "version": "0.1.0", 4 | "description": "nice syntax-highlighted markdown editor view component", 5 | "main": "mdedit.js", 6 | "devDependencies": { 7 | "del": "^2.0.2", 8 | "gulp": "^3.9.0", 9 | "gulp-concat": "^2.6.0", 10 | "gulp-rename": "^1.2.2", 11 | "gulp-uglify": "^1.4.1", 12 | "gulp-wrap-umd": "^0.2.1" 13 | }, 14 | "repository": { 15 | "type": "git", 16 | "url": "https://github.com/jbt/mdEdit" 17 | }, 18 | "keywords": [ 19 | "markdown", 20 | "editor", 21 | "highlight" 22 | ], 23 | "author": "James Taylor ", 24 | "license": "MIT", 25 | "bugs": { 26 | "url": "https://github.com/jbt/mdEdit/issues" 27 | }, 28 | "scripts": { 29 | "build": "gulp build", 30 | "clean": "gulp clean" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /js/vendor/mdEdit/src/util.js: -------------------------------------------------------------------------------- 1 | var evt = { 2 | bind: function(el, evt, fn){ 3 | el.addEventListener(evt, fn, false); 4 | } 5 | }; 6 | 7 | 8 | function spliceString(str, i, remove, add){ 9 | remove = +remove || 0; 10 | add = add || ''; 11 | 12 | return str.slice(0,i) + add + str.slice(i+remove); 13 | } 14 | -------------------------------------------------------------------------------- /js/vendor/prism/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "prism", 3 | "main": [ 4 | "prism.js", 5 | "themes/prism.css" 6 | ], 7 | "homepage": "http://prismjs.com", 8 | "authors": "Lea Verou", 9 | "description": "Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.", 10 | "license": "MIT", 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/PrismJS/prism.git" 14 | }, 15 | "ignore": [ 16 | "**/.*", 17 | "img", 18 | "templates", 19 | "CNAME", 20 | "*.html", 21 | "style.css", 22 | "favicon.png", 23 | "logo.svg", 24 | "download.js", 25 | "prefixfree.min.js", 26 | "utopia.js", 27 | "code.js" 28 | ], 29 | "version": "1.0.1", 30 | "_release": "1.0.1", 31 | "_resolution": { 32 | "type": "version", 33 | "tag": "v1.0.1", 34 | "commit": "ed9d7e354c20a95755af7641e3a2a0c77a713791" 35 | }, 36 | "_source": "https://github.com/LeaVerou/prism.git", 37 | "_target": "~1.0.1", 38 | "_originalSource": "prism" 39 | } -------------------------------------------------------------------------------- /js/vendor/prism/LICENSE: -------------------------------------------------------------------------------- 1 | MIT LICENSE 2 | 3 | Copyright (c) 2012-2013 Lea Verou 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /js/vendor/prism/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "prism", 3 | "main": [ 4 | "prism.js", 5 | "themes/prism.css" 6 | ], 7 | "homepage": "http://prismjs.com", 8 | "authors": "Lea Verou", 9 | "description": "Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.", 10 | "license": "MIT", 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/PrismJS/prism.git" 14 | }, 15 | "ignore": [ 16 | "**/.*", 17 | "img", 18 | "templates", 19 | "CNAME", 20 | "*.html", 21 | "style.css", 22 | "favicon.png", 23 | "logo.svg", 24 | "download.js", 25 | "prefixfree.min.js", 26 | "utopia.js", 27 | "code.js" 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-actionscript.js: -------------------------------------------------------------------------------- 1 | Prism.languages.actionscript = Prism.languages.extend('javascript', { 2 | 'keyword': /\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\b/, 3 | 'operator': /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/ 4 | }); 5 | Prism.languages.actionscript['class-name'].alias = 'function'; 6 | 7 | if (Prism.languages.markup) { 8 | Prism.languages.insertBefore('actionscript', 'string', { 9 | 'xml': { 10 | pattern: /(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\\1|\\?(?!\1)[\w\W])*\2)*\s*\/?>/, 11 | lookbehind: true, 12 | inside: { 13 | rest: Prism.languages.markup 14 | } 15 | } 16 | }); 17 | } -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-actionscript.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.actionscript=Prism.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),Prism.languages.actionscript["class-name"].alias="function",Prism.languages.markup&&Prism.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\\1|\\?(?!\1)[\w\W])*\2)*\s*\/?>/,lookbehind:!0,inside:{rest:Prism.languages.markup}}}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-brainfuck.js: -------------------------------------------------------------------------------- 1 | Prism.languages.brainfuck = { 2 | 'pointer': { 3 | pattern: /<|>/, 4 | alias: 'keyword' 5 | }, 6 | 'increment': { 7 | pattern: /\+/, 8 | alias: 'inserted' 9 | }, 10 | 'decrement': { 11 | pattern: /-/, 12 | alias: 'deleted' 13 | }, 14 | 'branching': { 15 | pattern: /\[|\]/, 16 | alias: 'important' 17 | }, 18 | 'operator': /[.,]/, 19 | 'comment': /\S+/ 20 | }; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-brainfuck.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-c.js: -------------------------------------------------------------------------------- 1 | Prism.languages.c = Prism.languages.extend('clike', { 2 | 'keyword': /\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/, 3 | 'operator': /\-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*\/]/ 4 | }); 5 | 6 | Prism.languages.insertBefore('c', 'string', { 7 | 'macro': { 8 | // allow for multiline macro definitions 9 | // spaces after the # character compile fine with gcc 10 | pattern: /(^\s*)#\s*[a-z]+([^\r\n\\]|\\.|\\(?:\r\n?|\n))*/im, 11 | lookbehind: true, 12 | alias: 'property', 13 | inside: { 14 | // highlight the path of the include statement as a string 15 | 'string': { 16 | pattern: /(#\s*include\s*)(<.+?>|("|')(\\?.)+?\3)/, 17 | lookbehind: true 18 | } 19 | } 20 | } 21 | }); 22 | 23 | delete Prism.languages.c['class-name']; 24 | delete Prism.languages.c['boolean']; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-c.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.c=Prism.languages.extend("clike",{keyword:/\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/\-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*\/]/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+([^\r\n\\]|\\.|\\(?:\r\n?|\n))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(<.+?>|("|')(\\?.)+?\3)/,lookbehind:!0}}}}),delete Prism.languages.c["class-name"],delete Prism.languages.c["boolean"]; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-clike.js: -------------------------------------------------------------------------------- 1 | Prism.languages.clike = { 2 | 'comment': [ 3 | { 4 | pattern: /(^|[^\\])\/\*[\w\W]*?\*\//, 5 | lookbehind: true 6 | }, 7 | { 8 | pattern: /(^|[^\\:])\/\/.*/, 9 | lookbehind: true 10 | } 11 | ], 12 | 'string': /("|')(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, 13 | 'class-name': { 14 | pattern: /((?:(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i, 15 | lookbehind: true, 16 | inside: { 17 | punctuation: /(\.|\\)/ 18 | } 19 | }, 20 | 'keyword': /\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/, 21 | 'boolean': /\b(true|false)\b/, 22 | 'function': /[a-z0-9_]+(?=\()/i, 23 | 'number': /\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/, 24 | 'operator': /[-+]{1,2}|!|<=?|>=?|={1,3}|&{1,2}|\|?\||\?|\*|\/|~|\^|%/, 25 | 'punctuation': /[{}[\];(),.:]/ 26 | }; 27 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-clike.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:/("|')(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,"class-name":{pattern:/((?:(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,"boolean":/\b(true|false)\b/,"function":/[a-z0-9_]+(?=\()/i,number:/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/,operator:/[-+]{1,2}|!|<=?|>=?|={1,3}|&{1,2}|\|?\||\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-cpp.js: -------------------------------------------------------------------------------- 1 | Prism.languages.cpp = Prism.languages.extend('c', { 2 | 'keyword': /\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/, 3 | 'boolean': /\b(true|false)\b/, 4 | 'operator': /[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\->|:{1,2}|={1,2}|\^|~|%|&{1,2}|\|?\||\?|\*|\/|\b(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/ 5 | }); 6 | 7 | Prism.languages.insertBefore('cpp', 'keyword', { 8 | 'class-name': { 9 | pattern: /(class\s+)[a-z0-9_]+/i, 10 | lookbehind: true 11 | } 12 | }); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-cpp.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.cpp=Prism.languages.extend("c",{keyword:/\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,"boolean":/\b(true|false)\b/,operator:/[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\->|:{1,2}|={1,2}|\^|~|%|&{1,2}|\|?\||\?|\*|\/|\b(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/}),Prism.languages.insertBefore("cpp","keyword",{"class-name":{pattern:/(class\s+)[a-z0-9_]+/i,lookbehind:!0}}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-csharp.js: -------------------------------------------------------------------------------- 1 | Prism.languages.csharp = Prism.languages.extend('clike', { 2 | 'keyword': /\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\b/, 3 | 'string': [ 4 | /@("|')(\1\1|\\\1|\\?(?!\1)[\s\S])*\1/, 5 | /("|')(\\?.)*?\1/ 6 | ], 7 | 'number': /\b-?(0x[\da-f]+|\d*\.?\d+)\b/i 8 | }); 9 | 10 | Prism.languages.insertBefore('csharp', 'keyword', { 11 | 'preprocessor': { 12 | pattern: /(^\s*)#.*/m, 13 | lookbehind: true 14 | } 15 | }); 16 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-csharp.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.csharp=Prism.languages.extend("clike",{keyword:/\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\b/,string:[/@("|')(\1\1|\\\1|\\?(?!\1)[\s\S])*\1/,/("|')(\\?.)*?\1/],number:/\b-?(0x[\da-f]+|\d*\.?\d+)\b/i}),Prism.languages.insertBefore("csharp","keyword",{preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0}}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-css-extras.js: -------------------------------------------------------------------------------- 1 | Prism.languages.css.selector = { 2 | pattern: /[^\{\}\s][^\{\}]*(?=\s*\{)/, 3 | inside: { 4 | 'pseudo-element': /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/, 5 | 'pseudo-class': /:[-\w]+(?:\(.*\))?/, 6 | 'class': /\.[-:\.\w]+/, 7 | 'id': /#[-:\.\w]+/ 8 | } 9 | }; 10 | 11 | Prism.languages.insertBefore('css', 'function', { 12 | 'hexcode': /#[\da-f]{3,6}/i, 13 | 'entity': /\\[\da-f]{1,8}/i, 14 | 'number': /[\d%\.]+/ 15 | }); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-css-extras.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.css.selector={pattern:/[^\{\}\s][^\{\}]*(?=\s*\{)/,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+(?:\(.*\))?/,"class":/\.[-:\.\w]+/,id:/#[-:\.\w]+/}},Prism.languages.insertBefore("css","function",{hexcode:/#[\da-f]{3,6}/i,entity:/\\[\da-f]{1,8}/i,number:/[\d%\.]+/}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-css.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/[\w\W]*?<\/style>/i,inside:{tag:{pattern:/|<\/style>/i,inside:Prism.languages.markup.tag.inside},rest:Prism.languages.css},alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag)); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-dart.js: -------------------------------------------------------------------------------- 1 | Prism.languages.dart = Prism.languages.extend('clike', { 2 | 'string': [ 3 | /r?("""|''')[\s\S]*?\1/, 4 | /r?("|')(\\?.)*?\1/ 5 | ], 6 | 'keyword': [ 7 | /\b(?:async|sync|yield)\*/, 8 | /\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|default|deferred|do|dynamic|else|enum|export|external|extends|factory|final|finally|for|get|if|implements|import|in|library|new|null|operator|part|rethrow|return|set|static|super|switch|this|throw|try|typedef|var|void|while|with|yield)\b/ 9 | ], 10 | 'operator': /\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/ 11 | }); 12 | 13 | Prism.languages.insertBefore('dart','function',{ 14 | 'metadata': { 15 | pattern: /@\w+/, 16 | alias: 'symbol' 17 | } 18 | }); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-dart.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.dart=Prism.languages.extend("clike",{string:[/r?("""|''')[\s\S]*?\1/,/r?("|')(\\?.)*?\1/],keyword:[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|default|deferred|do|dynamic|else|enum|export|external|extends|factory|final|finally|for|get|if|implements|import|in|library|new|null|operator|part|rethrow|return|set|static|super|switch|this|throw|try|typedef|var|void|while|with|yield)\b/],operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),Prism.languages.insertBefore("dart","function",{metadata:{pattern:/@\w+/,alias:"symbol"}}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-eiffel.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.eiffel={string:[/"([^[]*)\[[\s\S]+?\]\1"/,/"([^{]*)\{[\s\S]+?\}\1"/,/"(?:%\s+%|%"|.)*?"/],comment:/--.*/,"char":/'(?:%'|.)+?'/,keyword:/\b(?:across|agent|alias|all|and|attached|as|assign|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,"boolean":/\b(?:True|False)\b/i,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?[eE][+-]?)?\d(?:_*\d)*|\d(?:_*\d)*\.?/],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-erlang.js: -------------------------------------------------------------------------------- 1 | Prism.languages.erlang = { 2 | 'comment': /%.+/, 3 | 'string': /"(?:\\?.)*?"/, 4 | 'quoted-function': { 5 | pattern: /'(?:\\.|[^'\\])+'(?=\()/, 6 | alias: 'function' 7 | }, 8 | 'quoted-atom': { 9 | pattern: /'(?:\\.|[^'\\])+'/, 10 | alias: 'atom' 11 | }, 12 | 'boolean': /\b(?:true|false)\b/, 13 | 'keyword': /\b(?:fun|when|case|of|end|if|receive|after|try|catch)\b/, 14 | 'number': [ 15 | /\$\\?./, 16 | /\d+#[a-z0-9]+/i, 17 | /(?:\b|-)\d*\.?\d+([Ee][+-]?\d+)?\b/ 18 | ], 19 | 'function': /\b[a-z][\w@]*(?=\()/, 20 | 'variable': { 21 | // Look-behind is used to prevent wrong highlighting of atoms containing "@" 22 | pattern: /(^|[^@])(?:\b|\?)[A-Z_][\w@]*/, 23 | lookbehind: true 24 | }, 25 | 'operator': [ 26 | /[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:bnot|div|rem|band|bor|bxor|bsl|bsr|not|and|or|xor|orelse|andalso)\b/, 27 | { 28 | // We don't want to match << 29 | pattern: /(^|[^<])<(?!<)/, 30 | lookbehind: true 31 | }, 32 | { 33 | // We don't want to match >> 34 | pattern: /(^|[^>])>(?!>)/, 35 | lookbehind: true 36 | } 37 | ], 38 | 'atom': /\b[a-z][\w@]*/, 39 | 'punctuation': /[()[\]{}:;,.#|]|<<|>>/ 40 | 41 | }; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-erlang.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.erlang={comment:/%.+/,string:/"(?:\\?.)*?"/,"quoted-function":{pattern:/'(?:\\.|[^'\\])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^'\\])+'/,alias:"atom"},"boolean":/\b(?:true|false)\b/,keyword:/\b(?:fun|when|case|of|end|if|receive|after|try|catch)\b/,number:[/\$\\?./,/\d+#[a-z0-9]+/i,/(?:\b|-)\d*\.?\d+([Ee][+-]?\d+)?\b/],"function":/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:bnot|div|rem|band|bor|bxor|bsl|bsr|not|and|or|xor|orelse|andalso)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-fsharp.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.fsharp=Prism.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*[\w\W]*?\*\)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],keyword:/\b(abstract|and|as|assert|base|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|global|if|in|inherit|inline|interface|internal|lazy|let|let!|match|member|module|mutable|namespace|new|not|null|of|open|or|override|private|public|rec|return|return!|select|static|struct|then|to|true|try|type|upcast|use|use!|val|void|when|while|with|yield|yield!|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|include|method|mixin|object|parallel|process|protected|pure|sealed|tailcall|trait|virtual|volatile)\b/,string:/@?("""|"|')((\\|\n)?.)*?\1B?/,preprocessor:/^\s*#.*/m,number:[/\b-?0x[\da-fA-F]+(un|lf|LF)?\b/,/\b-?0b[01]+(y|uy)?\b/,/\b-?(\d+\.|\d*\.?\d+)([fFmM]|[eE][+-]?\d+)?\b/,/\b-?\d+(y|uy|s|us|l|u|ul|L|UL|I)?\b/]}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-git.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.git={comment:/^#.*$/m,string:/("|')(\\?.)*?\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s(--|-)\w+/m}},coord:/^@@.*@@$/m,deleted:/^-(?!-).+$/m,inserted:/^\+(?!\+).+$/m,commit_sha1:/^commit \w{40}$/m}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-go.js: -------------------------------------------------------------------------------- 1 | Prism.languages.go = Prism.languages.extend('clike', { 2 | 'keyword': /\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/, 3 | 'builtin': /\b(bool|byte|complex(64|128)|error|float(32|64)|rune|string|u?int(8|16|32|64|)|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(ln)?|real|recover)\b/, 4 | 'boolean': /\b(_|iota|nil|true|false)\b/, 5 | 'operator': /([(){}\[\]]|[*\/%^!]=?|\+[=+]?|-[>=-]?|\|[=|]?|>[=>]?|<(<|[=-])?|==?|&(&|=|^=?)?|\.(\.\.)?|[,;]|:=?)/, 6 | 'number': /\b(-?(0x[a-f\d]+|(\d+\.?\d*|\.\d+)(e[-+]?\d+)?)i?)\b/i, 7 | 'string': /("|'|`)(\\?.|\r|\n)*?\1/ 8 | }); 9 | delete Prism.languages.go['class-name']; 10 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-go.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.go=Prism.languages.extend("clike",{keyword:/\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,builtin:/\b(bool|byte|complex(64|128)|error|float(32|64)|rune|string|u?int(8|16|32|64|)|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(ln)?|real|recover)\b/,"boolean":/\b(_|iota|nil|true|false)\b/,operator:/([(){}\[\]]|[*\/%^!]=?|\+[=+]?|-[>=-]?|\|[=|]?|>[=>]?|<(<|[=-])?|==?|&(&|=|^=?)?|\.(\.\.)?|[,;]|:=?)/,number:/\b(-?(0x[a-f\d]+|(\d+\.?\d*|\.\d+)(e[-+]?\d+)?)i?)\b/i,string:/("|'|`)(\\?.|\r|\n)*?\1/}),delete Prism.languages.go["class-name"]; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-http.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.http={"request-line":{pattern:/^(POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b\shttps?:\/\/\S+\sHTTP\/[0-9.]+/,inside:{property:/^\b(POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b/,"attr-name":/:\w+/}},"response-status":{pattern:/^HTTP\/1.[01] [0-9]+.*/,inside:{property:/[0-9]+[A-Z\s-]+$/i}},keyword:/^[\w-]+:(?=.+)/m};var httpLanguages={"application/json":Prism.languages.javascript,"application/xml":Prism.languages.markup,"text/xml":Prism.languages.markup,"text/html":Prism.languages.markup};for(var contentType in httpLanguages)if(httpLanguages[contentType]){var options={};options[contentType]={pattern:new RegExp("(content-type:\\s*"+contentType+"[\\w\\W]*?)\\n\\n[\\w\\W]*","i"),lookbehind:!0,inside:{rest:httpLanguages[contentType]}},Prism.languages.insertBefore("http","keyword",options)} -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-ini.js: -------------------------------------------------------------------------------- 1 | Prism.languages.ini= { 2 | 'comment': /^\s*;.*$/m, 3 | 'important': /\[.*?\]/m, 4 | 'constant': /^\s*[^\s=]+?(?=[ \t]*=)/m, 5 | 'attr-value': { 6 | pattern: /=.*/m, 7 | inside: { 8 | 'punctuation': /^[=]/ 9 | } 10 | } 11 | }; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-ini.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.ini={comment:/^\s*;.*$/m,important:/\[.*?\]/m,constant:/^\s*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/m,inside:{punctuation:/^[=]/}}}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-java.js: -------------------------------------------------------------------------------- 1 | Prism.languages.java = Prism.languages.extend('clike', { 2 | 'keyword': /\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/, 3 | 'number': /\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp\-]+\b|\b\d*\.?\d+[e]?[\d]*[df]\b|\b\d*\.?\d+\b/i, 4 | 'operator': { 5 | pattern: /(^|[^\.])(?:\+=|\+\+?|-=|--?|!=?|<{1,2}=?|>{1,3}=?|==?|&=|&&?|\|=|\|\|?|\?|\*=?|\/=?|%=?|\^=?|:|~)/m, 6 | lookbehind: true 7 | } 8 | }); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-java.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.java=Prism.languages.extend("clike",{keyword:/\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/,number:/\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp\-]+\b|\b\d*\.?\d+[e]?[\d]*[df]\b|\b\d*\.?\d+\b/i,operator:{pattern:/(^|[^\.])(?:\+=|\+\+?|-=|--?|!=?|<{1,2}=?|>{1,3}=?|==?|&=|&&?|\|=|\|\|?|\?|\*=?|\/=?|%=?|\^=?|:|~)/m,lookbehind:!0}}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-jsx.js: -------------------------------------------------------------------------------- 1 | (function(Prism) { 2 | 3 | var javascript = Prism.util.clone(Prism.languages.javascript); 4 | 5 | Prism.languages.jsx = Prism.languages.extend('markup', javascript); 6 | Prism.languages.jsx.tag.pattern= /<\/?[\w:-]+\s*(?:\s+[\w:-]+(?:=(?:("|')(\\?[\w\W])*?\1|[^\s'">=]+|(\{[\w\W]*?\})))?\s*)*\/?>/i; 7 | 8 | Prism.languages.jsx.tag.inside['attr-value'].pattern = /=[^\{](?:('|")[\w\W]*?(\1)|[^\s>]+)/i; 9 | 10 | Prism.languages.insertBefore('inside', 'attr-value',{ 11 | 'script': { 12 | pattern: /=(\{[\w\W]*?\})/i, 13 | inside: { 14 | 'function' : Prism.languages.javascript.function, 15 | 'punctuation': /[={}[\];(),.:]/, 16 | 'keyword': Prism.languages.javascript.keyword 17 | }, 18 | 'alias': 'language-javascript' 19 | } 20 | }, Prism.languages.jsx.tag); 21 | 22 | }(Prism)); 23 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-jsx.min.js: -------------------------------------------------------------------------------- 1 | !function(a){var s=a.util.clone(a.languages.javascript);a.languages.jsx=a.languages.extend("markup",s),a.languages.jsx.tag.pattern=/<\/?[\w:-]+\s*(?:\s+[\w:-]+(?:=(?:("|')(\\?[\w\W])*?\1|[^\s'">=]+|(\{[\w\W]*?\})))?\s*)*\/?>/i,a.languages.jsx.tag.inside["attr-value"].pattern=/=[^\{](?:('|")[\w\W]*?(\1)|[^\s>]+)/i,a.languages.insertBefore("inside","attr-value",{script:{pattern:/=(\{[\w\W]*?\})/i,inside:{"function":a.languages.javascript.function,punctuation:/[={}[\];(),.:]/,keyword:a.languages.javascript.keyword},alias:"language-javascript"}},a.languages.jsx.tag)}(Prism); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-julia.js: -------------------------------------------------------------------------------- 1 | Prism.languages.julia= { 2 | 'comment': { 3 | pattern: /(^|[^\\])#.*?(\r?\n|$)/, 4 | lookbehind: true 5 | }, 6 | 'string': /"""[\s\S]+?"""|'''[\s\S]+?'''|("|')(\\?.)*?\1/, 7 | 'keyword' : /\b(abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|let|local|macro|module|print|println|quote|return|try|type|typealias|using|while)\b/, 8 | 'boolean' : /\b(true|false)\b/, 9 | 'number' : /\b-?(0[box])?(?:[\da-f]+\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i, 10 | 'operator' : /[-+]{1,2}|=?<|=?>|!|={1,2}|&{1,2}|\|?\||\?|\*|\/|~|\^|%|\b(or|and|not)\b/, 11 | 'punctuation' : /[{}[\];(),.:]/ 12 | }; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-julia.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.julia={comment:{pattern:/(^|[^\\])#.*?(\r?\n|$)/,lookbehind:!0},string:/"""[\s\S]+?"""|'''[\s\S]+?'''|("|')(\\?.)*?\1/,keyword:/\b(abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|let|local|macro|module|print|println|quote|return|try|type|typealias|using|while)\b/,"boolean":/\b(true|false)\b/,number:/\b-?(0[box])?(?:[\da-f]+\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+]{1,2}|=?<|=?>|!|={1,2}|&{1,2}|\|?\||\?|\*|\/|~|\^|%|\b(or|and|not)\b/,punctuation:/[{}[\];(),.:]/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-keyman.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.keyman={comment:/\bc\s.*/i,"function":/\[\s*((CTRL|SHIFT|ALT|LCTRL|RCTRL|LALT|RALT|CAPS|NCAPS)\s+)*([TKU]_[a-z0-9_?]+|".+?"|'.+?')\s*\]/i,string:/("|')((?!\1).)*\1/,keyword:/\b(any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|return|reset|save|set|store|use)\b/i,atrule:/\b(ansi|begin|unicode|group|using keys|match|nomatch)\b/i,bold:[/&(baselayout|bitmap|capsononly|capsalwaysoff|shiftfreescaps|copyright|ethnologuecode|hotkey|includecodes|keyboardversion|kmw_embedcss|kmw_embedjs|kmw_helpfile|kmw_helptext|kmw_rtl|language|layer|layoutfile|message|mnemoniclayout|name|oldcharposmatching|platform|targets|version|visualkeyboard|windowslanguages)\b/i,/\b(bitmap|bitmaps|caps on only|caps always off|shift frees caps|copyright|hotkey|language|layout|message|name|version)\b/i],number:/\b(U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\,()]/,tag:/\$(keyman|kmfl|weaver|keymanweb|keymanonly):/i}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-latex.js: -------------------------------------------------------------------------------- 1 | Prism.languages.latex = { 2 | 'comment': /%.*?(\r?\n|$)$/m, 3 | 'string': /(\$)(\\?.)*?\1/, 4 | 'punctuation': /[{}]/, 5 | 'selector': /\\[a-z;,:\.]*/i 6 | }; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-latex.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.latex={comment:/%.*?(\r?\n|$)$/m,string:/(\$)(\\?.)*?\1/,punctuation:/[{}]/,selector:/\\[a-z;,:\.]*/i}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-less.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\w\W]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-]+?(?:\([^{}]+\)|[^(){};])*?(?=\s*\{)/i,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\([^{}]*\)|[^{};@])*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(\b|\B)(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,punctuation:/[{}();:,]/,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","punctuation",{"function":Prism.languages.less.function}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-]+.*?(?=[(;])/,lookbehind:!0,alias:"function"}}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-lolcode.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.lolcode={comment:[/\bOBTW\s+[\s\S]*?\s+TLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^"])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]}},number:/(-|\b)\d*\.?\d+/,symbol:{pattern:/(^|\s)(?:A )?(?:YARN|NUMBR|NUMBAR|TROOF|BUKKIT|NOOB)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},"function":{pattern:/((?:^|\s)(?:I IZ|HOW IZ I|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:O HAI IM|KTHX|HAI|KTHXBYE|I HAS A|ITZ(?: A)?|R|AN|MKAY|SMOOSH|MAEK|IS NOW(?: A)?|VISIBLE|GIMMEH|O RLY\?|YA RLY|NO WAI|OIC|MEBBE|WTF\?|OMG|OMGWTF|GTFO|IM IN YR|IM OUTTA YR|FOUND YR|YR|TIL|WILE|UPPIN|NERFIN|I IZ|HOW IZ I|IF U SAY SO|SRS|HAS A|LIEK(?: A)?|IZ)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],"boolean":{pattern:/(^|\s)(?:WIN|FAIL)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)(?:IT)(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:SUM|DIFF|PRODUKT|QUOSHUNT|MOD|BIGGR|SMALLR|BOTH|EITHER|WON|ALL|ANY) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|\u2026|,|!/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-makefile.js: -------------------------------------------------------------------------------- 1 | Prism.languages.makefile = { 2 | 'comment': { 3 | pattern: /(^|[^\\])#(?:\\[\s\S]|.)*/, 4 | lookbehind: true 5 | }, 6 | 'string': /(["'])(?:\\[\s\S]|(?!\1)[^\\\r\n])*\1/, 7 | 8 | // Built-in target names 9 | 'builtin': /\.[A-Z][^:#=\s]+(?=\s*:(?!=))/, 10 | 11 | // Targets 12 | 'symbol': { 13 | pattern: /^[^:=\r\n]+(?=\s*:(?!=))/m, 14 | inside: { 15 | 'variable': /\$+(?:[^(){}:#=\s]+|(?=[({]))/ 16 | } 17 | }, 18 | 'variable': /\$+(?:[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/, 19 | 20 | 'keyword': [ 21 | // Directives 22 | /\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|-?include|override|private|sinclude|undefine|unexport|vpath)\b/, 23 | // Functions 24 | { 25 | pattern: /(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/, 26 | lookbehind: true 27 | } 28 | ], 29 | 'operator': /(?:::|[?:+!])?=|[|@]/, 30 | 'punctuation': /[:;(){}]/ 31 | }; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-makefile.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\[\s\S]|.)*/,lookbehind:!0},string:/(["'])(?:\\[\s\S]|(?!\1)[^\\\r\n])*\1/,builtin:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,symbol:{pattern:/^[^:=\r\n]+(?=\s*:(?!=))/m,inside:{variable:/\$+(?:[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:[/\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|-?include|override|private|sinclude|undefine|unexport|vpath)\b/,{pattern:/(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-markup.js: -------------------------------------------------------------------------------- 1 | Prism.languages.markup = { 2 | 'comment': //, 3 | 'prolog': /<\?[\w\W]+?\?>/, 4 | 'doctype': //, 5 | 'cdata': //i, 6 | 'tag': { 7 | pattern: /<\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i, 8 | inside: { 9 | 'tag': { 10 | pattern: /^<\/?[^\s>\/]+/i, 11 | inside: { 12 | 'punctuation': /^<\/?/, 13 | 'namespace': /^[^\s>\/:]+:/ 14 | } 15 | }, 16 | 'attr-value': { 17 | pattern: /=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i, 18 | inside: { 19 | 'punctuation': /[=>"']/ 20 | } 21 | }, 22 | 'punctuation': /\/?>/, 23 | 'attr-name': { 24 | pattern: /[^\s>\/]+/, 25 | inside: { 26 | 'namespace': /^[^\s>\/:]+:/ 27 | } 28 | } 29 | 30 | } 31 | }, 32 | 'entity': /&#?[\da-z]{1,8};/i 33 | }; 34 | 35 | // Plugin to make entity title show the real entity, idea by Roman Komarov 36 | Prism.hooks.add('wrap', function(env) { 37 | 38 | if (env.type === 'entity') { 39 | env.attributes['title'] = env.content.replace(/&/, '&'); 40 | } 41 | }); 42 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-markup.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.markup={comment://,prolog:/<\?[\w\W]+?\?>/,doctype://,cdata://i,tag:{pattern:/<\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.hooks.add("wrap",function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-matlab.js: -------------------------------------------------------------------------------- 1 | Prism.languages.matlab = { 2 | // We put string before comment, because of printf() patterns that contain "%" 3 | 'string': { 4 | pattern: /(^|\W)'(?:''|[^'\n])*'/, 5 | lookbehind: true 6 | }, 7 | 'comment': [ 8 | /%\{[\s\S]*?\}%/, 9 | /%.+/ 10 | ], 11 | // FIXME We could handle imaginary numbers as a whole 12 | 'number': /\b-?(?:\d*\.?\d+(?:[eE][+-]?\d+)?(?:[ij])?|[ij])\b/, 13 | 'keyword': /\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/, 14 | 'function': /(?!\d)\w+(?=\s*\()/, 15 | 'operator': /\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/, 16 | 'punctuation': /\.{3}|[.,;\[\](){}!]/ 17 | }; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-matlab.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.matlab={string:{pattern:/(^|\W)'(?:''|[^'\n])*'/,lookbehind:!0},comment:[/%\{[\s\S]*?\}%/,/%.+/],number:/\b-?(?:\d*\.?\d+(?:[eE][+-]?\d+)?(?:[ij])?|[ij])\b/,keyword:/\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,"function":/(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-nasm.js: -------------------------------------------------------------------------------- 1 | Prism.languages.nasm = { 2 | 'comment': /;.*$/m, 3 | 'string': /("|'|`)(\\?.)*?\1/m, 4 | 'label': { 5 | pattern: /^\s*[A-Za-z\._\?\$][\w\.\?\$@~#]*:/m, 6 | alias: 'function' 7 | }, 8 | 'keyword': [ 9 | /\[?BITS (16|32|64)\]?/m, 10 | /^\s*section\s*[a-zA-Z\.]+:?/im, 11 | /(?:extern|global)[^;]*/im, 12 | /(?:CPU|FLOAT|DEFAULT).*$/m 13 | ], 14 | 'register': { 15 | pattern: /\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(bp|sp|si|di)|[cdefgs]s)\b/i, 16 | alias: 'variable' 17 | }, 18 | 'number': /(\b|-|(?=\$))(0[hx][\da-f]*\.?[\da-f]+(p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|\d*\.?\d+(\.?e[+-]?\d+)?[dt]?)\b/i, 19 | 'operator': /[\[\]\*+\-\/%<>=&|\$!]/m 20 | }; 21 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-nasm.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.nasm={comment:/;.*$/m,string:/("|'|`)(\\?.)*?\1/m,label:{pattern:/^\s*[A-Za-z\._\?\$][\w\.\?\$@~#]*:/m,alias:"function"},keyword:[/\[?BITS (16|32|64)\]?/m,/^\s*section\s*[a-zA-Z\.]+:?/im,/(?:extern|global)[^;]*/im,/(?:CPU|FLOAT|DEFAULT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(bp|sp|si|di)|[cdefgs]s)\b/i,alias:"variable"},number:/(\b|-|(?=\$))(0[hx][\da-f]*\.?[\da-f]+(p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|\d*\.?\d+(\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]\*+\-\/%<>=&|\$!]/m}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-objectivec.js: -------------------------------------------------------------------------------- 1 | Prism.languages.objectivec = Prism.languages.extend('c', { 2 | 'keyword': /(\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\b)|((?=[\w|@])(@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b)/, 3 | 'string': /(?:("|')([^\n\\\1]|\\.|\\\r*\n)*?\1)|(@"([^\n\\"]|\\.|\\\r*\n)*?")/, 4 | 'operator': /[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\->|={1,2}|\^|~|%|&{1,2}|\|?\||\?|\*|\/|@/ 5 | }); 6 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-objectivec.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.objectivec=Prism.languages.extend("c",{keyword:/(\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\b)|((?=[\w|@])(@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b)/,string:/(?:("|')([^\n\\\1]|\\.|\\\r*\n)*?\1)|(@"([^\n\\"]|\\.|\\\r*\n)*?")/,operator:/[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\->|={1,2}|\^|~|%|&{1,2}|\|?\||\?|\*|\/|@/}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-php-extras.js: -------------------------------------------------------------------------------- 1 | Prism.languages.insertBefore('php', 'variable', { 2 | 'this': /\$this/, 3 | 'global': /\$_?(GLOBALS|SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)/, 4 | 'scope': { 5 | pattern: /\b[\w\\]+::/, 6 | inside: { 7 | keyword: /(static|self|parent)/, 8 | punctuation: /(::|\\)/ 9 | } 10 | } 11 | }); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-php-extras.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.insertBefore("php","variable",{"this":/\$this/,global:/\$_?(GLOBALS|SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/(static|self|parent)/,punctuation:/(::|\\)/}}}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-python.js: -------------------------------------------------------------------------------- 1 | Prism.languages.python= { 2 | 'comment': { 3 | pattern: /(^|[^\\])#.*?(\r?\n|$)/, 4 | lookbehind: true 5 | }, 6 | 'string': /"""[\s\S]+?"""|'''[\s\S]+?'''|("|')(\\?.)*?\1/, 7 | 'function' : { 8 | pattern: /((^|\s)def[ \t]+)([a-zA-Z_][a-zA-Z0-9_]*(?=\())/g, 9 | lookbehind: true 10 | }, 11 | 'keyword' : /\b(as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|with|yield)\b/, 12 | 'boolean' : /\b(True|False)\b/, 13 | 'number' : /\b-?(0[bo])?(?:(\d|0x[a-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i, 14 | 'operator' : /[-+]|<=?|>=?|!|={1,2}|&{1,2}|\|?\||\?|\*|\/|~|\^|%|\b(or|and|not)\b/, 15 | 'punctuation' : /[{}[\];(),.:]/ 16 | }; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-python.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.python={comment:{pattern:/(^|[^\\])#.*?(\r?\n|$)/,lookbehind:!0},string:/"""[\s\S]+?"""|'''[\s\S]+?'''|("|')(\\?.)*?\1/,"function":{pattern:/((^|\s)def[ \t]+)([a-zA-Z_][a-zA-Z0-9_]*(?=\())/g,lookbehind:!0},keyword:/\b(as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|with|yield)\b/,"boolean":/\b(True|False)\b/,number:/\b-?(0[bo])?(?:(\d|0x[a-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+]|<=?|>=?|!|={1,2}|&{1,2}|\|?\||\?|\*|\/|~|\^|%|\b(or|and|not)\b/,punctuation:/[{}[\];(),.:]/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-r.js: -------------------------------------------------------------------------------- 1 | Prism.languages.r = { 2 | 'comment': /#.+/, 3 | 'string': /(['"])(?:\\?.)*?\1/, 4 | 'percent-operator': { 5 | // Includes user-defined operators 6 | // and %%, %*%, %/%, %in%, %o%, %x% 7 | pattern: /%[^%]*?%/, 8 | alias: 'operator' 9 | }, 10 | 'boolean': /\b(?:TRUE|FALSE)\b/, 11 | 'ellipsis': /\.\.(?:\.|\d+)/, 12 | 'number': [ 13 | /\b(?:NaN|Inf)\b/, 14 | /\b(?:0x[\dA-Fa-f]+(?:\.\d*)?|\d*\.?\d+)(?:[EePp][+-]??\d+)?[iL]?\b/ 15 | ], 16 | 'keyword': /\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\b/, 17 | 'operator': /->>?|!=]=?|::?|&&?|\|\|?|[+\-*\/^$@~]/, 18 | 'punctuation': /[(){}\[\],;]/ 19 | }; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-r.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.r={comment:/#.+/,string:/(['"])(?:\\?.)*?\1/,"percent-operator":{pattern:/%[^%]*?%/,alias:"operator"},"boolean":/\b(?:TRUE|FALSE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:NaN|Inf)\b/,/\b(?:0x[\dA-Fa-f]+(?:\.\d*)?|\d*\.?\d+)(?:[EePp][+-]??\d+)?[iL]?\b/],keyword:/\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\b/,operator:/->>?|!=]=?|::?|&&?|\|\|?|[+\-*\/^$@~]/,punctuation:/[(){}\[\],;]/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-rip.js: -------------------------------------------------------------------------------- 1 | Prism.languages.rip = { 2 | 'comment': /#[^\r\n]*(\r?\n|$)/, 3 | 4 | 'keyword': /(?:=>|->)|\b(?:class|if|else|switch|case|return|exit|try|catch|finally|raise)\b/, 5 | 6 | 'builtin': /\b(@|System)\b/, 7 | 8 | 'boolean': /\b(true|false)\b/, 9 | 10 | 'date': /\b\d{4}-\d{2}-\d{2}\b/, 11 | 'time': /\b\d{2}:\d{2}:\d{2}\b/, 12 | 'datetime': /\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/, 13 | 14 | 'number': /[+-]?(?:(?:\d+\.\d+)|(?:\d+))/, 15 | 16 | 'character': /\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/, 17 | 18 | 'regex': { 19 | pattern: /(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/(?=\s*($|[\r\n,.;})]))/, 20 | lookbehind: true 21 | }, 22 | 23 | 'symbol': /:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/, 24 | 'string': /("|')(\\?.)*?\1/, 25 | 26 | 'punctuation': /(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/, 27 | 28 | 'reference': /[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/ 29 | }; 30 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-rip.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.rip={comment:/#[^\r\n]*(\r?\n|$)/,keyword:/(?:=>|->)|\b(?:class|if|else|switch|case|return|exit|try|catch|finally|raise)\b/,builtin:/\b(@|System)\b/,"boolean":/\b(true|false)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,number:/[+-]?(?:(?:\d+\.\d+)|(?:\d+))/,character:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,regex:{pattern:/(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/(?=\s*($|[\r\n,.;})]))/,lookbehind:!0},symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,string:/("|')(\\?.)*?\1/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-ruby.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.ruby=Prism.languages.extend("clike",{comment:/#(?!\{[^\r\n]*?\})[^\r\n]*(\r?\n|$)/,keyword:/\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/,builtin:/\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Fixnum|Fload|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z][a-zA-Z_0-9]*[?!]?\b/}),Prism.languages.insertBefore("ruby","keyword",{regex:{pattern:/(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0},variable:/[@$]+\b[a-zA-Z_][a-zA-Z_0-9]*[?!]?\b/,symbol:/:\b[a-zA-Z_][a-zA-Z_0-9]*[?!]?\b/}),Prism.languages.ruby.string={pattern:/("|')(#\{[^}]+\}|\\\n|\\?.)*?\1/,inside:{interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:Prism.util.clone(Prism.languages.ruby)}}}}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-rust.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.rust={comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*?(\r?\n|$)/,lookbehind:!0}],string:[/b?r(#*)"(?:\\?.)*?"\1/,/b?("|')(?:\\?.)*?\1/],keyword:/\b(?:abstract|alignof|as|be|box|break|const|continue|crate|do|else|enum|extern|false|final|fn|for|if|impl|in|let|loop|match|mod|move|mut|offsetof|once|override|priv|pub|pure|ref|return|sizeof|static|self|struct|super|true|trait|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\b/,attribute:{pattern:/#!?\[.+?\]/,alias:"attr-name"},"function":[/[a-z0-9_]+(?=\s*\()/i,/[a-z0-9_]+!(?=\s*\(|\[)/i],"macro-rules":{pattern:/[a-z0-9_]+!/i,alias:"function"},number:/\b-?(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(\d(_?\d)*)?\.?\d(_?\d)*([Ee][+-]?\d+)?)(?:_?(?:[iu](?:8|16|32)?|f32|f64))?\b/,"closure-params":{pattern:/\|[^|]*\|(?=\s*[{-])/,inside:{punctuation:/[\|:,]/,operator:/[&*]/}},punctuation:/[{}[\];(),.:]|->/,operator:/[-+]{1,2}|!=?|<=?|>=?|={1,3}|&&?|\|\|?|\*|\/|\^|%|<<|>>@/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-sas.js: -------------------------------------------------------------------------------- 1 | Prism.languages.sas = { 2 | 'datalines': { 3 | pattern: /(^|[\r\n])\s*(?:(?:data)?lines|cards);[\s\S]+?[\r\n];/i, 4 | lookbehind: true, 5 | inside: { 6 | 'keyword': { 7 | pattern: /^(\s*)(?:(?:data)?lines|cards)/i, 8 | lookbehind: true 9 | }, 10 | 'punctuation': /;/, 11 | 'data': { 12 | pattern: /[\s\S]+/, 13 | alias: 'string' 14 | } 15 | } 16 | }, 17 | 'comment': [ 18 | { 19 | pattern: /(^\s*|;\s*)\*.*;/m, 20 | lookbehind: true 21 | }, 22 | /\/\*[\s\S]+?\*\// 23 | ], 24 | 'datetime': { 25 | // '1jan2013'd, '9:25:19pm't, '18jan2003:9:27:05am'dt 26 | pattern: /'[^']+'(?:d|d?t)\b/i, 27 | alias: 'number' 28 | }, 29 | 'string': /(["'])(?:\1\1|(?!\1)[\s\S])*\1/, 30 | 'keyword': /\b(?:data|else|format|if|input|proc|run|then)\b/i, 31 | // Decimal (1.2e23), hexadecimal (0c1x) 32 | 'number': /(?:\B-|\b)(?:[\da-f]+x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i, 33 | 'operator': /\*\*|\|\||!!|¦¦|<>|><|[~¬^<>]?=|[*\/+\-<>&\|!¦~¬^]|\b(?:eq|ne|gt|lt|ge|le|in|not)\b/i, 34 | 'punctuation': /[$%@.(){}\[\];,\\]/ 35 | }; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-sas.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.sas={datalines:{pattern:/(^|[\r\n])\s*(?:(?:data)?lines|cards);[\s\S]+?[\r\n];/i,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)(?:(?:data)?lines|cards)/i,lookbehind:!0},punctuation:/;/,data:{pattern:/[\s\S]+/,alias:"string"}}},comment:[{pattern:/(^\s*|;\s*)\*.*;/m,lookbehind:!0},/\/\*[\s\S]+?\*\//],datetime:{pattern:/'[^']+'(?:d|d?t)\b/i,alias:"number"},string:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,keyword:/\b(?:data|else|format|if|input|proc|run|then)\b/i,number:/(?:\B-|\b)(?:[\da-f]+x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i,operator:/\*\*|\|\||!!|¦¦|<>|><|[~¬^<>]?=|[*\/+\-<>&\|!¦~¬^]|\b(?:eq|ne|gt|lt|ge|le|in|not)\b/i,punctuation:/[$%@.(){}\[\];,\\]/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-sass.min.js: -------------------------------------------------------------------------------- 1 | !function(e){e.languages.sass=e.languages.extend("css",{comment:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t]+.+)*/m}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,inside:{atrule:/^(?:[ \t]*)(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var a=/((\$[-_\w]+)|(#\{\$[-_\w]+\}))/i,s=/[-+]{1,2}|==?|!=|\|?\||\?|\*|\/|%/;e.languages.insertBefore("sass","property",{"variable-line":{pattern:/(^|(?:\r?\n|\r))[ \t]*\$.+/,lookbehind:!0,inside:{punctuation:/:/,variable:a,operator:s}},"property-line":{pattern:/(^|(?:\r?\n|\r))[ \t]*(?:[^:\s]+[ ]*:.*|:[^:\s]+.*)/i,lookbehind:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:a,operator:s,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,delete e.languages.sass.selector,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/([ \t]*).+(?:,(?:\r?\n|\r)\1[ \t]+.+)*/,lookbehind:!0}})}(Prism); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-scala.js: -------------------------------------------------------------------------------- 1 | Prism.languages.scala = Prism.languages.extend('java', { 2 | 'keyword': /(<-|=>)|\b(abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/, 3 | 'builtin': /\b(String|Int|Long|Short|Byte|Boolean|Double|Float|Char|Any|AnyRef|AnyVal|Unit|Nothing)\b/, 4 | 'number': /\b0x[\da-f]*\.?[\da-f\-]+\b|\b\d*\.?\d+[e]?[\d]*[dfl]?\b/i, 5 | 'symbol': /'([^\d\s]\w*)/, 6 | 'string': /(""")[\W\w]*?\1|("|\/)[\W\w]*?\2|('.')/ 7 | }); 8 | delete Prism.languages.scala['class-name']; 9 | delete Prism.languages.scala['function']; 10 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-scala.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.scala=Prism.languages.extend("java",{keyword:/(<-|=>)|\b(abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,builtin:/\b(String|Int|Long|Short|Byte|Boolean|Double|Float|Char|Any|AnyRef|AnyVal|Unit|Nothing)\b/,number:/\b0x[\da-f]*\.?[\da-f\-]+\b|\b\d*\.?\d+[e]?[\d]*[dfl]?\b/i,symbol:/'([^\d\s]\w*)/,string:/(""")[\W\w]*?\1|("|\/)[\W\w]*?\2|('.')/}),delete Prism.languages.scala["class-name"],delete Prism.languages.scala["function"]; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-scheme.js: -------------------------------------------------------------------------------- 1 | Prism.languages.scheme = { 2 | 'boolean' : /#(t|f){1}/, 3 | 'comment' : /;.*/, 4 | 'keyword' : { 5 | pattern : /([(])(define(-syntax|-library|-values)?|(case-)?lambda|let(-values|(rec)?(\*)?)?|else|if|cond|begin|delay|delay-force|parameterize|guard|set!|(quasi-)?quote|syntax-rules)/, 6 | lookbehind : true 7 | }, 8 | 'builtin' : { 9 | pattern : /([(])(cons|car|cdr|null\?|pair\?|boolean\?|eof-object\?|char\?|procedure\?|number\?|port\?|string\?|vector\?|symbol\?|bytevector\?|list|call-with-current-continuation|call\/cc|append|abs|apply|eval)\b/, 10 | lookbehind : true 11 | }, 12 | 'string' : /(["])(?:(?=(\\?))\2.)*?\1|'[^('|\s)]+/, //thanks http://stackoverflow.com/questions/171480/regex-grabbing-values-between-quotation-marks 13 | 'number' : /(\s|\))[-+]?[0-9]*\.?[0-9]+((\s*)[-+]{1}(\s*)[0-9]*\.?[0-9]+i)?/, 14 | 'operator': /(\*|\+|\-|%|\/|<=|=>|>=|<|=|>)/, 15 | 'function' : { 16 | pattern : /([(])[^(\s|\))]*\s/, 17 | lookbehind : true 18 | }, 19 | 'punctuation' : /[()]/ 20 | }; 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-scheme.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.scheme={"boolean":/#(t|f){1}/,comment:/;.*/,keyword:{pattern:/([(])(define(-syntax|-library|-values)?|(case-)?lambda|let(-values|(rec)?(\*)?)?|else|if|cond|begin|delay|delay-force|parameterize|guard|set!|(quasi-)?quote|syntax-rules)/,lookbehind:!0},builtin:{pattern:/([(])(cons|car|cdr|null\?|pair\?|boolean\?|eof-object\?|char\?|procedure\?|number\?|port\?|string\?|vector\?|symbol\?|bytevector\?|list|call-with-current-continuation|call\/cc|append|abs|apply|eval)\b/,lookbehind:!0},string:/(["])(?:(?=(\\?))\2.)*?\1|'[^('|\s)]+/,number:/(\s|\))[-+]?[0-9]*\.?[0-9]+((\s*)[-+]{1}(\s*)[0-9]*\.?[0-9]+i)?/,operator:/(\*|\+|\-|%|\/|<=|=>|>=|<|=|>)/,"function":{pattern:/([(])[^(\s|\))]*\s/,lookbehind:!0},punctuation:/[()]/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-scss.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(\/\*[\w\W]*?\*\/|\/\/.*?(\r?\n|$))/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+(\{|;))/i,inside:{rule:/@[\w-]+/}},url:/([-a-z]+-)*url(?=\()/i,selector:{pattern:/([^@;\{\}\(\)]?([^@;\{\}\(\)]|&|#\{\$[-_\w]+\})+)(?=\s*\{(\}|\s|[^\}]+(:|\{)[^\}]+))/m,inside:{placeholder:/%[-_\w]+/i}}}),Prism.languages.insertBefore("scss","atrule",{keyword:/@(if|else if|else|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)|(?=@for\s+\$[-_\w]+\s)+from/i}),Prism.languages.insertBefore("scss","property",{variable:/((\$[-_\w]+)|(#\{\$[-_\w]+\}))/i}),Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-_\w]+/i,alias:"selector"},statement:/\B!(default|optional)\b/i,"boolean":/\b(true|false)\b/,"null":/\b(null)\b/,operator:/\s+([-+]{1,2}|={1,2}|!=|\|?\||\?|\*|\/|%)\s+/}),Prism.languages.scss.atrule.inside.rest=Prism.util.clone(Prism.languages.scss); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-smalltalk.js: -------------------------------------------------------------------------------- 1 | Prism.languages.smalltalk = { 2 | 'comment': /"(?:""|[^"])+"/, 3 | 'string': /'(?:''|[^'])+'/, 4 | 'symbol': /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i, 5 | 'block-arguments': { 6 | pattern: /(\[\s*)(?=:)[^\[|]+?\|/, 7 | lookbehind: true, 8 | inside: { 9 | 'variable': /:[\da-z]+/i, 10 | 'punctuation': /\|/ 11 | } 12 | }, 13 | 'temporary-variables': { 14 | pattern: /\|[^|]+\|/, 15 | inside: { 16 | 'variable': /[\da-z]+/i, 17 | 'punctuation': /\|/ 18 | } 19 | }, 20 | 'keyword': /\b(?:nil|true|false|self|super|new)\b/, 21 | 'character': { 22 | pattern: /\$./, 23 | alias: 'string' 24 | }, 25 | 'number': [ 26 | /\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/, 27 | /(?:\B-|\b)\d+(?:\.\d+)?(?:e-?\d+)?/ 28 | ], 29 | 'operator': /[:=~<>]=|~~|\/\/|\\\\|>>|[!^=<>+\-*\/&|,@]/, 30 | 'punctuation': /[.;:?\[\](){}]/ 31 | }; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-smalltalk.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.smalltalk={comment:/"(?:""|[^"])+"/,string:/'(?:''|[^'])+'/,symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*)(?=:)[^\[|]+?\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:nil|true|false|self|super|new)\b/,character:{pattern:/\$./,alias:"string"},number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/(?:\B-|\b)\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[:=~<>]=|~~|\/\/|\\\\|>>|[!^=<>+\-*\/&|,@]/,punctuation:/[.;:?\[\](){}]/}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-twig.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.twig={comment:/\{#[\s\S]*?#\}/,tag:{pattern:/(\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\})/,inside:{ld:{pattern:/^(\{\{\-?|\{%\-?\s*\w+)/,inside:{punctuation:/^(\{\{|\{%)\-?/,keyword:/\w+/}},rd:{pattern:/\-?(%\}|\}\})$/,inside:{punctuation:/.*/}},string:{pattern:/("|')(\\?.)*?\1/,inside:{punctuation:/^('|")|('|")$/}},keyword:/\b(if)\b/,"boolean":/\b(true|false|null)\b/,number:/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/,operator:/==|=|!=|<|>|>=|<=|\+|\-|~|\*|\/|\/\/|%|\*\*|\|/,"space-operator":{pattern:/(\s)(\b(not|b\-and|b\-xor|b\-or|and|or|in|matches|starts with|ends with|is)\b|\?|:|\?:)(?=\s)/,lookbehind:!0,inside:{operator:/.*/}},property:/\b[a-zA-Z_][a-zA-Z0-9_]*\b/,punctuation:/\(|\)|\[\]|\[|\]|\{|\}|:|\.|,/}},other:{pattern:/[\s\S]*/,inside:Prism.languages.markup}}; -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-typescript.js: -------------------------------------------------------------------------------- 1 | Prism.languages.typescript = Prism.languages.extend('javascript', { 2 | 'keyword': /\b(break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|get|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|set|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield|module|declare|constructor|string|Function|any|number|boolean|Array|enum)\b/ 3 | }); 4 | -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-typescript.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.typescript=Prism.languages.extend("javascript",{keyword:/\b(break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|get|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|set|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield|module|declare|constructor|string|Function|any|number|boolean|Array|enum)\b/}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-wiki.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.wiki=Prism.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+).+?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,4}).+?\1/,inside:{"bold italic":{pattern:/('''').+?(?=\1)/,lookbehind:!0},bold:{pattern:/(''').+?(?=\1)/,lookbehind:!0},italic:{pattern:/('').+?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b/i,/(?:RFC|PMID) +\d+/,/\[\[.+?\]\]/,/\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?}}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:Prism.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),Prism.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[\w\W]*?>[\w\W]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[\w\W]*?>|<\/(?:nowiki|pre|source)>/i,inside:Prism.languages.markup.tag.inside}}}}); -------------------------------------------------------------------------------- /js/vendor/prism/components/prism-yaml.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.yaml={scalar:{pattern:/([\-:]\s*(![^\s]+)?[ \t]*[|>])[ \t]*(?:(\n[ \t]+)[^\r\n]+(?:\3[^\r\n]+)*)/,lookbehind:!0,alias:"string"},comment:/#[^\n]+/,key:{pattern:/(\s*[:\-,[{\n?][ \t]*(![^\s]+)?[ \t]*)[^\n{[\]},#]+?(?=\s*:\s)/,lookbehind:!0,alias:"atrule"},directive:{pattern:/((^|\n)[ \t]*)%[^\n]+/,lookbehind:!0,alias:"important"},datetime:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)(\d{4}-\d\d?-\d\d?([tT]|[ \t]+)\d\d?:\d{2}:\d{2}(\.\d*)?[ \t]*(Z|[-+]\d\d?(:\d{2})?)?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(:\d{2}(\.\d*)?)?)(?=[ \t]*(\n|$|,|]|}))/,lookbehind:!0,alias:"number"},"boolean":{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)(true|false)[ \t]*(?=\n|$|,|]|})/i,lookbehind:!0,alias:"important"},"null":{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)(null|~)[ \t]*(?=\n|$|,|]|})/i,lookbehind:!0,alias:"important"},string:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)("(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')(?=[ \t]*(\n|$|,|]|}))/,lookbehind:!0},number:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)[+\-]?(0x[\dA-Fa-f]+|0o[0-7]+|(\d+\.?\d*|\.?\d+)(e[\+\-]?\d+)?|\.inf|\.nan)[ \t]*(?=\n|$|,|]|})/i,lookbehind:!0},tag:/![^\s]+/,important:/[&*][\w]+/,punctuation:/([:[\]{}\-,|>?]|---|\.\.\.)/}; -------------------------------------------------------------------------------- /js/vendor/prism/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "prismjs", 3 | "version": "0.0.1", 4 | "description": "Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.", 5 | "main": "prism.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/LeaVerou/prism.git" 12 | }, 13 | "keywords": [ 14 | "prism", 15 | "highlight" 16 | ], 17 | "author": "Lea Verou", 18 | "license": "MIT", 19 | "readmeFilename": "README.md", 20 | "devDependencies": { 21 | "gulp": "^3.8.6", 22 | "gulp-concat": "^2.3.4", 23 | "gulp-header": "^1.0.5", 24 | "gulp-rename": "^1.2.0", 25 | "gulp-uglify": "^0.3.1" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /js/vendor/prism/plugins/autolinker/prism-autolinker.css: -------------------------------------------------------------------------------- 1 | .token a { 2 | color: inherit; 3 | } -------------------------------------------------------------------------------- /js/vendor/prism/plugins/autolinker/prism-autolinker.min.js: -------------------------------------------------------------------------------- 1 | !function(){if(self.Prism){var i=/\b([a-z]{3,7}:\/\/|tel:)[\w\-+%~/.:#=?&]+/,n=/\b\S+@[\w.]+[a-z]{2}/,t=/\[([^\]]+)]\(([^)]+)\)/,e=["comment","url","attr-value","string"];for(var a in Prism.languages){var r=Prism.languages[a];Prism.languages.DFS(r,function(a,r,l){e.indexOf(l)>-1&&"Array"!==Prism.util.type(r)&&(r.pattern||(r=this[a]={pattern:r}),r.inside=r.inside||{},"comment"==l&&(r.inside["md-link"]=t),"attr-value"==l?Prism.languages.insertBefore("inside","punctuation",{"url-link":i},r):r.inside["url-link"]=i,r.inside["email-link"]=n)}),r["url-link"]=i,r["email-link"]=n}Prism.hooks.add("wrap",function(i){if(/-link$/.test(i.type)){i.tag="a";var n=i.content;if("email-link"==i.type&&0!=n.indexOf("mailto:"))n="mailto:"+n;else if("md-link"==i.type){var e=i.content.match(t);n=e[2],i.content=e[1]}i.attributes.href=n}})}}(); -------------------------------------------------------------------------------- /js/vendor/prism/plugins/file-highlight/prism-file-highlight.min.js: -------------------------------------------------------------------------------- 1 | !function(){self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(){var e={js:"javascript",html:"markup",svg:"markup",xml:"markup",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell"};Array.prototype.forEach&&Array.prototype.slice.call(document.querySelectorAll("pre[data-src]")).forEach(function(t){for(var r,a=t.getAttribute("data-src"),s=t,n=/\blang(?:uage)?-(?!\*)(\w+)\b/i;s&&!n.test(s.className);)s=s.parentNode;if(s&&(r=(t.className.match(n)||[,""])[1]),!r){var o=(a.match(/\.(\w+)$/)||[,""])[1];r=e[o]||o}var l=document.createElement("code");l.className="language-"+r,t.textContent="",l.textContent="Loading…",t.appendChild(l);var i=new XMLHttpRequest;i.open("GET",a,!0),i.onreadystatechange=function(){4==i.readyState&&(i.status<400&&i.responseText?(l.textContent=i.responseText,Prism.highlightElement(l)):l.textContent=i.status>=400?"✖ Error "+i.status+" while fetching file: "+i.statusText:"✖ Error: File does not exist or is empty")},i.send(null)})},self.Prism.fileHighlight())}(); -------------------------------------------------------------------------------- /js/vendor/prism/plugins/highlight-keywords/prism-highlight-keywords.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | 3 | if (!self.Prism) { 4 | return; 5 | } 6 | 7 | Prism.hooks.add('wrap', function(env) { 8 | if (env.type !== "keyword") { 9 | return; 10 | } 11 | env.classes.push('keyword-' + env.content); 12 | }); 13 | 14 | })(); 15 | -------------------------------------------------------------------------------- /js/vendor/prism/plugins/highlight-keywords/prism-highlight-keywords.min.js: -------------------------------------------------------------------------------- 1 | !function(){self.Prism&&Prism.hooks.add("wrap",function(s){"keyword"===s.type&&s.classes.push("keyword-"+s.content)})}(); -------------------------------------------------------------------------------- /js/vendor/prism/plugins/ie8/prism-ie8.css: -------------------------------------------------------------------------------- 1 | .token a { 2 | color: inherit; 3 | } -------------------------------------------------------------------------------- /js/vendor/prism/plugins/ie8/prism-ie8.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | 3 | if (!window.Prism) { 4 | return; 5 | } 6 | 7 | var dummy = document.createElement('header'); 8 | 9 | if (!String.prototype.trim) { 10 | String.prototype.trim = function () { 11 | return this.replace(/^\s+/g, '').replace(/\s+$/g, ''); 12 | }; 13 | } 14 | 15 | // textContent polyfill 16 | if (!('textContent' in dummy) && ('innerText' in dummy) && Object.defineProperty) { 17 | Object.defineProperty(Element.prototype, 'textContent', { 18 | get: function() { 19 | return this.innerText; 20 | }, 21 | set: function(text) { 22 | this.innerText = text; 23 | } 24 | }); 25 | } 26 | 27 | // IE8 doesn't have DOMContentLoaded 28 | if (!document.addEventListener && 'textContent' in dummy) { 29 | setTimeout(Prism.highlightAll, 10); 30 | } 31 | 32 | // Test if innerHTML line break bug is present 33 | dummy.innerHTML = '\r\n'; 34 | 35 | if (dummy.textContent.indexOf('\n') === -1) { 36 | // IE8 innerHTML bug: Discards line breaks 37 | Prism.hooks.add('after-highlight', function(env) { 38 | env.element.innerHTML = env.highlightedCode.replace(/\r?\n/g, '
'); 39 | }); 40 | } 41 | 42 | })(); -------------------------------------------------------------------------------- /js/vendor/prism/plugins/ie8/prism-ie8.min.js: -------------------------------------------------------------------------------- 1 | !function(){if(window.Prism){var e=document.createElement("header");String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+/g,"").replace(/\s+$/g,"")}),!("textContent"in e)&&"innerText"in e&&Object.defineProperty&&Object.defineProperty(Element.prototype,"textContent",{get:function(){return this.innerText},set:function(e){this.innerText=e}}),!document.addEventListener&&"textContent"in e&&setTimeout(Prism.highlightAll,10),e.innerHTML="\r\n",-1===e.textContent.indexOf("\n")&&Prism.hooks.add("after-highlight",function(e){e.element.innerHTML=e.highlightedCode.replace(/\r?\n/g,"
")})}}(); -------------------------------------------------------------------------------- /js/vendor/prism/plugins/line-numbers/prism-line-numbers.css: -------------------------------------------------------------------------------- 1 | pre.line-numbers { 2 | position: relative; 3 | padding-left: 3.8em; 4 | counter-reset: linenumber; 5 | } 6 | 7 | pre.line-numbers > code { 8 | position: relative; 9 | } 10 | 11 | .line-numbers .line-numbers-rows { 12 | position: absolute; 13 | pointer-events: none; 14 | top: 0; 15 | font-size: 100%; 16 | left: -3.8em; 17 | width: 3em; /* works for line-numbers below 1000 lines */ 18 | letter-spacing: -1px; 19 | border-right: 1px solid #999; 20 | 21 | -webkit-user-select: none; 22 | -moz-user-select: none; 23 | -ms-user-select: none; 24 | user-select: none; 25 | 26 | } 27 | 28 | .line-numbers-rows > span { 29 | pointer-events: none; 30 | display: block; 31 | counter-increment: linenumber; 32 | } 33 | 34 | .line-numbers-rows > span:before { 35 | content: counter(linenumber); 36 | color: #999; 37 | display: block; 38 | padding-right: 0.8em; 39 | text-align: right; 40 | } -------------------------------------------------------------------------------- /js/vendor/prism/plugins/line-numbers/prism-line-numbers.min.js: -------------------------------------------------------------------------------- 1 | Prism.hooks.add("after-highlight",function(e){var t=e.element.parentNode,s=/\s*\bline-numbers\b\s*/;if(t&&/pre/i.test(t.nodeName)&&(s.test(t.className)||s.test(e.element.className))){s.test(e.element.className)&&(e.element.className=e.element.className.replace(s,"")),s.test(t.className)||(t.className+=" line-numbers");var a,n=1+e.code.split("\n").length,l=new Array(n);l=l.join(""),a=document.createElement("span"),a.className="line-numbers-rows",a.innerHTML=l,t.hasAttribute("data-start")&&(t.style.counterReset="linenumber "+(parseInt(t.getAttribute("data-start"),10)-1)),e.element.appendChild(a)}}); -------------------------------------------------------------------------------- /js/vendor/prism/plugins/show-invisibles/prism-show-invisibles.css: -------------------------------------------------------------------------------- 1 | .token.tab:not(:empty):before, 2 | .token.cr:before, 3 | .token.lf:before { 4 | color: hsl(24, 20%, 85%); 5 | } 6 | 7 | .token.tab:not(:empty):before { 8 | content: '\21E5'; 9 | } 10 | 11 | .token.cr:before { 12 | content: '\240D'; 13 | } 14 | 15 | .token.crlf:before { 16 | content: '\240D\240A'; 17 | } 18 | .token.lf:before { 19 | content: '\240A'; 20 | } 21 | -------------------------------------------------------------------------------- /js/vendor/prism/plugins/show-invisibles/prism-show-invisibles.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | 3 | if(!window.Prism) { 4 | return; 5 | } 6 | 7 | for (var language in Prism.languages) { 8 | var tokens = Prism.languages[language]; 9 | 10 | tokens.tab = /\t/g; 11 | tokens.crlf = /\r\n/g; 12 | tokens.lf = /\n/g; 13 | tokens.cr = /\r/g; 14 | } 15 | 16 | })(); 17 | -------------------------------------------------------------------------------- /js/vendor/prism/plugins/show-invisibles/prism-show-invisibles.min.js: -------------------------------------------------------------------------------- 1 | !function(){if(window.Prism)for(var r in Prism.languages){var g=Prism.languages[r];g.tab=/\t/g,g.crlf=/\r\n/g,g.lf=/\n/g,g.cr=/\r/g}}(); -------------------------------------------------------------------------------- /js/vendor/prism/plugins/show-language/prism-show-language.css: -------------------------------------------------------------------------------- 1 | pre[class*='language-'] { 2 | position: relative; 3 | } 4 | pre[class*='language-'][data-language]::before { 5 | content: attr(data-language); 6 | color: black; 7 | background-color: #CFCFCF; 8 | display: inline-block; 9 | position: absolute; 10 | top: 0; 11 | right: 0; 12 | font-size: 0.9em; 13 | border-radius: 0 0 0 5px; 14 | padding: 0 0.5em; 15 | text-shadow: none; 16 | } -------------------------------------------------------------------------------- /js/vendor/prism/plugins/show-language/prism-show-language.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | 3 | if (!self.Prism) { 4 | return; 5 | } 6 | 7 | var Languages = { 8 | 'csharp': 'C#', 9 | 'cpp': 'C++' 10 | }; 11 | Prism.hooks.add('before-highlight', function(env) { 12 | var pre = env.element.parentNode; 13 | if (!pre || !/pre/i.test(pre.nodeName)) { 14 | return; 15 | } 16 | var language = Languages[env.language] || env.language; 17 | pre.setAttribute('data-language', language); 18 | }); 19 | 20 | })(); 21 | -------------------------------------------------------------------------------- /js/vendor/prism/plugins/show-language/prism-show-language.min.css: -------------------------------------------------------------------------------- 1 | pre[class*=language-]{position:relative}pre[class*=language-][data-language]::before{content:attr(data-language);color:#000;background-color:#CFCFCF;display:inline-block;position:absolute;top:0;right:0;font-size:.9em;border-radius:0 0 0 5px;padding:0 .5em;text-shadow:none} -------------------------------------------------------------------------------- /js/vendor/prism/plugins/show-language/prism-show-language.min.js: -------------------------------------------------------------------------------- 1 | !function(){if(self.Prism){var e={csharp:"C#",cpp:"C++"};Prism.hooks.add("before-highlight",function(a){var t=a.element.parentNode;if(t&&/pre/i.test(t.nodeName)){var i=e[a.language]||a.language;t.setAttribute("data-language",i)}})}}(); -------------------------------------------------------------------------------- /js/vendor/prism/plugins/wpd/prism-wpd.css: -------------------------------------------------------------------------------- 1 | code[class*="language-"] a[href], 2 | pre[class*="language-"] a[href] { 3 | cursor: help; 4 | text-decoration: none; 5 | } 6 | 7 | code[class*="language-"] a[href]:hover, 8 | pre[class*="language-"] a[href]:hover { 9 | cursor: help; 10 | text-decoration: underline; 11 | } -------------------------------------------------------------------------------- /js/vendor/restangular/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "restangular", 3 | "version": "1.3.1", 4 | "main": "./dist/restangular.js", 5 | "description": "Restful Resources service for AngularJS apps", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/mgonto/restangular.git" 9 | }, 10 | "dependencies": { 11 | "lodash": ">=1.3.0 <2.5.0", 12 | "angular": "*" 13 | }, 14 | "ignore": [ 15 | "node_modules", 16 | "components", 17 | "lib" 18 | ], 19 | "homepage": "https://github.com/mgonto/restangular", 20 | "_release": "1.3.1", 21 | "_resolution": { 22 | "type": "version", 23 | "tag": "1.3.1", 24 | "commit": "5147a6aecf94cb6633d1dba10fcf730176d5826f" 25 | }, 26 | "_source": "https://github.com/mgonto/restangular.git", 27 | "_target": "1.3.*", 28 | "_originalSource": "restangular" 29 | } -------------------------------------------------------------------------------- /js/vendor/restangular/.gitignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | lib 14 | node_modules 15 | components 16 | bower_components 17 | npm-debug.log 18 | -------------------------------------------------------------------------------- /js/vendor/restangular/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | 5 | before_script: 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start 8 | -------------------------------------------------------------------------------- /js/vendor/restangular/CONTRIBUTE.md: -------------------------------------------------------------------------------- 1 | In order to Contribute just git clone the repository and then run: 2 | 3 | ``` 4 | npm install grunt-cli --global 5 | npm install 6 | grunt 7 | ``` 8 | 9 | Be sure to have PhantomJS installed as Karma tests use it. Otherwise, in mac just run 10 | 11 | ``` 12 | brew install phantomjs 13 | ``` 14 | 15 | All changes must be done in src/restangular.js and then after running grunt all changes will be submited to dist/ 16 | 17 | Please submit a Pull Request or create issues for anything you want :). 18 | -------------------------------------------------------------------------------- /js/vendor/restangular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "restangular", 3 | "version": "1.3.1", 4 | "main": "./dist/restangular.js", 5 | "description": "Restful Resources service for AngularJS apps", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/mgonto/restangular.git" 9 | }, 10 | "dependencies": { 11 | "lodash": ">=1.3.0 <2.5.0", 12 | "angular": "*" 13 | }, 14 | "ignore": [ 15 | "node_modules", 16 | "components", 17 | "lib" 18 | ] 19 | } -------------------------------------------------------------------------------- /js/vendor/restangular/dist/restangular.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owncloud/notes/b5b9cd7e60aa8a2ba4f9b81d597e363ff4fd577b/js/vendor/restangular/dist/restangular.zip -------------------------------------------------------------------------------- /js/vendor/restangular/license.md: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2013 Martin Gontovnikas http://www.gon.to/ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /js/vendor/underscore/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "underscore", 3 | "version": "1.7.0", 4 | "main": "underscore.js", 5 | "keywords": [ 6 | "util", 7 | "functional", 8 | "server", 9 | "client", 10 | "browser" 11 | ], 12 | "ignore": [ 13 | "docs", 14 | "test", 15 | "*.yml", 16 | "CNAME", 17 | "index.html", 18 | "favicon.ico", 19 | "CONTRIBUTING.md" 20 | ], 21 | "homepage": "https://github.com/jashkenas/underscore", 22 | "_release": "1.7.0", 23 | "_resolution": { 24 | "type": "version", 25 | "tag": "1.7.0", 26 | "commit": "da996e665deb0b69b257e80e3e257c04fde4191c" 27 | }, 28 | "_source": "https://github.com/jashkenas/underscore.git", 29 | "_target": "1.7.*", 30 | "_originalSource": "underscore" 31 | } -------------------------------------------------------------------------------- /js/vendor/underscore/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true, 5 | "amd": true 6 | }, 7 | 8 | "rules": { 9 | "brace-style": [1, "1tbs"], 10 | "curly": [0, "multi"], 11 | "eqeqeq": [1, "smart"], 12 | "max-depth": [1, 4], 13 | "max-params": [1, 5], 14 | "new-cap": 2, 15 | "new-parens": 0, 16 | "no-constant-condition": 0, 17 | "no-div-regex": 1, 18 | "no-else-return": 1, 19 | "no-extra-parens": 1, 20 | "no-floating-decimal": 2, 21 | "no-inner-declarations": 2, 22 | "no-lonely-if": 1, 23 | "no-nested-ternary": 2, 24 | "no-new-object": 0, 25 | "no-new-func": 0, 26 | "no-underscore-dangle": 0, 27 | "quotes": [2, "single", "avoid-escape"], 28 | "radix": 2, 29 | "space-after-keywords": [2, "always"], 30 | "space-in-brackets": [2, "never"], 31 | "space-unary-word-ops": 2, 32 | "strict": 0, 33 | "wrap-iife": 2 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /js/vendor/underscore/.gitignore: -------------------------------------------------------------------------------- 1 | raw 2 | node_modules 3 | -------------------------------------------------------------------------------- /js/vendor/underscore/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "underscore", 3 | "version": "1.7.0", 4 | "main": "underscore.js", 5 | "keywords": ["util", "functional", "server", "client", "browser"], 6 | "ignore" : ["docs", "test", "*.yml", "CNAME", "index.html", "favicon.ico", "CONTRIBUTING.md"] 7 | } 8 | -------------------------------------------------------------------------------- /js/vendor/underscore/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "underscore", 3 | "description" : "JavaScript's functional programming helper library.", 4 | "keywords" : ["util", "functional", "server", "client", "browser"], 5 | "repo" : "jashkenas/underscore", 6 | "main" : "underscore.js", 7 | "scripts" : ["underscore.js"], 8 | "version" : "1.7.0", 9 | "license" : "MIT" 10 | } 11 | -------------------------------------------------------------------------------- /l10n/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owncloud/notes/b5b9cd7e60aa8a2ba4f9b81d597e363ff4fd577b/l10n/.gitkeep -------------------------------------------------------------------------------- /l10n/.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | lang_map = ja_JP: ja 4 | 5 | [o:owncloud-org:p:owncloud:r:notes] 6 | file_filter = /notes.po 7 | source_file = templates/notes.pot 8 | source_lang = en 9 | type = PO 10 | -------------------------------------------------------------------------------- /l10n/af_ZA.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nuwe nota", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Nota word tans bewaar. Deur die blad te verlaat word alle veranderinge ontdaan!", 6 | "_%n word_::_%n words_" : ["%n woord","%n woorde"], 7 | "Delete note" : "Skrap nota", 8 | "Favorite" : "Gunsteling" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/af_ZA.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nuwe nota", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Nota word tans bewaar. Deur die blad te verlaat word alle veranderinge ontdaan!", 4 | "_%n word_::_%n words_" : ["%n woord","%n woorde"], 5 | "Delete note" : "Skrap nota", 6 | "Favorite" : "Gunsteling" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/ar.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "ملاحظة جديدة ", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "يتم حفظ الملاحظة حاليًا. سيؤدي مغادرة الصفحة إلى حذف كل التغييرات!", 6 | "Delete note" : "حذف الملاحظة ", 7 | "Favorite" : "المفضلة" 8 | }, 9 | "nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"); 10 | -------------------------------------------------------------------------------- /l10n/ar.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "ملاحظة جديدة ", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "يتم حفظ الملاحظة حاليًا. سيؤدي مغادرة الصفحة إلى حذف كل التغييرات!", 4 | "Delete note" : "حذف الملاحظة ", 5 | "Favorite" : "المفضلة" 6 | },"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;" 7 | } -------------------------------------------------------------------------------- /l10n/ast.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nota nueva", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "La nota ta guardandose. Si de la páxina, ¡van esaniciase tolos cambeos!", 6 | "_%n word_::_%n words_" : ["%n pallabra","%n pallabres"], 7 | "Delete note" : "Desaniciar nota", 8 | "Favorite" : "Favoritu" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/ast.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nota nueva", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "La nota ta guardandose. Si de la páxina, ¡van esaniciase tolos cambeos!", 4 | "_%n word_::_%n words_" : ["%n pallabra","%n pallabres"], 5 | "Delete note" : "Desaniciar nota", 6 | "Favorite" : "Favoritu" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/az.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "Qeydlər", 5 | "New note" : "Yeni qeyd", 6 | "Note is currently saving. Leaving " : "Qeyd hal-hazırda saxlanılır. Tərk olunur", 7 | "Delete note" : "Qeydi sil" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/az.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "Qeydlər", 3 | "New note" : "Yeni qeyd", 4 | "Note is currently saving. Leaving " : "Qeyd hal-hazırda saxlanılır. Tərk olunur", 5 | "Delete note" : "Qeydi sil" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/bg_BG.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Нова бележка", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Бележката се запазва в момента. Напускането на страницата ще изтрие всички промени!", 6 | "_%n word_::_%n words_" : ["%n дума","%n думи"], 7 | "Delete note" : "Изтриване на бележка", 8 | "Favorite" : "Любими" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/bg_BG.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Нова бележка", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Бележката се запазва в момента. Напускането на страницата ще изтрие всички промени!", 4 | "_%n word_::_%n words_" : ["%n дума","%n думи"], 5 | "Delete note" : "Изтриване на бележка", 6 | "Favorite" : "Любими" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/bn_BD.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "নোট", 5 | "New note" : "নতুন নোট", 6 | "Delete note" : "নোট মোছ" 7 | }, 8 | "nplurals=2; plural=(n != 1);"); 9 | -------------------------------------------------------------------------------- /l10n/bn_BD.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "নোট", 3 | "New note" : "নতুন নোট", 4 | "Delete note" : "নোট মোছ" 5 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 6 | } -------------------------------------------------------------------------------- /l10n/bn_IN.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "নোট", 5 | "New note" : "নতুন নোট", 6 | "Delete note" : "নোট মুছে ফেলুন" 7 | }, 8 | "nplurals=2; plural=(n != 1);"); 9 | -------------------------------------------------------------------------------- /l10n/bn_IN.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "নোট", 3 | "New note" : "নতুন নোট", 4 | "Delete note" : "নোট মুছে ফেলুন" 5 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 6 | } -------------------------------------------------------------------------------- /l10n/ca.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "Anotacions", 5 | "New note" : "Nova anotació", 6 | "Note is currently saving. Leaving " : "La nota s'està guardant. Sortir", 7 | "Delete note" : "Esborra l'anotació" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/ca.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "Anotacions", 3 | "New note" : "Nova anotació", 4 | "Note is currently saving. Leaving " : "La nota s'està guardant. Sortir", 5 | "Delete note" : "Esborra l'anotació" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/cs_CZ.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nová poznámka", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Poznámka je právě ukládána. Opuštění stránky smaže všechny změny!", 6 | "_%n word_::_%n words_" : ["%n slovo","%n slova","%n slov","%n slov"], 7 | "Delete note" : "Smazat poznámku", 8 | "Favorite" : "Oblíbené" 9 | }, 10 | "nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"); 11 | -------------------------------------------------------------------------------- /l10n/cs_CZ.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nová poznámka", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Poznámka je právě ukládána. Opuštění stránky smaže všechny změny!", 4 | "_%n word_::_%n words_" : ["%n slovo","%n slova","%n slov","%n slov"], 5 | "Delete note" : "Smazat poznámku", 6 | "Favorite" : "Oblíbené" 7 | },"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;" 8 | } -------------------------------------------------------------------------------- /l10n/da.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Ny note", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Note er i færd med at blive gemt. Forladelde af siden vil slette alle ændringer!", 6 | "_%n word_::_%n words_" : ["%n ord","%n dage"], 7 | "Delete note" : "Slet note", 8 | "Favorite" : "Foretrukken" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/da.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Ny note", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Note er i færd med at blive gemt. Forladelde af siden vil slette alle ændringer!", 4 | "_%n word_::_%n words_" : ["%n ord","%n dage"], 5 | "Delete note" : "Slet note", 6 | "Favorite" : "Foretrukken" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/de.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Neue Notiz", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Notizen werden gerade gespeichert. Das Verlassen der Seite löscht alle Änderungen!", 6 | "_%n word_::_%n words_" : ["%n Wort","%n Wörter"], 7 | "Delete note" : "Notiz löschen", 8 | "Favorite" : "Favorisieren" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/de.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Neue Notiz", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Notizen werden gerade gespeichert. Das Verlassen der Seite löscht alle Änderungen!", 4 | "_%n word_::_%n words_" : ["%n Wort","%n Wörter"], 5 | "Delete note" : "Notiz löschen", 6 | "Favorite" : "Favorisieren" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/de_CH.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Neue Notiz", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Notizen werden gerade gespeichert. Das Verlassen der Seite löscht alle Änderungen!", 6 | "_%n word_::_%n words_" : ["%n Wort","%n Wörter"], 7 | "Delete note" : "Notiz löschen", 8 | "Favorite" : "Favorisieren" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/de_CH.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Neue Notiz", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Notizen werden gerade gespeichert. Das Verlassen der Seite löscht alle Änderungen!", 4 | "_%n word_::_%n words_" : ["%n Wort","%n Wörter"], 5 | "Delete note" : "Notiz löschen", 6 | "Favorite" : "Favorisieren" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/de_DE.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Neue Notiz", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Notizen werden gerade gespeichert. Das Verlassen der Seite löscht alle Änderungen!", 6 | "_%n word_::_%n words_" : ["%n Wort","%n Wörter"], 7 | "Delete note" : "Notiz löschen", 8 | "Favorite" : "Favorit" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/de_DE.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Neue Notiz", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Notizen werden gerade gespeichert. Das Verlassen der Seite löscht alle Änderungen!", 4 | "_%n word_::_%n words_" : ["%n Wort","%n Wörter"], 5 | "Delete note" : "Notiz löschen", 6 | "Favorite" : "Favorit" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/el.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Νέα σημείωση", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Σημείωση προς το παρόν είναι η αποταμίευση. Αφήστε τη σελίδα θα διαγράψει όλες τις αλλαγές!", 6 | "_%n word_::_%n words_" : ["%n λέξη","%n λέξεις"], 7 | "Delete note" : "Διαγραφή σημείωσης", 8 | "Favorite" : "Αγαπημένο" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/el.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Νέα σημείωση", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Σημείωση προς το παρόν είναι η αποταμίευση. Αφήστε τη σελίδα θα διαγράψει όλες τις αλλαγές!", 4 | "_%n word_::_%n words_" : ["%n λέξη","%n λέξεις"], 5 | "Delete note" : "Διαγραφή σημείωσης", 6 | "Favorite" : "Αγαπημένο" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/en_GB.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "New note", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Note is currently saving. Leaving the page will delete all changes!", 6 | "_%n word_::_%n words_" : ["%n word","%n words"], 7 | "Delete note" : "Delete note", 8 | "Favorite" : "Favourite" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/en_GB.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "New note", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Note is currently saving. Leaving the page will delete all changes!", 4 | "_%n word_::_%n words_" : ["%n word","%n words"], 5 | "Delete note" : "Delete note", 6 | "Favorite" : "Favourite" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/eo.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nova noto", 5 | "_%n word_::_%n words_" : ["%n vorto","%n vortoj"], 6 | "Delete note" : "Forigi noton", 7 | "Favorite" : "Favorato" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/eo.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nova noto", 3 | "_%n word_::_%n words_" : ["%n vorto","%n vortoj"], 4 | "Delete note" : "Forigi noton", 5 | "Favorite" : "Favorato" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/es.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nueva nota", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Note está guardando la información. Si cierra esta página SE BORRARÁN los cambios.", 6 | "_%n word_::_%n words_" : ["%n palabra","%n palabras","%n palabras"], 7 | "Delete note" : "Eliminar nota", 8 | "Favorite" : "Favorito" 9 | }, 10 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 11 | -------------------------------------------------------------------------------- /l10n/es.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nueva nota", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Note está guardando la información. Si cierra esta página SE BORRARÁN los cambios.", 4 | "_%n word_::_%n words_" : ["%n palabra","%n palabras","%n palabras"], 5 | "Delete note" : "Eliminar nota", 6 | "Favorite" : "Favorito" 7 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 8 | } -------------------------------------------------------------------------------- /l10n/es_AR.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "Notas", 5 | "New note" : "Nueva nota.", 6 | "Delete note" : "Borrar nota" 7 | }, 8 | "nplurals=2; plural=(n != 1);"); 9 | -------------------------------------------------------------------------------- /l10n/es_AR.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "Notas", 3 | "New note" : "Nueva nota.", 4 | "Delete note" : "Borrar nota" 5 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 6 | } -------------------------------------------------------------------------------- /l10n/es_MX.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nueva nota", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "La nota se está guardando. Al salir de la página se perderán todos los cambios!", 6 | "_%n word_::_%n words_" : ["%n palabra","%n palabras","%n palabras"], 7 | "Delete note" : "Eliminar nota", 8 | "Favorite" : "Favorito" 9 | }, 10 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 11 | -------------------------------------------------------------------------------- /l10n/es_MX.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nueva nota", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "La nota se está guardando. Al salir de la página se perderán todos los cambios!", 4 | "_%n word_::_%n words_" : ["%n palabra","%n palabras","%n palabras"], 5 | "Delete note" : "Eliminar nota", 6 | "Favorite" : "Favorito" 7 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 8 | } -------------------------------------------------------------------------------- /l10n/et_EE.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Uus märge", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Märget salvestatakse. Lehelt lahkumine kustutab kõik muudatused!", 6 | "_%n word_::_%n words_" : ["%n sõna","%n sõna"], 7 | "Delete note" : "Kustuta märge", 8 | "Favorite" : "Lemmik" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/et_EE.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Uus märge", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Märget salvestatakse. Lehelt lahkumine kustutab kõik muudatused!", 4 | "_%n word_::_%n words_" : ["%n sõna","%n sõna"], 5 | "Delete note" : "Kustuta märge", 6 | "Favorite" : "Lemmik" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/eu.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "Oharrak", 5 | "New note" : "Ohar berria", 6 | "Delete note" : "Ezabatu oharra" 7 | }, 8 | "nplurals=2; plural=(n != 1);"); 9 | -------------------------------------------------------------------------------- /l10n/eu.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "Oharrak", 3 | "New note" : "Ohar berria", 4 | "Delete note" : "Ezabatu oharra" 5 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 6 | } -------------------------------------------------------------------------------- /l10n/fa.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "یادداشت جدید", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "یادداشت در حال ذخیره‌شدن است. خروج از صفحه باعث از بین رفتن تغییرات انجام شده می‌شود.", 6 | "_%n word_::_%n words_" : ["%n کلمه","%n کلمه"], 7 | "Delete note" : "حذف یادداشت", 8 | "Favorite" : "برگزیده" 9 | }, 10 | "nplurals=2; plural=(n > 1);"); 11 | -------------------------------------------------------------------------------- /l10n/fa.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "یادداشت جدید", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "یادداشت در حال ذخیره‌شدن است. خروج از صفحه باعث از بین رفتن تغییرات انجام شده می‌شود.", 4 | "_%n word_::_%n words_" : ["%n کلمه","%n کلمه"], 5 | "Delete note" : "حذف یادداشت", 6 | "Favorite" : "برگزیده" 7 | },"pluralForm" :"nplurals=2; plural=(n > 1);" 8 | } -------------------------------------------------------------------------------- /l10n/fi_FI.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Uusi muistio", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Muistiota tallennetaan parhaillaan. Tältä sivulta poistuminen poistaa kaikki muutokset!", 6 | "_%n word_::_%n words_" : ["%n sana","%n sanaa"], 7 | "Delete note" : "Poista muistio", 8 | "Favorite" : "Suosikit" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/fi_FI.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Uusi muistio", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Muistiota tallennetaan parhaillaan. Tältä sivulta poistuminen poistaa kaikki muutokset!", 4 | "_%n word_::_%n words_" : ["%n sana","%n sanaa"], 5 | "Delete note" : "Poista muistio", 6 | "Favorite" : "Suosikit" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/fr.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nouvelle note", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Note en cours de sauvegarde. Quitter la page supprimera tous les changements !", 6 | "_%n word_::_%n words_" : ["%n mot","%n mots","%n mots"], 7 | "Delete note" : "Supprimer la note", 8 | "Favorite" : "Ajouter aux favoris" 9 | }, 10 | "nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 11 | -------------------------------------------------------------------------------- /l10n/fr.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nouvelle note", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Note en cours de sauvegarde. Quitter la page supprimera tous les changements !", 4 | "_%n word_::_%n words_" : ["%n mot","%n mots","%n mots"], 5 | "Delete note" : "Supprimer la note", 6 | "Favorite" : "Ajouter aux favoris" 7 | },"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 8 | } -------------------------------------------------------------------------------- /l10n/gl.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nova nota", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Agora está gardando a nota. Abandonar a páxina eliminará todos os cambios.", 6 | "_%n word_::_%n words_" : ["%n palabra","%n palabras"], 7 | "Delete note" : "Eliminar nota", 8 | "Favorite" : "Favorito" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/gl.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nova nota", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Agora está gardando a nota. Abandonar a páxina eliminará todos os cambios.", 4 | "_%n word_::_%n words_" : ["%n palabra","%n palabras"], 5 | "Delete note" : "Eliminar nota", 6 | "Favorite" : "Favorito" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/he.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "הערה חדשה", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "הערה נשמרת ברגע זה. יציאה מהדף תמחק את כל השינויים!", 6 | "_%n word_::_%n words_" : ["%n מילה","%n מילים","%n מילים"], 7 | "Delete note" : "מחיקת הערה", 8 | "Favorite" : "מועדף" 9 | }, 10 | "nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;"); 11 | -------------------------------------------------------------------------------- /l10n/he.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "הערה חדשה", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "הערה נשמרת ברגע זה. יציאה מהדף תמחק את כל השינויים!", 4 | "_%n word_::_%n words_" : ["%n מילה","%n מילים","%n מילים"], 5 | "Delete note" : "מחיקת הערה", 6 | "Favorite" : "מועדף" 7 | },"pluralForm" :"nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;" 8 | } -------------------------------------------------------------------------------- /l10n/hr.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nova bilješka", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Bilješka je trenutno spremljena. Napuštanjem ove stranice obrisati će sve promjene!", 6 | "_%n word_::_%n words_" : ["%n riječ","%n riječi","%n riječi"], 7 | "Delete note" : "Obriši bilješku", 8 | "Favorite" : "Favorit" 9 | }, 10 | "nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;"); 11 | -------------------------------------------------------------------------------- /l10n/hr.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nova bilješka", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Bilješka je trenutno spremljena. Napuštanjem ove stranice obrisati će sve promjene!", 4 | "_%n word_::_%n words_" : ["%n riječ","%n riječi","%n riječi"], 5 | "Delete note" : "Obriši bilješku", 6 | "Favorite" : "Favorit" 7 | },"pluralForm" :"nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;" 8 | } -------------------------------------------------------------------------------- /l10n/hu_HU.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Új jegyzet", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "A jegyzet jelenleg mentés alatt van. Az oldal elhagyása törli az összes változtatást!", 6 | "_%n word_::_%n words_" : ["%n szó","%n szó"], 7 | "Delete note" : "Jegyzet törlése", 8 | "Favorite" : "Kedvenc" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/hu_HU.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Új jegyzet", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "A jegyzet jelenleg mentés alatt van. Az oldal elhagyása törli az összes változtatást!", 4 | "_%n word_::_%n words_" : ["%n szó","%n szó"], 5 | "Delete note" : "Jegyzet törlése", 6 | "Favorite" : "Kedvenc" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/hy.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Նոր նոթ", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Նոթը այժմ պահվում է: Էջը լքելը կչեղարկի բոլոր փոփոխությունները:", 6 | "_%n word_::_%n words_" : ["%n բառ","%n բառ"], 7 | "Delete note" : "Ջնջել նոթը", 8 | "Favorite" : "Սիրված" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/hy.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Նոր նոթ", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Նոթը այժմ պահվում է: Էջը լքելը կչեղարկի բոլոր փոփոխությունները:", 4 | "_%n word_::_%n words_" : ["%n բառ","%n բառ"], 5 | "Delete note" : "Ջնջել նոթը", 6 | "Favorite" : "Սիրված" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/ia.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "Notas", 5 | "New note" : "Nove nota", 6 | "Delete note" : "Dele nota" 7 | }, 8 | "nplurals=2; plural=(n != 1);"); 9 | -------------------------------------------------------------------------------- /l10n/ia.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "Notas", 3 | "New note" : "Nove nota", 4 | "Delete note" : "Dele nota" 5 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 6 | } -------------------------------------------------------------------------------- /l10n/id.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Catatan baru", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Catatan saat ini sedang disimpan. Meninggalkan halaman akan menghapus semua perubahan!", 6 | "_%n word_::_%n words_" : ["%n kata"], 7 | "Delete note" : "Hapus catatan", 8 | "Favorite" : "Favorit" 9 | }, 10 | "nplurals=1; plural=0;"); 11 | -------------------------------------------------------------------------------- /l10n/id.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Catatan baru", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Catatan saat ini sedang disimpan. Meninggalkan halaman akan menghapus semua perubahan!", 4 | "_%n word_::_%n words_" : ["%n kata"], 5 | "Delete note" : "Hapus catatan", 6 | "Favorite" : "Favorit" 7 | },"pluralForm" :"nplurals=1; plural=0;" 8 | } -------------------------------------------------------------------------------- /l10n/ignorelist: -------------------------------------------------------------------------------- 1 | js/vendor/jquery-ui/ui/minified/jquery-ui.min.js 2 | js/vendor/jquery-ui/ui/minified/jquery.ui.autocomplete.min.js 3 | js/vendor/lodash/dist/lodash.compat.js 4 | js/vendor/lodash/dist/lodash.js 5 | js/vendor/lodash/dist/lodash.underscore.js 6 | js/vendor/lodash/lodash.js 7 | js/vendor/lodash/dist/lodash.compat.min.js 8 | js/vendor/underscore/test/utility.js 9 | 10 | -------------------------------------------------------------------------------- /l10n/is.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nýr minnispunktur", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Minnispunktur er nú að vistast. Ef farið er af síðunni munu allar breytingar eyðast!", 6 | "_%n word_::_%n words_" : ["%n orð","%n orð"], 7 | "Delete note" : "Eyða minnispunkti", 8 | "Favorite" : "Eftirlæti" 9 | }, 10 | "nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);"); 11 | -------------------------------------------------------------------------------- /l10n/is.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nýr minnispunktur", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Minnispunktur er nú að vistast. Ef farið er af síðunni munu allar breytingar eyðast!", 4 | "_%n word_::_%n words_" : ["%n orð","%n orð"], 5 | "Delete note" : "Eyða minnispunkti", 6 | "Favorite" : "Eftirlæti" 7 | },"pluralForm" :"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);" 8 | } -------------------------------------------------------------------------------- /l10n/it.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nuova nota", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "La nota è in corso di salvataggio. Uscita. Se lasci la pagina perderai tutte le modifiche!", 6 | "_%n word_::_%n words_" : ["%n parola","%n parole","%n parole"], 7 | "Delete note" : "Elimina nota", 8 | "Favorite" : "Preferito" 9 | }, 10 | "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 11 | -------------------------------------------------------------------------------- /l10n/it.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nuova nota", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "La nota è in corso di salvataggio. Uscita. Se lasci la pagina perderai tutte le modifiche!", 4 | "_%n word_::_%n words_" : ["%n parola","%n parole","%n parole"], 5 | "Delete note" : "Elimina nota", 6 | "Favorite" : "Preferito" 7 | },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 8 | } -------------------------------------------------------------------------------- /l10n/ja.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "新しいノート", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "ノートを保存しています。このページから移動すると全ての変更が失われます!", 6 | "_%n word_::_%n words_" : ["%n 単語"], 7 | "Delete note" : "ノートを削除", 8 | "Favorite" : "お気に入り" 9 | }, 10 | "nplurals=1; plural=0;"); 11 | -------------------------------------------------------------------------------- /l10n/ja.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "新しいノート", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "ノートを保存しています。このページから移動すると全ての変更が失われます!", 4 | "_%n word_::_%n words_" : ["%n 単語"], 5 | "Delete note" : "ノートを削除", 6 | "Favorite" : "お気に入り" 7 | },"pluralForm" :"nplurals=1; plural=0;" 8 | } -------------------------------------------------------------------------------- /l10n/km.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "កំណត់​ចំណាំ", 5 | "New note" : "កំណត់​ចំណាំ​ថ្មី", 6 | "Delete note" : "លុប​កំណត់​ចំណាំ" 7 | }, 8 | "nplurals=1; plural=0;"); 9 | -------------------------------------------------------------------------------- /l10n/km.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "កំណត់​ចំណាំ", 3 | "New note" : "កំណត់​ចំណាំ​ថ្មី", 4 | "Delete note" : "លុប​កំណត់​ចំណាំ" 5 | },"pluralForm" :"nplurals=1; plural=0;" 6 | } -------------------------------------------------------------------------------- /l10n/ko.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "새 메모", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "메모를 저장하고 있습니다. 페이지에서 나가면 모든 변경 사항이 삭제됩니다!", 6 | "_%n word_::_%n words_" : ["단어 %n개"], 7 | "Delete note" : "메모 삭제", 8 | "Favorite" : "즐겨찾기" 9 | }, 10 | "nplurals=1; plural=0;"); 11 | -------------------------------------------------------------------------------- /l10n/ko.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "새 메모", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "메모를 저장하고 있습니다. 페이지에서 나가면 모든 변경 사항이 삭제됩니다!", 4 | "_%n word_::_%n words_" : ["단어 %n개"], 5 | "Delete note" : "메모 삭제", 6 | "Favorite" : "즐겨찾기" 7 | },"pluralForm" :"nplurals=1; plural=0;" 8 | } -------------------------------------------------------------------------------- /l10n/ku_IQ.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "تێبینیەکان", 5 | "New note" : "تێبينيى نوێ", 6 | "Delete note" : "سڕینه‌وه‌ی تێبينيى" 7 | }, 8 | "nplurals=2; plural=(n != 1);"); 9 | -------------------------------------------------------------------------------- /l10n/ku_IQ.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "تێبینیەکان", 3 | "New note" : "تێبينيى نوێ", 4 | "Delete note" : "سڕینه‌وه‌ی تێبينيى" 5 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 6 | } -------------------------------------------------------------------------------- /l10n/lt_LT.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nauja pastaba", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Užrašas išsaugomas. Jei uždarysite šį puslapį, pakeitimai bus prarasti!", 6 | "_%n word_::_%n words_" : ["%n žodis","%n žodžių","%n žodžių","%n žodžių"], 7 | "Delete note" : "Ištrinti pastabą", 8 | "Favorite" : "Mėgiamas" 9 | }, 10 | "nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);"); 11 | -------------------------------------------------------------------------------- /l10n/lt_LT.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nauja pastaba", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Užrašas išsaugomas. Jei uždarysite šį puslapį, pakeitimai bus prarasti!", 4 | "_%n word_::_%n words_" : ["%n žodis","%n žodžių","%n žodžių","%n žodžių"], 5 | "Delete note" : "Ištrinti pastabą", 6 | "Favorite" : "Mėgiamas" 7 | },"pluralForm" :"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);" 8 | } -------------------------------------------------------------------------------- /l10n/lv.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Jauna piezīme", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Piezīme pašlaik tiek saglabāta. Pametot lapu, visas izmaiņas tiks izdzēstas!", 6 | "_%n word_::_%n words_" : ["%n vārdu","%n vārds","%n vārdi"], 7 | "Delete note" : "Dzēst piezīmi", 8 | "Favorite" : "Iecienītais" 9 | }, 10 | "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);"); 11 | -------------------------------------------------------------------------------- /l10n/lv.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Jauna piezīme", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Piezīme pašlaik tiek saglabāta. Pametot lapu, visas izmaiņas tiks izdzēstas!", 4 | "_%n word_::_%n words_" : ["%n vārdu","%n vārds","%n vārdi"], 5 | "Delete note" : "Dzēst piezīmi", 6 | "Favorite" : "Iecienītais" 7 | },"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);" 8 | } -------------------------------------------------------------------------------- /l10n/mk.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Нова белешка", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Забелешката во моментов се зачувува. Заминувањето од страницава ќе ги избрише сите промени!", 6 | "_%n word_::_%n words_" : ["%n збор","%n зборови"], 7 | "Delete note" : "Избриши белешка", 8 | "Favorite" : "Омилен" 9 | }, 10 | "nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"); 11 | -------------------------------------------------------------------------------- /l10n/mk.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Нова белешка", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Забелешката во моментов се зачувува. Заминувањето од страницава ќе ги избрише сите промени!", 4 | "_%n word_::_%n words_" : ["%n збор","%n зборови"], 5 | "Delete note" : "Избриши белешка", 6 | "Favorite" : "Омилен" 7 | },"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;" 8 | } -------------------------------------------------------------------------------- /l10n/mn.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "Тэмдэглэгээ", 5 | "New note" : "Шинэ тэмдэглэгээ", 6 | "Delete note" : "Тэмдэглэгээ устгах" 7 | }, 8 | "nplurals=2; plural=(n != 1);"); 9 | -------------------------------------------------------------------------------- /l10n/mn.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "Тэмдэглэгээ", 3 | "New note" : "Шинэ тэмдэглэгээ", 4 | "Delete note" : "Тэмдэглэгээ устгах" 5 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 6 | } -------------------------------------------------------------------------------- /l10n/ms_MY.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "Nota", 5 | "New note" : "Note baharu", 6 | "Delete note" : "Hapus nota" 7 | }, 8 | "nplurals=1; plural=0;"); 9 | -------------------------------------------------------------------------------- /l10n/ms_MY.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "Nota", 3 | "New note" : "Note baharu", 4 | "Delete note" : "Hapus nota" 5 | },"pluralForm" :"nplurals=1; plural=0;" 6 | } -------------------------------------------------------------------------------- /l10n/nb_NO.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nytt notat", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Notatet lagres. Alle endringer blir forkastet hvis du forlater siden!", 6 | "_%n word_::_%n words_" : ["%n ord","%n ord"], 7 | "Delete note" : "Slett notat", 8 | "Favorite" : "Gjør til favoritt" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/nb_NO.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nytt notat", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Notatet lagres. Alle endringer blir forkastet hvis du forlater siden!", 4 | "_%n word_::_%n words_" : ["%n ord","%n ord"], 5 | "Delete note" : "Slett notat", 6 | "Favorite" : "Gjør til favoritt" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/nl.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nieuwe notitie", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Notitie wordt opgeslagen. Bij het verlaten van de pagina worden alle wijzigingen verwijderd!", 6 | "_%n word_::_%n words_" : ["%n woord","%n woorden"], 7 | "Delete note" : "Verwijder notitie", 8 | "Favorite" : "Favoriet" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/nl.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nieuwe notitie", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Notitie wordt opgeslagen. Bij het verlaten van de pagina worden alle wijzigingen verwijderd!", 4 | "_%n word_::_%n words_" : ["%n woord","%n woorden"], 5 | "Delete note" : "Verwijder notitie", 6 | "Favorite" : "Favoriet" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/nn_NO.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nytt notat", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Lagring av notat pågår. Hvis du forlet sida no vil alle endringar slettast!", 6 | "_%n word_::_%n words_" : ["%n ord","%n ord"], 7 | "Delete note" : "Slett notat", 8 | "Favorite" : "Favoritt" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/nn_NO.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nytt notat", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Lagring av notat pågår. Hvis du forlet sida no vil alle endringar slettast!", 4 | "_%n word_::_%n words_" : ["%n ord","%n ord"], 5 | "Delete note" : "Slett notat", 6 | "Favorite" : "Favoritt" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/oc.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nòta novèla", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Nòta en cors de salvament. Quitar la pagina suprimirà totes los cambiaments !", 6 | "_%n word_::_%n words_" : ["%n mot","%n mots"], 7 | "Delete note" : "Suprimir la nòta", 8 | "Favorite" : "Apondre als favorits" 9 | }, 10 | "nplurals=2; plural=(n > 1);"); 11 | -------------------------------------------------------------------------------- /l10n/oc.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nòta novèla", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Nòta en cors de salvament. Quitar la pagina suprimirà totes los cambiaments !", 4 | "_%n word_::_%n words_" : ["%n mot","%n mots"], 5 | "Delete note" : "Suprimir la nòta", 6 | "Favorite" : "Apondre als favorits" 7 | },"pluralForm" :"nplurals=2; plural=(n > 1);" 8 | } -------------------------------------------------------------------------------- /l10n/pl.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nowa notatka", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Notatka jest obecnie zapisywana. Opuszczenie strony spowoduje usunięciem wszystkich danych!", 6 | "_%n word_::_%n words_" : ["%n słowo","%n słowa","%n słów","%n słów"], 7 | "Delete note" : "Usuń notatkę", 8 | "Favorite" : "Ulubione" 9 | }, 10 | "nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);"); 11 | -------------------------------------------------------------------------------- /l10n/pl.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nowa notatka", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Notatka jest obecnie zapisywana. Opuszczenie strony spowoduje usunięciem wszystkich danych!", 4 | "_%n word_::_%n words_" : ["%n słowo","%n słowa","%n słów","%n słów"], 5 | "Delete note" : "Usuń notatkę", 6 | "Favorite" : "Ulubione" 7 | },"pluralForm" :"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);" 8 | } -------------------------------------------------------------------------------- /l10n/pt_BR.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nova nota", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "A nota está sendo salva. Sair da página irá apagar todas as mudanças!", 6 | "_%n word_::_%n words_" : ["%n palavra","%n palavras","%n palavras"], 7 | "Delete note" : "Eliminar nota", 8 | "Favorite" : "Favorito" 9 | }, 10 | "nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 11 | -------------------------------------------------------------------------------- /l10n/pt_BR.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nova nota", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "A nota está sendo salva. Sair da página irá apagar todas as mudanças!", 4 | "_%n word_::_%n words_" : ["%n palavra","%n palavras","%n palavras"], 5 | "Delete note" : "Eliminar nota", 6 | "Favorite" : "Favorito" 7 | },"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 8 | } -------------------------------------------------------------------------------- /l10n/pt_PT.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Nova nota", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "A nota está atualmente a ser guardada. Sair desta página irá eliminar as alterações!", 6 | "_%n word_::_%n words_" : ["%n palavra","%n palavras","%n palavras"], 7 | "Delete note" : "Apagar nota", 8 | "Favorite" : "Favorito" 9 | }, 10 | "nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 11 | -------------------------------------------------------------------------------- /l10n/pt_PT.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Nova nota", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "A nota está atualmente a ser guardada. Sair desta página irá eliminar as alterações!", 4 | "_%n word_::_%n words_" : ["%n palavra","%n palavras","%n palavras"], 5 | "Delete note" : "Apagar nota", 6 | "Favorite" : "Favorito" 7 | },"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 8 | } -------------------------------------------------------------------------------- /l10n/ro.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Notă nouă", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Nota este în curs de salvare. Părăsirea paginii va determina ștergerea tuturor modificărilor!", 6 | "_%n word_::_%n words_" : ["%n cuvânt","%n cuvinte","%n cuvinte"], 7 | "Delete note" : "Şterge nota", 8 | "Favorite" : "Favorit" 9 | }, 10 | "nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));"); 11 | -------------------------------------------------------------------------------- /l10n/ro.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Notă nouă", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Nota este în curs de salvare. Părăsirea paginii va determina ștergerea tuturor modificărilor!", 4 | "_%n word_::_%n words_" : ["%n cuvânt","%n cuvinte","%n cuvinte"], 5 | "Delete note" : "Şterge nota", 6 | "Favorite" : "Favorit" 7 | },"pluralForm" :"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));" 8 | } -------------------------------------------------------------------------------- /l10n/ru.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Новая заметка", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Заметка сейчас сохраняется. Если покинуть страницу, будут удалены все изменения!", 6 | "_%n word_::_%n words_" : ["%n слово","%n слова","%n слов","%n слов"], 7 | "Delete note" : "Удалить заметку", 8 | "Favorite" : "В избранное" 9 | }, 10 | "nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"); 11 | -------------------------------------------------------------------------------- /l10n/ru.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Новая заметка", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Заметка сейчас сохраняется. Если покинуть страницу, будут удалены все изменения!", 4 | "_%n word_::_%n words_" : ["%n слово","%n слова","%n слов","%n слов"], 5 | "Delete note" : "Удалить заметку", 6 | "Favorite" : "В избранное" 7 | },"pluralForm" :"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);" 8 | } -------------------------------------------------------------------------------- /l10n/ru_RU.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Новая заметка", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Заметка сейчас сохраняется. Если покинуть страницу, будут удалены все изменения!", 6 | "Delete note" : "Удалить заметку", 7 | "Favorite" : "Избранный" 8 | }, 9 | "nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"); 10 | -------------------------------------------------------------------------------- /l10n/ru_RU.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Новая заметка", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Заметка сейчас сохраняется. Если покинуть страницу, будут удалены все изменения!", 4 | "Delete note" : "Удалить заметку", 5 | "Favorite" : "Избранный" 6 | },"pluralForm" :"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);" 7 | } -------------------------------------------------------------------------------- /l10n/sk_SK.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "Poznámky", 5 | "New note" : "Nová poznámka", 6 | "Note is currently saving. Leaving " : "Poznámka je práve ukladá. Opustenie", 7 | "Delete note" : "Zmazať poznámku" 8 | }, 9 | "nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;"); 10 | -------------------------------------------------------------------------------- /l10n/sk_SK.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "Poznámky", 3 | "New note" : "Nová poznámka", 4 | "Note is currently saving. Leaving " : "Poznámka je práve ukladá. Opustenie", 5 | "Delete note" : "Zmazať poznámku" 6 | },"pluralForm" :"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;" 7 | } -------------------------------------------------------------------------------- /l10n/sl.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Novo sporočilce", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Sporočilce se še shranjuje. Če zapustite stran, bodo spremembe izgubljene!", 6 | "_%n word_::_%n words_" : ["%n beseda","%n besedi","%n besede","%n besed"], 7 | "Delete note" : "Izbriši sporočilce", 8 | "Favorite" : "Priljubljeno" 9 | }, 10 | "nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"); 11 | -------------------------------------------------------------------------------- /l10n/sl.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Novo sporočilce", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Sporočilce se še shranjuje. Če zapustite stran, bodo spremembe izgubljene!", 4 | "_%n word_::_%n words_" : ["%n beseda","%n besedi","%n besede","%n besed"], 5 | "Delete note" : "Izbriši sporočilce", 6 | "Favorite" : "Priljubljeno" 7 | },"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);" 8 | } -------------------------------------------------------------------------------- /l10n/sq.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Shënim i ri", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Shënimi po ruhet. Braktisja e faqes do të fshijë krejt ndryshimet!", 6 | "_%n word_::_%n words_" : ["%n fjalë","%n fjalë"], 7 | "Delete note" : "Fshije shënimin", 8 | "Favorite" : "Vëre Si të Parapëlqyer" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/sq.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Shënim i ri", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Shënimi po ruhet. Braktisja e faqes do të fshijë krejt ndryshimet!", 4 | "_%n word_::_%n words_" : ["%n fjalë","%n fjalë"], 5 | "Delete note" : "Fshije shënimin", 6 | "Favorite" : "Vëre Si të Parapëlqyer" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/sr.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Нова белешка", 5 | "_%n word_::_%n words_" : ["%n реч","%n речи","%n речи"], 6 | "Delete note" : "Обриши белешку", 7 | "Favorite" : "Омиљени" 8 | }, 9 | "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"); 10 | -------------------------------------------------------------------------------- /l10n/sr.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Нова белешка", 3 | "_%n word_::_%n words_" : ["%n реч","%n речи","%n речи"], 4 | "Delete note" : "Обриши белешку", 5 | "Favorite" : "Омиљени" 6 | },"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" 7 | } -------------------------------------------------------------------------------- /l10n/sr@latin.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "Beleške", 5 | "New note" : "Nova beleška", 6 | "Note is currently saving. Leaving " : "Beleška se trenutno snima. Izlazim", 7 | "Delete note" : "Obriši belešku" 8 | }, 9 | "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"); 10 | -------------------------------------------------------------------------------- /l10n/sr@latin.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "Beleške", 3 | "New note" : "Nova beleška", 4 | "Note is currently saving. Leaving " : "Beleška se trenutno snima. Izlazim", 5 | "Delete note" : "Obriši belešku" 6 | },"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" 7 | } -------------------------------------------------------------------------------- /l10n/sv.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Ny anteckning", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Anteckning sparas just nu. Lämnar du sidan försvinner alla ändringar!", 6 | "_%n word_::_%n words_" : ["%n ord","%n ord"], 7 | "Delete note" : "Radera anteckning", 8 | "Favorite" : "Favorit" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/sv.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Ny anteckning", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Anteckning sparas just nu. Lämnar du sidan försvinner alla ändringar!", 4 | "_%n word_::_%n words_" : ["%n ord","%n ord"], 5 | "Delete note" : "Radera anteckning", 6 | "Favorite" : "Favorit" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/th_TH.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "สร้างบันทึกใหม่", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "หมายเหตุ: หากคุณออกจากหน้าเว็บในขณะนี้การเปลี่ยนแปลงทั้งหมดจะหายไป", 6 | "_%n word_::_%n words_" : ["%n คำ"], 7 | "Delete note" : "ลบบันทึกย่อ", 8 | "Favorite" : "รายการโปรด" 9 | }, 10 | "nplurals=1; plural=0;"); 11 | -------------------------------------------------------------------------------- /l10n/th_TH.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "สร้างบันทึกใหม่", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "หมายเหตุ: หากคุณออกจากหน้าเว็บในขณะนี้การเปลี่ยนแปลงทั้งหมดจะหายไป", 4 | "_%n word_::_%n words_" : ["%n คำ"], 5 | "Delete note" : "ลบบันทึกย่อ", 6 | "Favorite" : "รายการโปรด" 7 | },"pluralForm" :"nplurals=1; plural=0;" 8 | } -------------------------------------------------------------------------------- /l10n/tr.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Yeni not", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Not halen kaydediliyor. Sayfadan ayrılmanız tüm değişiklikleri silecektir!", 6 | "_%n word_::_%n words_" : ["%n kelime","%n kelime"], 7 | "Delete note" : "Notu sil", 8 | "Favorite" : "Favorilere ekle" 9 | }, 10 | "nplurals=2; plural=(n > 1);"); 11 | -------------------------------------------------------------------------------- /l10n/tr.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Yeni not", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Not halen kaydediliyor. Sayfadan ayrılmanız tüm değişiklikleri silecektir!", 4 | "_%n word_::_%n words_" : ["%n kelime","%n kelime"], 5 | "Delete note" : "Notu sil", 6 | "Favorite" : "Favorilere ekle" 7 | },"pluralForm" :"nplurals=2; plural=(n > 1);" 8 | } -------------------------------------------------------------------------------- /l10n/ug.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "يېڭى خاتىرە", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "خاتىرە نۆۋەتتە ساقلىنىۋاتىدۇ. بۇ بەتتىن چىكىنگەندە بارلىق ئۆزگەرتىشلەر ئۆچۈرۈلىدۇ!", 6 | "Delete note" : "خاتىرىنى ئۆچۈر", 7 | "Favorite" : "ئامراق" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/ug.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "يېڭى خاتىرە", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "خاتىرە نۆۋەتتە ساقلىنىۋاتىدۇ. بۇ بەتتىن چىكىنگەندە بارلىق ئۆزگەرتىشلەر ئۆچۈرۈلىدۇ!", 4 | "Delete note" : "خاتىرىنى ئۆچۈر", 5 | "Favorite" : "ئامراق" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/uk.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "Нова нотатка", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "Нотатка зараз зберігається. Покидання сторінки видалить всі зміни!", 6 | "_%n word_::_%n words_" : ["%n слово","%n слів","%n слів","%n слів"], 7 | "Delete note" : "Вилучити нотатку", 8 | "Favorite" : "Улюблений" 9 | }, 10 | "nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);"); 11 | -------------------------------------------------------------------------------- /l10n/uk.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "Нова нотатка", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "Нотатка зараз зберігається. Покидання сторінки видалить всі зміни!", 4 | "_%n word_::_%n words_" : ["%n слово","%n слів","%n слів","%n слів"], 5 | "Delete note" : "Вилучити нотатку", 6 | "Favorite" : "Улюблений" 7 | },"pluralForm" :"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);" 8 | } -------------------------------------------------------------------------------- /l10n/zh_CN.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "新建笔记", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "正在保存笔记,离开页面将会放弃所有更改!", 6 | "_%n word_::_%n words_" : ["%n 个字"], 7 | "Delete note" : "删除笔记", 8 | "Favorite" : "收藏" 9 | }, 10 | "nplurals=1; plural=0;"); 11 | -------------------------------------------------------------------------------- /l10n/zh_CN.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "新建笔记", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "正在保存笔记,离开页面将会放弃所有更改!", 4 | "_%n word_::_%n words_" : ["%n 个字"], 5 | "Delete note" : "删除笔记", 6 | "Favorite" : "收藏" 7 | },"pluralForm" :"nplurals=1; plural=0;" 8 | } -------------------------------------------------------------------------------- /l10n/zh_HK.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "Notes" : "筆記", 5 | "New note" : "新筆記", 6 | "_%n word_::_%n words_" : ["%n 字"], 7 | "Delete note" : "刪除筆記" 8 | }, 9 | "nplurals=1; plural=0;"); 10 | -------------------------------------------------------------------------------- /l10n/zh_HK.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Notes" : "筆記", 3 | "New note" : "新筆記", 4 | "_%n word_::_%n words_" : ["%n 字"], 5 | "Delete note" : "刪除筆記" 6 | },"pluralForm" :"nplurals=1; plural=0;" 7 | } -------------------------------------------------------------------------------- /l10n/zh_TW.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "notes", 3 | { 4 | "New note" : "新筆記", 5 | "Note is currently saving. Leaving the page will delete all changes!" : "筆記正儲存中。離開這個頁面將會刪除所有變更!", 6 | "_%n word_::_%n words_" : ["%n 字"], 7 | "Delete note" : "刪除筆記", 8 | "Favorite" : "我的最愛" 9 | }, 10 | "nplurals=1; plural=0;"); 11 | -------------------------------------------------------------------------------- /l10n/zh_TW.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New note" : "新筆記", 3 | "Note is currently saving. Leaving the page will delete all changes!" : "筆記正儲存中。離開這個頁面將會刪除所有變更!", 4 | "_%n word_::_%n words_" : ["%n 字"], 5 | "Delete note" : "刪除筆記", 6 | "Favorite" : "我的最愛" 7 | },"pluralForm" :"nplurals=1; plural=0;" 8 | } -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- 1 | parameters: 2 | inferPrivatePropertyTypeFromConstructor: true 3 | bootstrapFiles: 4 | - %currentWorkingDirectory%/../../lib/base.php 5 | ignoreErrors: 6 | - 7 | message: '#Strict comparison using === between string and null will always evaluate to false.#' 8 | path: service/notesservice.php 9 | count: 1 10 | - 11 | message: '#Method OCA\\Notes\\Service\\NotesService::getFileById\(\) should return OCP\\Files\\File but returns OCP\\Files\\Node.#' 12 | path: service/notesservice.php 13 | count: 1 14 | - 15 | message: '#Method OCA\\Notes\\Service\\NotesService::getFolderForUser\(\) should return OCP\\Files\\Folder but returns OCP\\Files\\Node.#' 16 | path: service/notesservice.php 17 | count: 1 18 | -------------------------------------------------------------------------------- /phpunit.integration.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | ./tests/integration 5 | 6 | 7 | 8 | 9 | . 10 | 11 | ./l10n 12 | ./tests 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | ./tests/unit 15 | 16 | 17 | 18 | 19 | . 20 | 21 | 22 | ./l10n 23 | ./tests 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /service/notedoesnotexistexception.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright Bernhard Posselt 2012, 2014 10 | */ 11 | 12 | namespace OCA\Notes\Service; 13 | 14 | use Exception; 15 | 16 | /** 17 | * Class NoteDoesNotExistException 18 | * 19 | * @package OCA\Notes\Service 20 | */ 21 | class NoteDoesNotExistException extends Exception { 22 | } 23 | -------------------------------------------------------------------------------- /templates/note.php: -------------------------------------------------------------------------------- 1 | 2 |
{{note.content}}
3 |
{{note.content | wordCount}}
4 | 5 | -------------------------------------------------------------------------------- /vendor-bin/owncloud-codestyle/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "owncloud/coding-standard": "^4.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /vendor-bin/phan/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "phan/phan": "^5.4" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /vendor-bin/phpstan/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "phpstan/phpstan": "^1.10" 4 | } 5 | } 6 | --------------------------------------------------------------------------------