initial commit
46
.eslintrc
Normal file
@ -0,0 +1,46 @@
|
||||
env:
|
||||
node: true
|
||||
browser: true
|
||||
amd: true
|
||||
builtin: true
|
||||
mocha: true
|
||||
jasmine: false
|
||||
|
||||
rules:
|
||||
handle-callback-err: 1
|
||||
no-debugger: 1
|
||||
no-undef: 1
|
||||
no-inner-declarations: [1, "functions"]
|
||||
no-native-reassign: 1
|
||||
no-new-func: 1
|
||||
no-new-wrappers: 1
|
||||
no-cond-assign: [1, "except-parens"]
|
||||
no-debugger: 3
|
||||
no-dupe-keys: 3
|
||||
no-eval: 2
|
||||
no-func-assign: 1
|
||||
no-invalid-regexp: 1
|
||||
no-irregular-whitespace: 3
|
||||
no-negated-in-lhs: 1
|
||||
no-regex-spaces: 3
|
||||
no-reserved-keys: 3
|
||||
no-unreachable: 1
|
||||
use-isnan: 2
|
||||
valid-typeof: 1
|
||||
no-redeclare: 3
|
||||
no-with: 1
|
||||
radix: 3
|
||||
no-delete-var: 2
|
||||
no-label-var: 3
|
||||
no-shadow-restricted-names: 2
|
||||
handle-callback-err: 1
|
||||
no-new-require: 2
|
||||
no-unused-vars: [3, {vars: "all", args: "none"}]
|
||||
no-undef: 1
|
||||
semi: 3
|
||||
no-extra-semi: 3
|
||||
|
||||
default-case: 3
|
||||
space-after-keywords: [1, "always"]
|
||||
spaced-line-comment: 3
|
||||
// valid-jsdoc: [1, { requireReturn: false, requireParamDescription: false, prefer: { "return": "return" } }]
|
||||
75
.gitignore
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
build/installer/
|
||||
build/win32
|
||||
build/node.exe
|
||||
build/node*.zip
|
||||
build/Cloud9-dev.app
|
||||
docs/generate/lib/node_modules
|
||||
plugins/c9.ide.layout.classic/less/*.css
|
||||
plugins/c9.vfs.standalone/www/less.html
|
||||
plugins/c9.ide.run/todo
|
||||
plugins/c9.vfs.standalone/www/charts
|
||||
scripts/build
|
||||
build/output
|
||||
build/standalone/
|
||||
build/standalonebuild/
|
||||
build/static
|
||||
build/node_modules/
|
||||
build/webkitbuilds/
|
||||
plugins/c9.run/todo
|
||||
docs/generate/output
|
||||
docs/generate/lib/node_modules
|
||||
plugins/c9.docker/bin/node_modules/
|
||||
node_modules/vfs-local/test/mock2/
|
||||
plugins/c9.fs/mock/
|
||||
|
||||
# ignore node_modules
|
||||
node_modules/*
|
||||
# except git subtrees
|
||||
!node_modules/ace*
|
||||
!node_modules/architect*
|
||||
!node_modules/vfs*
|
||||
!node_modules/build
|
||||
!node_modules/c9
|
||||
!node_modules/frontdoor
|
||||
!node_modules/kaefer
|
||||
node_modules/kaefer/node_modules/
|
||||
!node_modules/nak
|
||||
!node_modules/pivottable
|
||||
!node_modules/smith
|
||||
!node_modules/treehugger
|
||||
!node_modules/logicblox
|
||||
!node_modules/connect-architect
|
||||
!node_modules/pty.js
|
||||
!node_modules/ui
|
||||
!node_modules/react-bootstrap
|
||||
!node_modules/oldclient
|
||||
|
||||
node_modules/oldclient/node_modules
|
||||
node_modules/oldclient/plugins-server/c9.api.project/tmp*
|
||||
|
||||
node_modules/vfs-local/test/mock
|
||||
node_modules/vfs-ssh/__worker.js
|
||||
|
||||
plugins/c9.fs/mock/helloworld.js
|
||||
plugins/c9.fs/mock/run.watch
|
||||
|
||||
node_modules/logicblox/plugins/logicblox.repl/lbfileserver/node_modules
|
||||
node_modules/logicblox/plugins/logicblox.pivot/examples/query.json
|
||||
node_modules/pivottable/node_modules
|
||||
node_modules/c9/node_modules
|
||||
plugins/c9.proxy/proxy.cfg
|
||||
plugins/c9.proxy/haproxy
|
||||
plugins/c9.proxy/haproxy-*
|
||||
**/.module-cache/
|
||||
|
||||
.c9revisions
|
||||
.settings
|
||||
.c9config
|
||||
.c9
|
||||
*.watch
|
||||
*.pid
|
||||
*.swp
|
||||
*#*
|
||||
npm-debug.log
|
||||
foo.js
|
||||
hello.js
|
||||
7
.nakignore
Normal file
@ -0,0 +1,7 @@
|
||||
build/output
|
||||
build/standalone/
|
||||
build/static
|
||||
build/node_modules/
|
||||
build/webkitbuilds/
|
||||
build/win32
|
||||
node_modules/logicblox/build/logicblox/static
|
||||
239
LICENSE
Normal file
@ -0,0 +1,239 @@
|
||||
Cloud9 Software Development Kit Non-commercial License Agreement
|
||||
|
||||
1. Introduction
|
||||
1.1 The Cloud9 Software Development Kit (referred to in this License Agreement
|
||||
as the "SDK" and specifically including the Cloud9 system files, the Cloud9
|
||||
computer software source code, Cloud9’s Ace editor plugin and Cloud9’s
|
||||
terminal plugin) is licensed to you subject to the terms of this Non-commercial
|
||||
License Agreement.
|
||||
|
||||
1.2 Any software provided along with the SDK (such as some of the files in the
|
||||
node_modules directory) that is associated with a separate license agreement is
|
||||
licensed to you under the terms of that separate license agreement.
|
||||
|
||||
This License Agreement forms a legally binding contract between you and Cloud9
|
||||
in relation to your use of the SDK.
|
||||
|
||||
1.2 “Cloud9” refers to Cloud9 IDE, Inc, registered Delaware corporation with
|
||||
principal place of business 1663 McAllister Street #B, San Francisco, CA 94115,
|
||||
United States.
|
||||
|
||||
2. Accepting this license agreement
|
||||
2.1 In order to use the SDK, you must first agree to this License Agreement. You
|
||||
may not use the SDK if you do not accept this License Agreement.
|
||||
|
||||
2.2 You agree to be bound by the terms of this SDK License by installing,
|
||||
copying, downloading, accessing or otherwise using the SDK.
|
||||
|
||||
2.3 You may not use the SDK and may not accept the License Agreement if you are
|
||||
a person barred from receiving the SDK under the laws of the United States or
|
||||
other countries including the country in which you are resident or from which
|
||||
you use the SDK.
|
||||
|
||||
2.4 If you are agreeing to be bound by this License Agreement on behalf of your
|
||||
employer or other entity, you represent and warrant that you have full legal
|
||||
authority to bind your employer or such entity to this License Agreement. If you
|
||||
do not have the requisite authority, you may not accept the License Agreement or
|
||||
use the SDK on behalf of your employer or other entity.
|
||||
|
||||
3. The Cloud9 SDK
|
||||
3.1 Cloud9 grants to you a non-exclusive, non-commercial, non-transferable,
|
||||
personal license to do the following, all subject to the terms of this license:
|
||||
|
||||
Copy and modify any SDK source code, and include such copies and modifications
|
||||
in software that you create (“Derived Software”), and include SDK object
|
||||
code in Derived Software;
|
||||
|
||||
Use SDK source code, SDK object code, and Derived Software for your own
|
||||
personal, noncommercial use;
|
||||
|
||||
Distribute Derived Software and SDK documentation to others, provided that any
|
||||
distribution is for noncommercial purposes only, is without charge or fee or
|
||||
consideration of any kind, and that every recipient of the distribution agree to
|
||||
and is bound by the terms of this SDK License.
|
||||
|
||||
3.2 You agree that Cloud9 or third parties own all legal right, title and
|
||||
interest in and to the SDK, including any Intellectual Property Rights that
|
||||
subsist in the SDK. "Intellectual Property Rights" means any and all rights
|
||||
under patent law, copyright law, trade secret law, trademark law, and any and
|
||||
all other proprietary rights. Cloud9 reserves all rights not expressly granted
|
||||
to you.
|
||||
|
||||
3.3 You may not use the SDK for any purpose not expressly permitted by this
|
||||
License Agreement. You do not have the right to:
|
||||
|
||||
Reverse engineer or in any other way attempt to reproduce the operation of the
|
||||
code in the SDK, or defeat or circumvent any security features of any code in
|
||||
the SDK;
|
||||
Use anything in the SDK or any Derived Software for any commercial purpose,
|
||||
including without limitation for provision of programming, hosting, or any other
|
||||
services for others;
|
||||
Distribute anything in the SDK or any Derived Software to any other party that
|
||||
is not bound by the terms of this SDK License;
|
||||
Make any copies of anything in the SDK without including all copyright, license,
|
||||
and other legal notices with the copy;
|
||||
Transfer the SDK, this SDK License, or any part thereof, to any other party. Any
|
||||
attempt at such a transfer is void.
|
||||
|
||||
3.4 Use, reproduction and distribution of components of the SDK licensed under a
|
||||
separate license agreement are governed solely by the terms of that separate
|
||||
license agreement and not this License Agreement.
|
||||
|
||||
3.5 You agree that the form and nature of the SDK that Cloud9 provides may
|
||||
change without prior notice to you and that future versions of the SDK may be
|
||||
incompatible with applications developed on previous versions of the SDK. You
|
||||
agree that Cloud9 may stop (permanently or temporarily) providing the SDK (or
|
||||
any features within the SDK) to you or to users generally at Cloud9's sole
|
||||
discretion, without prior notice to you.
|
||||
|
||||
3.6 Nothing in this License Agreement gives you a right to use any of Cloud9's
|
||||
trade names, trademarks, service marks, logos, domain names, or other
|
||||
distinctive brand features.
|
||||
|
||||
3.7 You agree that you will not remove, obscure, or alter any proprietary rights
|
||||
notices (including copyright and trademark notices) that may be affixed to or
|
||||
contained within the SDK.
|
||||
|
||||
4. Privacy and Information
|
||||
4.1 In order to continually innovate and improve the SDK, Cloud9 may collect
|
||||
certain usage statistics from the software including but not limited to a unique
|
||||
identifier, associated IP address, version number of the software, and
|
||||
information on which tools and/or services in the SDK are being used and how
|
||||
they are being used. Before any of this information is collected, the SDK will
|
||||
notify you and seek your consent. If you withhold consent, the information will
|
||||
not be collected.
|
||||
|
||||
4.2 The data collected is examined in the aggregate to improve the SDK and is
|
||||
maintained in accordance with Cloud9's Privacy Policy.
|
||||
|
||||
5. Your developer credentials
|
||||
5.1 You agree that you are responsible for maintaining the confidentiality of
|
||||
any developer credentials that may be issued to you by Cloud9 or which you may
|
||||
choose yourself and that you will be solely responsible for all applications
|
||||
that are developed under your developer credentials.
|
||||
|
||||
6. Third party applications
|
||||
6.1 If you use the SDK to run applications developed by a third party or that
|
||||
access data, content or resources provided by a third party, you agree that
|
||||
Cloud9 is not responsible for those applications, data, content, or resources.
|
||||
You understand that all data, content or resources which you may access through
|
||||
such third party applications are the sole responsibility of the person from
|
||||
which they originated and that Cloud9 is not liable for any loss or damage that
|
||||
you may experience as a result of the use or access of any of those third party
|
||||
applications, data, content, or resources.
|
||||
|
||||
6.2 You should be aware the data, content, and resources presented to you
|
||||
through such a third party application may be protected by intellectual property
|
||||
rights which are owned by the providers (or by other persons or companies on
|
||||
their behalf). You may not modify, rent, lease, loan, sell, distribute or create
|
||||
derivative works based on these data, content, or resources (either in whole or
|
||||
in part) unless you have been specifically given permission to do so by the
|
||||
relevant owners.
|
||||
|
||||
6.3 You acknowledge that your use of such third party applications, data,
|
||||
content, or resources may be subject to separate terms between you and the
|
||||
relevant third party. In that case, this License Agreement does not affect your
|
||||
legal relationship with these third parties.
|
||||
|
||||
7. Termination of this license agreement
|
||||
7.1 This License Agreement will continue to apply until terminated by either you
|
||||
or Cloud9 as set out below.
|
||||
|
||||
7.2 If you want to terminate this License Agreement, you may do so by ceasing
|
||||
your use of the SDK and any relevant developer credentials.
|
||||
|
||||
7.3 Cloud9 may at any time, terminate this License Agreement with you if:
|
||||
a. you do not abide by the provisions of this License Agreement; or
|
||||
b. at any time upon 72 hours notice to you; or
|
||||
c. at any time upon post of a notice of termination to Cloud9’s website. In
|
||||
such event, you must destroy all copies of the SDK and any Derived Software.
|
||||
Termination of this SDK License shall terminate your rights and all obligations
|
||||
of Cloud9 under this SDK License, but the remaining provisions shall survive
|
||||
termination.
|
||||
|
||||
8. DISCLAIMER OF WARRANTIES
|
||||
8.1 THE ENTIRE RISK ARISING OUT OF USE OR PERFORMANCE OF THE SDK AND ANY DERIVED
|
||||
SOFTWARE REMAINS WITH YOU, THE USER. CLOUD9 EXPRESSLY DISCLAIMS (I) ANY WARRANTY
|
||||
FOR THE SDK AND ANY DERIVED SOFTWARE, AND (II) ANY COMMON LAW DUTIES WITH REGARD
|
||||
TO SDK AND ANY DERIVED SOFTWARE, INCLUDING DUTIES OF LACK OF NEGLIGENCE AND LACK
|
||||
OF WORKMANLIKE EFFORT.
|
||||
|
||||
8.2 THE SDK AND ANY INFORMATION AVAILABLE IN CONNECTION THEREWITH ARE PROVIDED
|
||||
ON AN "AS IS" AND "AS AVAILABLE" BASIS, "WITH ALL FAULTS" AND WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
|
||||
NON-INFRINGEMENT.
|
||||
|
||||
8.3 ANY WARRANTY AGAINST INFRINGEMENT THAT MAY BE PROVIDED IN SECTION 2-312(3)
|
||||
OF THE UNIFORM COMMERCIAL CODE AND/OR IN ANY OTHER COMPARABLE STATE STATUTE IS
|
||||
EXPRESSLY DISCLAIMED. ALSO, THERE IS NO WARRANTY OF TITLE, INTERFERENCE WITH
|
||||
YOUR ENJOYMENT, OR AUTHORITY IN CONNECTION WITH THE SDK OR ANY DERIVED SOFTWARE
|
||||
OR INFORMATION AVAILABLE IN CONNECTION THEREWITH. THIS SECTION WILL APPLY TO THE
|
||||
MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
|
||||
9. LIMITATION OF LIABILITY AND EXCLUSIVE REMEDY
|
||||
9.1 NEITHER CLOUD9, ITS LICENSORS, NOR THEIR AFFILIATES SHALL BE LIABLE IN ANY
|
||||
WAY FOR LOSS OR DAMAGE OF ANY KIND RESULTING FROM THE USE OR INABILITY TO USE
|
||||
THE SDK OR ANY DERIVED SOFTWARE INCLUDING, BUT NOT LIMITED TO, LOSS OF GOODWILL,
|
||||
WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL
|
||||
DAMAGES OR LOSSES.
|
||||
|
||||
9.2 IN NO EVENT WILL CLOUD9 BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
|
||||
CONSEQUENTIAL, SPECIAL, PUNITIVE, EXEMPLARY DAMAGES, OR ANY OTHER DAMAGES
|
||||
ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE SDK, ANY DERIVED SOFTWARE, ANY
|
||||
INFORMATION AVAILABLE IN CONNECTION THEREWITH, OR THE DELAY OR INABILITY TO USE
|
||||
THE SDK, ANY DERIVED SOFTWARE, OR ANY INFORMATION, EVEN IN THE EVENT OF FAULT,
|
||||
TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY, BREACH OF CONTRACT, OR BREACH OF
|
||||
ANY WARRANTY AND EVEN IF CLOUD9 HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
THESE LIMITATIONS AND EXCLUSIONS REGARDING DAMAGES APPLY EVEN IF ANY REMEDY
|
||||
FAILS. YOU ACKNOWLEDGE AND AGREE THAT YOUR SOLE AND EXCLUSIVE REMEDY FOR ANY
|
||||
DISPUTE WITH CLOUD9 WITH REGARD TO THE SDK IS TO DISCONTINUE USE OF THE SDK AND
|
||||
ANY DERIVED SOFTWARE. BECAUSE SOME STATES OR JURISDICTIONS DO NOT ALLOW THE
|
||||
EXCLUSION OR THE LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL
|
||||
DAMAGES, IN SUCH STATES OR JURISDICTIONS, CLOUD9, ITS LICENSORS, AND THEIR
|
||||
AFFILIATES LIABILITY SHALL BE LIMITED TO THE FULL EXTENT PERMITTED BY LAW.
|
||||
|
||||
10. Indemnification
|
||||
10.1 You agree to defend, indemnify and hold harmless Cloud9, its licensors and
|
||||
their affiliates from all liabilities, claims and expenses, including attorneys'
|
||||
fees, that arise from or in connection with breach of this Agreement, use of the
|
||||
SDK or any Derived Software, including, but not limited to, the creation,
|
||||
distribution, promotion and use of any Derived Software. Cloud9 reserves the
|
||||
right to assume the exclusive defense and control of any matter subject to
|
||||
indemnification by you.
|
||||
|
||||
11. Changes to the license agreement
|
||||
11.1 Cloud9 may make changes to the License Agreement as it distributes new
|
||||
versions of the SDK. When these changes are made, Cloud9 will make a new version
|
||||
of the License Agreement available on the website where the SDK is made
|
||||
available.
|
||||
|
||||
12. Applicable law, jurisdiction
|
||||
12.1 This License Agreement, and your relationship with Cloud9 under this
|
||||
License Agreement, shall be governed by the laws of the State of California
|
||||
without regard to its conflict of laws provisions. You and Cloud9 agree to
|
||||
submit to the exclusive jurisdiction of the courts located within the county of
|
||||
Santa Clara, California to resolve any legal matter arising from this License
|
||||
Agreement. Notwithstanding this, you agree that Cloud9 shall still be allowed to
|
||||
apply for injunctive remedies.
|
||||
|
||||
13. General legal terms
|
||||
13.1 This SDK License sets forth all rights for the user of the SDK and is the
|
||||
entire agreement between the parties. This SDK License supersedes any other
|
||||
communications with respect to the SDK. You agree that this SDK License is not
|
||||
intended to confer and does not confer any rights or remedies upon any person
|
||||
other than the parties to this SDK License. No provision hereof shall be deemed
|
||||
waived unless such waiver shall be in writing and signed by Cloud9. If any
|
||||
provision of this SDK License is held invalid or unenforceable, the remainder of
|
||||
this SDK License shall continue in full force and effect, and such provision
|
||||
shall be reformed only to the extent necessary to make it valid and enforceable.
|
||||
The parties confirm that it is their wish that this Agreement has been written
|
||||
in the English language only (or an equivalent type of urgent legal relief) in
|
||||
any jurisdiction.
|
||||
|
||||
13.2 EXPORT RESTRICTIONS. YOU ACKNOWLEDGE THAT THE SDK IS OF U.S. ORIGIN. YOU
|
||||
AGREE TO COMPLY WITH ALL APPLICABLE INTERNATIONAL AND NATIONAL LAWS THAT APPLY
|
||||
TO THESE PRODUCTS, INCLUDING THE U.S. EXPORT ADMINISTRATION REGULATIONS, AS WELL
|
||||
AS END-USER, END-USE AND DESTINATION RESTRICTIONS BY U.S. AND OTHER GOVERNMENTS.
|
||||
80
README.md
Normal file
@ -0,0 +1,80 @@
|
||||
Cloud9 3.0 SDK for Plugin Development
|
||||
=======================================
|
||||
|
||||
This is the core repository for the Cloud9 v3 SDK. The SDK allows you to run a version of Cloud9 that allows you to develop plugins and create a custom IDE based on Cloud9.
|
||||
|
||||
#### Project Status: *ALPHA*
|
||||
|
||||
During the alpha stage, expect many things to break, not work or simply fail.
|
||||
|
||||
#### Creating Plugins ####
|
||||
|
||||
The best and easiest way to create plugins is on c9.io. Please check out this tutorial for how to [get started writing plugins.](http://cloud9-sdk.readme.io/v0.1/docs/getting-started)
|
||||
|
||||
We also have a tutorial for how to get started working on the core plugins. [Check out that tutorial here.](http://cloud9-sdk.readme.io/v0.1/docs/contributing-to-existing-packages)
|
||||
|
||||
#### Documentation ####
|
||||
|
||||
We have several documentation resources for you:
|
||||
|
||||
<table>
|
||||
<tr><th>SDK documentation</th><td>http://cloud9-sdk.readme.io/v0.1/docs</td></tr>
|
||||
<tr><th>API documentation</th><td>http://docs.c9.io/api</td></tr>
|
||||
<tr><th>User documentation</th><td>http://docs.c9.io</td></tr>
|
||||
</table>
|
||||
|
||||
Please joing the mailinglist to get support or give support to the growing community of plugin developers:
|
||||
https://groups.google.com/forum/#!forum/cloud9-sdk
|
||||
|
||||
#### Installation ####
|
||||
|
||||
Follow these steps to install the SDK:
|
||||
|
||||
git clone git@github.com:c9/core.git c9sdk
|
||||
cd c9sdk
|
||||
scripts/install-sdk.sh
|
||||
|
||||
To update the SDK to the latest version run:
|
||||
|
||||
git pull origin master
|
||||
scripts/install-sdk.sh
|
||||
|
||||
#### Starting Cloud9 ####
|
||||
|
||||
Start the Cloud9 as follows:
|
||||
|
||||
node server.js
|
||||
|
||||
The following options can be used:
|
||||
|
||||
--settings Settings file to use
|
||||
--help Show command line options.
|
||||
-t Start in test mode
|
||||
-k Kill tmux server in test mode
|
||||
-b Start the bridge server - to receive commands from the cli [default: false]
|
||||
-w Workspace directory
|
||||
--port Port
|
||||
--debug Turn debugging on
|
||||
--listen IP address of the server
|
||||
--readonly Run in read only mode
|
||||
--packed Whether to use the packed version.
|
||||
--auth Basic Auth username:password
|
||||
--collab Whether to enable collab.
|
||||
--no-cache Don't use the cached version of CSS
|
||||
|
||||
Now visit [http://localhost:8181/ide.html](http://localhost:8181/ide.html) to load Cloud9.
|
||||
|
||||
#### Contributing ####
|
||||
|
||||
We actively encourage and support contributions. We accept pull requests to the core as well as to any of the open source plugins and libraries that we maintain under the c9 organization on GitHub.
|
||||
|
||||
Feel free to fork and improve/enhance the Cloud9 SDK and the open source plugins in any way you want. Then please open a pull request. For more information on our contributing guidelines, see our contributing guide: http://cloud9-sdk.readme.io/v0.1/docs/contributing-to-cloud9
|
||||
|
||||
To protect the interests of the Cloud9 contributors and users we require contributors to sign a Contributors License Agreement (CLA) before we pull the changes into the main repository. Our CLA is the simplest of agreements, requiring that the contributions you make to an ajax.org project are only those you're allowed to make. This helps us significantly reduce future legal risk for everyone involved. It is easy, helps everyone, takes ten minutes, and only needs to be completed once. There are two versions of the agreement:
|
||||
|
||||
1. [The Individual CLA](https://docs.google.com/a/c9.io/forms/d/1MfmfrxqD_PNlNsuK0lC2KSelRLxGLGfh_wEcG0ijVvo/viewform): use this version if you're working on the Cloud9 SDK or open source plugins in your spare time, or can clearly claim ownership of copyright in what you'll be submitting.
|
||||
2. [The Corporate CLA](https://docs.google.com/a/c9.io/forms/d/1vFejn4111GdnCNuQ6BfnJDaxdsUEMD4KCo1ayovAfu0/viewform): have your corporate lawyer review and submit this if your company is going to be contributing to the Cloud9 SDK and/or open source plugins.
|
||||
|
||||
If you want to contribute to the Cloud9 SDK and/or open source plugins please go to the online form, fill it out and submit it.
|
||||
|
||||
Happy coding, Cloud9
|
||||
29
bin/c9
Executable file
@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
// Architect
|
||||
var architect = require("architect");
|
||||
|
||||
// Add ability to load AMD modules
|
||||
require("amd-loader");
|
||||
|
||||
var verbose = process.argv.indexOf("--verbose") + 1
|
||||
|| process.argv.indexOf("-v") + 1;
|
||||
|
||||
architect.resolveConfig(require("../configs/cli.js")(),
|
||||
__dirname + "/../plugins", function (err, config) {
|
||||
if (err) throw err.message;
|
||||
|
||||
var cli;
|
||||
var app = architect.createApp(config, function(err, app){
|
||||
if (err) throw err;
|
||||
|
||||
cli.start();
|
||||
});
|
||||
app.on("service", function(name, plugin){
|
||||
if (name == "cli")
|
||||
cli = plugin;
|
||||
|
||||
if (!plugin.name)
|
||||
plugin.name = name;
|
||||
});
|
||||
});
|
||||
133
bin/launch.bat
Normal file
@ -0,0 +1,133 @@
|
||||
:: Do not use "echo off" to not affect any child calls.
|
||||
@setlocal
|
||||
|
||||
::——————————————————— fix ctrl c ———————————————————
|
||||
@set allargs=
|
||||
@if ("%initialized%")==("1") (
|
||||
@if "%~1"=="-fix_ctrl_c" (
|
||||
@call:rest %* allargs
|
||||
) else (
|
||||
@call <nul %0 "-fix_ctrl_c" %*
|
||||
@goto :eof
|
||||
)
|
||||
)
|
||||
::——————————————————————————————————————————————————
|
||||
|
||||
:start
|
||||
|
||||
:: check if started from bin folder
|
||||
@if not exist plugins (
|
||||
@cd ..
|
||||
)
|
||||
|
||||
@if exist server.cloud9.js (
|
||||
@set fname="server.cloud9.js"
|
||||
) else (
|
||||
@set fname="server.js"
|
||||
)
|
||||
|
||||
@if ("%initialized%")==("1") (
|
||||
@call cmd /c node %fname% %allargs%
|
||||
@goto eof
|
||||
)
|
||||
|
||||
:: add git to path
|
||||
@set c9GitPath=
|
||||
@call:where git c9GitPath
|
||||
@if "x!c9GitPath!"=="x" (
|
||||
@echo missing git directory rem todo: better message
|
||||
@goto eof
|
||||
)
|
||||
:: @echo %c9GitPath%
|
||||
@CALL :resolve "%c9GitPath%\..\..\bin" c9GitPath
|
||||
|
||||
@set PATH=%c9GitPath%;%PATH%
|
||||
|
||||
|
||||
@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH%
|
||||
@if not exist "%HOME%" @set HOME=%USERPROFILE%
|
||||
@set initialized=1
|
||||
|
||||
|
||||
|
||||
@cmd /K node %fname% %allargs%
|
||||
@goto eof
|
||||
:end
|
||||
|
||||
::—————————————————————————————————————————————————————————
|
||||
::—— Functions http://www.dostips.com/ ——
|
||||
::—————————————————————————————————————————————————————————
|
||||
|
||||
:where
|
||||
@SETLOCAL enableextensions enabledelayedexpansion
|
||||
@set result=
|
||||
@goto :wherestart
|
||||
:: Function to find and print a file in the path.
|
||||
:find_it
|
||||
@for %%i in (%1) do @set fullspec=%%~$PATH:i
|
||||
@if not "x!fullspec!"=="x" @set result=!fullspec!
|
||||
@goto :eof
|
||||
|
||||
:wherestart
|
||||
|
||||
:: First try the unadorned filenmame.
|
||||
|
||||
@set fullspec=
|
||||
@call :find_it
|
||||
|
||||
:: Then try all adorned filenames in order.
|
||||
|
||||
@set mypathext=!pathext!
|
||||
:loop1
|
||||
:: Stop if found or out of extensions.
|
||||
|
||||
@if "x!mypathext!"=="x" goto :loop1end
|
||||
|
||||
:: Get the next extension and try it.
|
||||
|
||||
@for /f "delims=;" %%j in ("!mypathext!") do @set myext=%%j
|
||||
@call :find_it %1!myext!
|
||||
|
||||
:: Remove the extension (not overly efficient but it works).
|
||||
|
||||
:loop2
|
||||
@if not "x!myext!"=="x" (
|
||||
@set myext=!myext:~1!
|
||||
@set mypathext=!mypathext:~1!
|
||||
@goto :loop2
|
||||
)
|
||||
@if not "x!mypathext!"=="x" set mypathext=!mypathext:~1!
|
||||
|
||||
@goto :loop1
|
||||
:loop1end
|
||||
|
||||
::
|
||||
@ENDLOCAL&@set %~2=%result%
|
||||
:endwhere
|
||||
@goto :eof
|
||||
|
||||
|
||||
:resolve
|
||||
@set %2=%~f1
|
||||
@goto :eof
|
||||
|
||||
|
||||
:rest
|
||||
:: array outResult
|
||||
@SETLOCAL enableextensions enabledelayedexpansion
|
||||
@set result=
|
||||
@shift
|
||||
:rest-loop1
|
||||
@if not "%2"=="" (
|
||||
@set result=%result% %1
|
||||
@shift
|
||||
)
|
||||
::
|
||||
@ENDLOCAL&@set %~2=%result%
|
||||
:rest-end
|
||||
@goto :eof
|
||||
|
||||
|
||||
|
||||
|
||||
:eof
|
||||
BIN
build/browser_extensions/chrome/icon128.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
25
build/browser_extensions/chrome/manifest.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"app": {
|
||||
"launch": {
|
||||
"web_url": "http://c9.io/"
|
||||
},
|
||||
"urls": [
|
||||
"https://c9.io/", "https://www.c9.io/", "https://ide.c9.io/",
|
||||
"http://c9.io/", "http://www.c9.io/", "http://ide.c9.io/",
|
||||
"https://cloud9beta.com/", "https://ide.cloud9beta.com/",
|
||||
"http://localhost:8181/", "http://localhost:5252/",
|
||||
"https://c9.vm:8181/", "https://c9.vm:5252/",
|
||||
"https://c9.dev/", "https://ide.c9.dev/"
|
||||
]
|
||||
},
|
||||
"description": "Cloud9 is an online platform for development that makes developing applications more convenient than ever",
|
||||
"icons": {
|
||||
"128": "icon128.png"
|
||||
},
|
||||
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqAyKPE7bHjhrCtYRSqTtEd+IYhEV/h7MgtKN1DdiZzVmqZEkLDd5p4BpBTakiktr2VT1eU2aXoHHsi5gBdSGAkglXkGoo/wKmcEZCfPCGo6wIqBO9Jxs+NQeM3lrxgaNgaHfjqKj2sY/LqN0CFAY79BqOuwE5DProUeglaFmhKwIDAQAB",
|
||||
"name": "Cloud9",
|
||||
"permissions": [ "clipboardRead", "clipboardWrite" ],
|
||||
"update_url": "http://clients2.google.com/service/update2/crx",
|
||||
"version": "3.0.0",
|
||||
"manifest_version": 2
|
||||
}
|
||||
201
build/build-local.sh
Executable file
@ -0,0 +1,201 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
while [ "$1" ]; do
|
||||
case "$1" in
|
||||
--compress) COMPRESS=1 ;;
|
||||
--obfuscate) OBFUSCATE=1 ;;
|
||||
*) echo "Unknown option: $1" >&2; exit 1 ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
uname="$(uname -a)"
|
||||
os=
|
||||
arch="$(uname -m)"
|
||||
case "$uname" in
|
||||
Linux\ *) os=linux ;;
|
||||
Darwin\ *) os=darwin ;;
|
||||
SunOS\ *) os=sunos ;;
|
||||
FreeBSD\ *) os=freebsd ;;
|
||||
CYGWIN*) os=windows ;;
|
||||
MINGW*) os=windows ;;
|
||||
esac
|
||||
case "$uname" in
|
||||
*x86_64*) arch=x64 ;;
|
||||
*i*86*) arch=x86 ;;
|
||||
*armv6l*) arch=arm-pi ;;
|
||||
esac
|
||||
|
||||
showStatus () { printf "\e[1A\e[0K\r%s\n" $1; }
|
||||
|
||||
cd `dirname $0`/..
|
||||
SOURCE=`pwd`
|
||||
|
||||
LOCAL=$SOURCE/local
|
||||
APPDIR=$SOURCE/build/webkitbuilds/app.nw
|
||||
LOCALCFG=configs/client-default-local.js
|
||||
|
||||
# init
|
||||
rm -Rf $APPDIR
|
||||
rm -Rf $SOURCE/build/webkitbuilds/releases
|
||||
|
||||
# copy the C9 source into the package
|
||||
mkdir -p $APPDIR
|
||||
mkdir -p $APPDIR/bin
|
||||
mkdir -p $APPDIR/build
|
||||
mkdir -p $APPDIR/configs
|
||||
mkdir -p $APPDIR/plugins
|
||||
mkdir -p $APPDIR/settings
|
||||
mkdir -p $APPDIR/scripts
|
||||
mkdir -p $APPDIR/node_modules
|
||||
|
||||
cp -a build/standalone $APPDIR/build
|
||||
rm -Rf $APPDIR/build/standalone/static
|
||||
cp -a $SOURCE/local $APPDIR
|
||||
cp -a server.js $APPDIR
|
||||
|
||||
# bin
|
||||
cp -a bin/c9 $APPDIR/bin
|
||||
|
||||
# configs
|
||||
cp configs/standalone.js $APPDIR/configs
|
||||
cp configs/local.js $APPDIR/configs
|
||||
cp configs/cli.js $APPDIR/configs
|
||||
cp configs/client-default.js $APPDIR/configs
|
||||
cp configs/client-default-local.js $APPDIR/configs
|
||||
|
||||
# settings
|
||||
cp settings/standalone.js $APPDIR/settings
|
||||
cp settings/local.js $APPDIR/settings
|
||||
|
||||
# scripts
|
||||
cp -a scripts/makest* $APPDIR/scripts
|
||||
cp -a scripts/install-nw-pty.sh $APPDIR/scripts
|
||||
cp -a scripts/checkforupdates.sh $APPDIR/scripts
|
||||
|
||||
|
||||
node -e "
|
||||
var fs = require('fs');
|
||||
var path = require('path');
|
||||
var copy = require('architect-build/copy');
|
||||
|
||||
function pluginDirs(plugins) {
|
||||
var map = Object.create(null);
|
||||
plugins.forEach(function(p) {
|
||||
p = p.packagePath || p;
|
||||
if (typeof p === 'string')
|
||||
map[path.dirname(p)] = 1;
|
||||
});
|
||||
return Object.keys(map);
|
||||
}
|
||||
|
||||
console.log('Client Plugins:');
|
||||
var plugins = require('./configs/client-default-local')(require('./settings/local')());
|
||||
// this isn't included in local config but is needed for loading remote projects
|
||||
plugins.push('plugins/c9.ide.collab/collab');
|
||||
copy.dirs('$SOURCE', '$APPDIR', pluginDirs(plugins), {
|
||||
include: /^(libmarkdown.js|loading.css|runners_list.js|builders_list.js)$/,
|
||||
exclude: /\\.(js|css|less|xml)$|^mock$/,
|
||||
onDir: function(e) { console.log('\x1b[1A\x1b[0K' + e) }
|
||||
});
|
||||
|
||||
console.log('CLI Plugins:');
|
||||
plugins = require('./configs/cli')().concat('plugins/c9.login.client/bootstrap')
|
||||
copy.dirs('$SOURCE', '$APPDIR', pluginDirs(plugins), {
|
||||
exclude: /^mock$/,
|
||||
});
|
||||
|
||||
console.log('Node Modules:');
|
||||
require('architect-build/npm_build')({
|
||||
root: '.',
|
||||
dest: './build/webkitbuilds/app.nw',
|
||||
args: ['local','-s', 'local'],
|
||||
ignore: /^(pty.js)$/
|
||||
}, function(err, result) {
|
||||
var deps = result.roots;
|
||||
// add client plugins
|
||||
deps.push('node_modules/rusha', 'node_modules/nak');
|
||||
deps = deps.filter(function(x){
|
||||
if (!require('fs').statSync(x).isDirectory())
|
||||
return false;
|
||||
return true;
|
||||
});
|
||||
copy.dirs('$SOURCE', '$APPDIR', deps, {
|
||||
include: null,
|
||||
exclude: /^(mock|tests?|examples?|samples|Readme.*|build|dist|LICENSE|\\.(idea|grunt|jshintrc|npmignore|gitignore|travis.yml))\$|_test\\.js/i
|
||||
});
|
||||
});
|
||||
|
||||
console.log('local:');
|
||||
['index.html', 'projectManager.html'].forEach(function(p) {
|
||||
copy.file('$LOCAL/' + p, '$APPDIR/local/' + p, function(source) {
|
||||
return source.replace(/\/[/*]::dev:(:.*|{[\s\S]*?\/[/*]::dev:}.*)/g, '');
|
||||
});
|
||||
});
|
||||
|
||||
"
|
||||
|
||||
# copy the local package json to the root
|
||||
node -e "p=require('./local/package.json'); p.name = 'Cloud9'; p.main = 'local/projectManager.html'; p.revision = '$(git rev-parse HEAD)'; console.log(JSON.stringify(p, null, 2));" > $APPDIR/package.json
|
||||
|
||||
# remove unneeded files
|
||||
rm $APPDIR/plugins/c9.vfs.server/vfs.connect.hosted*
|
||||
rm $APPDIR/plugins/c9.vfs.server/last_access.js
|
||||
rm $APPDIR/plugins/c9.vfs.server/registry.js
|
||||
|
||||
cp $SOURCE/plugins/c9.connect.favicon/favicon.ico $APPDIR
|
||||
|
||||
# remove debug symbols
|
||||
cat $LOCALCFG | sed "s/options.debug *= .*/options.debug = false/" > $APPDIR/$LOCALCFG
|
||||
cat $SOURCE/settings/local.js | sed "s/config.packed = false;/config.dev = false;config.packed = true;/" > $APPDIR/settings/local.js
|
||||
|
||||
# set version
|
||||
date +%s > $APPDIR/version
|
||||
|
||||
# set nw version
|
||||
NWVERSION=0.9.3
|
||||
echo $NWVERSION > $APPDIR/nwversion
|
||||
|
||||
if [ "$COMPRESS" ]; then
|
||||
if [ "$OBFUSCATE" ]; then
|
||||
OPTS="{ obfuscate: true }"
|
||||
else
|
||||
OPTS="{}"
|
||||
fi
|
||||
node -e "require('architect-build/compress_folder')('$APPDIR', '$OPTS')"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
if [[ $os == "windows" ]]; then
|
||||
echo done!
|
||||
elif [ $os == "darwin" ]; then
|
||||
if [ ! -d $SOURCE/build/webkitbuilds/cache/mac/$NWVERSION ]; then
|
||||
mkdir -p $SOURCE/build/webkitbuilds/cache/mac/$NWVERSION/node-webkit.app
|
||||
pushd $SOURCE/build/webkitbuilds/cache/mac/$NWVERSION
|
||||
curl -O http://dl.node-webkit.org/v$NWVERSION/node-webkit-v$NWVERSION-pre8-osx-ia32.zip
|
||||
unzip node-webkit-v$NWVERSION-pre8-osx-ia32.zip
|
||||
popd
|
||||
fi
|
||||
|
||||
DEST="$SOURCE/build/webkitbuilds/releases/Cloud9/mac/Cloud9.app"
|
||||
RES="$DEST/Contents/Resources"
|
||||
|
||||
rm -rf "$DEST"
|
||||
mkdir -p "$RES"
|
||||
|
||||
cp -R $SOURCE/build/webkitbuilds/cache/mac/$NWVERSION/node-webkit.app/* $DEST
|
||||
|
||||
cp -R "$SOURCE/build/webkitbuilds/app.nw" "$RES"
|
||||
|
||||
# copy Infoplist
|
||||
cat $SOURCE/local/Info.plist > $DEST/Contents/Info.plist
|
||||
# copy icons
|
||||
rm $DEST/Contents/Resources/nw.icns
|
||||
cp $SOURCE/build/osx/c9.icns $DEST/Contents/Resources/nw.icns
|
||||
# make cli executable
|
||||
chmod +x $RES/app.nw/bin/c9
|
||||
else
|
||||
echo TODO
|
||||
fi
|
||||
145
build/build-standalone.sh
Executable file
@ -0,0 +1,145 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
while [ "$1" ]; do
|
||||
case "$1" in
|
||||
--compress) COMPRESS=1 ;;
|
||||
--obfuscate) OBFUSCATE=1 ;;
|
||||
*) echo "Unknown option: $1" >&2; exit 1 ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
uname="$(uname -a)"
|
||||
os=
|
||||
arch="$(uname -m)"
|
||||
case "$uname" in
|
||||
Linux\ *) os=linux ;;
|
||||
Darwin\ *) os=darwin ;;
|
||||
SunOS\ *) os=sunos ;;
|
||||
FreeBSD\ *) os=freebsd ;;
|
||||
CYGWIN*) os=windows ;;
|
||||
MINGW*) os=windows ;;
|
||||
esac
|
||||
case "$uname" in
|
||||
*x86_64*) arch=x64 ;;
|
||||
*i*86*) arch=x86 ;;
|
||||
*armv6l*) arch=arm-pi ;;
|
||||
esac
|
||||
|
||||
showStatus () { printf "\e[1A\e[0K\r%s\n" $1; }
|
||||
|
||||
cd `dirname $0`/..
|
||||
SOURCE=`pwd`
|
||||
|
||||
APPDIR=$SOURCE/build/standalonebuild
|
||||
|
||||
# init
|
||||
rm -Rf $APPDIR
|
||||
rm -Rf $SOURCE/build/webkitbuilds/releases
|
||||
|
||||
# copy the C9 source into the package
|
||||
mkdir -p $APPDIR
|
||||
mkdir -p $APPDIR/bin
|
||||
mkdir -p $APPDIR/build
|
||||
mkdir -p $APPDIR/configs
|
||||
mkdir -p $APPDIR/plugins
|
||||
mkdir -p $APPDIR/settings
|
||||
mkdir -p $APPDIR/scripts
|
||||
mkdir -p $APPDIR/node_modules
|
||||
|
||||
cp -a build/standalone $APPDIR/build
|
||||
cp -a server.js $APPDIR
|
||||
|
||||
# bin
|
||||
cp -a bin/c9 $APPDIR/bin
|
||||
|
||||
# configs
|
||||
cp configs/standalone.js $APPDIR/configs
|
||||
cp configs/cli.js $APPDIR/configs
|
||||
cp configs/client-default.js $APPDIR/configs
|
||||
|
||||
# settings
|
||||
cp settings/standalone.js $APPDIR/settings
|
||||
|
||||
# scripts
|
||||
cp -a scripts/makest* $APPDIR/scripts
|
||||
|
||||
|
||||
node -e "
|
||||
var fs = require('fs');
|
||||
var path = require('path');
|
||||
var copy = require('architect-build/copy');
|
||||
|
||||
function pluginDirs(plugins) {
|
||||
var map = Object.create(null);
|
||||
plugins.forEach(function(p) {
|
||||
p = p.packagePath || p;
|
||||
if (typeof p === 'string')
|
||||
map[path.dirname(p)] = 1;
|
||||
});
|
||||
return Object.keys(map);
|
||||
}
|
||||
|
||||
console.log('Client Plugins:');
|
||||
var plugins = require('./configs/client-default')(require('./settings/standalone')());
|
||||
copy.dirs('$SOURCE', '$APPDIR', pluginDirs(plugins), {
|
||||
include: /^(libmarkdown.js|loading.css|runners_list.js|builders_list.js)$/,
|
||||
exclude: /\\.(js|css|less|xml)$|^mock$/,
|
||||
onDir: function(e) { console.log('\x1b[1A\x1b[0K' + e) }
|
||||
});
|
||||
|
||||
console.log('CLI Plugins:');
|
||||
plugins = require('./configs/cli');
|
||||
copy.dirs('$SOURCE', '$APPDIR', pluginDirs(plugins), {
|
||||
exclude: /^mock$/,
|
||||
});
|
||||
|
||||
console.log('Node Modules:');
|
||||
require('architect-build/npm_build')({
|
||||
root: '.',
|
||||
dest: '$APPDIR',
|
||||
args: [],
|
||||
ignore: /^(pty.js)$|c9.ide.language.jsonalyzer/
|
||||
}, function(err, result) {
|
||||
var deps = result.roots;
|
||||
// add client plugins
|
||||
deps.push('node_modules/rusha', 'node_modules/nak');
|
||||
deps = deps.filter(function(x){
|
||||
if (!require('fs').statSync(x).isDirectory())
|
||||
return false;
|
||||
return true;
|
||||
});
|
||||
// console.log(deps)
|
||||
copy.dirs('$SOURCE', '$APPDIR', deps, {
|
||||
include: null,
|
||||
exclude: /^(mock|tests?|examples?|samples|Readme.*|build|dist|\.(idea|grunt|jshintrc|npmignore|gitignore|travis.yml))$/i
|
||||
});
|
||||
});
|
||||
"
|
||||
|
||||
# add package.json
|
||||
node -e "p=require('./package.json'); p.name = 'Cloud9'; p.revision = '$(git rev-parse HEAD)'; console.log(JSON.stringify(p, null, 2));" > $APPDIR/package.json
|
||||
|
||||
|
||||
# remove unneeded files
|
||||
rm -f $APPDIR/plugins/c9.vfs.server/vfs.connect.hosted*
|
||||
rm -f $APPDIR/plugins/c9.vfs.server/last_access.js
|
||||
rm -f $APPDIR/plugins/c9.vfs.server/registry.js
|
||||
|
||||
cp $SOURCE/plugins/c9.connect.favicon/favicon.ico $APPDIR
|
||||
|
||||
# remove debug symbols
|
||||
cat $SOURCE/settings/standalone.js | sed "s/packed: false,/packed: true,/" | sed "s/collab: true,/collab: false,/" > $APPDIR/settings/standalone.js
|
||||
|
||||
# set version
|
||||
date +%s > $APPDIR/version
|
||||
|
||||
# compress
|
||||
if [ "$COMPRESS" ]; then
|
||||
if [ "$OBFUSCATE" ]; then
|
||||
OPTS="{ obfuscate: true }"
|
||||
else
|
||||
OPTS=""
|
||||
fi
|
||||
node -e "require('architect-build/compress_folder')('$APPDIR', '$OPTS')"
|
||||
fi
|
||||
BIN
build/osx/c9.icns
Normal file
BIN
build/win32/Cloud9.ico
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
build/win32/icon.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
64
configs/cdn-cli.js
Normal file
@ -0,0 +1,64 @@
|
||||
module.exports = function(config, optimist) {
|
||||
optimist
|
||||
.describe("config", "name of the client config to compile")
|
||||
.describe("server-config", "name of the client server config to take the statics from")
|
||||
.default("server-config", "ide")
|
||||
.describe("server-settings", "name of the server settings")
|
||||
.default("server-settings", "devel")
|
||||
.describe("skin", "name of the skin to compile")
|
||||
.describe("module", "name of the module to compile")
|
||||
.describe("worker", "name of the worker to compile")
|
||||
.describe("compress", "whether to uglify the output", config.cdn.compress)
|
||||
.boolean("compress")
|
||||
.describe("obfuscate", "whether to obfuscate variable names in the output", config.cdn.obfuscate)
|
||||
.boolean("obfuscate")
|
||||
.describe("local", "whether to compile for the local version", false)
|
||||
.boolean("local")
|
||||
.describe("keep-less", "whether to keep less/css in the compiled config", false)
|
||||
.boolean("keep-less")
|
||||
.describe("compress-output-dir-prefix", "folder prefix to add compressed files in addition to uncompressed files")
|
||||
.boolean("link-cdn-files")
|
||||
.default("link-cdn-files", false)
|
||||
.boolean("skip-duplicates")
|
||||
.describe("skip-duplicates", "whether to build files for identical configs", false)
|
||||
.boolean("copy-static-resources")
|
||||
.describe("cache", "cache directory", config.cdn.cacheDir)
|
||||
.describe("version", "overrride version", config.cdn.version);
|
||||
|
||||
var argv = optimist.argv;
|
||||
if (argv.help)
|
||||
return null;
|
||||
|
||||
return [
|
||||
"./c9.static/connect-static",
|
||||
{
|
||||
packagePath: "./c9.static/build",
|
||||
version: argv.version,
|
||||
cache: argv.cache,
|
||||
compress: argv.compress,
|
||||
obfuscate: argv.obfuscate,
|
||||
baseUrl: config.cdn.baseUrl + "/" + config.cdn.version,
|
||||
config: argv["server-config"],
|
||||
settings: argv["server-settings"],
|
||||
keepLess: argv["keep-less"],
|
||||
link: argv["link-cdn-files"]
|
||||
}, {
|
||||
packagePath: "./c9.static/cdn.cli",
|
||||
skin: argv.skin,
|
||||
config: argv.config,
|
||||
worker: argv.worker,
|
||||
module: argv.module,
|
||||
withSkins: argv["with-skins"],
|
||||
skipDuplicates: argv["skip-duplicates"],
|
||||
copyStaticResources: argv["copy-static-resources"],
|
||||
compressOutputDirPrefix: argv["compress-output-dir-prefix"],
|
||||
compress: argv.compress,
|
||||
obfuscate: argv.obfuscate,
|
||||
}, {
|
||||
packagePath: "./c9.core/ext"
|
||||
}, {
|
||||
packagePath: "./c9.logtimestamp/logtimestamp",
|
||||
mode: config.mode
|
||||
},
|
||||
];
|
||||
};
|
||||
28
configs/cdn.js
Normal file
@ -0,0 +1,28 @@
|
||||
module.exports = function(config) {
|
||||
return [{
|
||||
packagePath: "connect-architect/connect",
|
||||
port: config.cdn.port,
|
||||
host: config.cdn.host
|
||||
},
|
||||
"connect-architect/connect.static",
|
||||
{
|
||||
packagePath: "./c9.static/cdn",
|
||||
cacheFiles: true
|
||||
}, {
|
||||
packagePath: "./c9.static/build",
|
||||
version: config.cdn.version,
|
||||
cache: config.cdn.cacheDir,
|
||||
compress: config.cdn.compress,
|
||||
baseUrl: config.cdn.baseUrl + "/" + config.cdn.version
|
||||
}, {
|
||||
packagePath: "connect-architect/connect.cors"
|
||||
}, {
|
||||
packagePath: "connect-architect/connect.logger"
|
||||
}, {
|
||||
packagePath: "./c9.core/ext"
|
||||
}, {
|
||||
packagePath: "./c9.logtimestamp/logtimestamp",
|
||||
mode: config.mode
|
||||
},
|
||||
];
|
||||
};
|
||||
157
configs/cli.js
Normal file
@ -0,0 +1,157 @@
|
||||
module.exports = function(options) {
|
||||
|
||||
var EventEmitter = require("events").EventEmitter;
|
||||
|
||||
var PID = process.env.C9_PID || 526;
|
||||
var APIHOST = process.env.C9_APIHOST || "api.c9.io"; // "api.c9.io";
|
||||
var APIURL = APIHOST.indexOf("localhost") > -1
|
||||
? "http://" + APIHOST
|
||||
: "https://" + APIHOST;
|
||||
var AUTHURL = APIHOST.indexOf("localhost") > -1
|
||||
? "http://" + APIHOST
|
||||
: "https://" + APIHOST.replace(/api\./, "");
|
||||
|
||||
return [
|
||||
"./c9.core/ext",
|
||||
{
|
||||
packagePath: "./c9.fs/fs",
|
||||
baseProc: process.cwd(),
|
||||
cli: true
|
||||
},
|
||||
{
|
||||
packagePath: "./c9.fs/net"
|
||||
},
|
||||
{
|
||||
packagePath: "./c9.fs/proc",
|
||||
baseProc: process.cwd()
|
||||
},
|
||||
"./c9.vfs.client/vfs.cli",
|
||||
"./c9.cli/cli",
|
||||
{
|
||||
packagePath: "./c9.cli/auth.bootstrap",
|
||||
authUrl: AUTHURL
|
||||
},
|
||||
{
|
||||
packagePath: "./c9.cli.publish/publish",
|
||||
projectId: PID,
|
||||
apiHost: APIHOST
|
||||
},
|
||||
{
|
||||
packagePath: "./c9.ide.auth/auth",
|
||||
accessToken: "token",
|
||||
ideBaseUrl: "",
|
||||
apiUrl: APIURL
|
||||
// userId: process.env.C9_USER
|
||||
},
|
||||
{
|
||||
packagePath: "./c9.core/api",
|
||||
apiUrl: APIURL,
|
||||
projectId: PID
|
||||
},
|
||||
{
|
||||
packagePath: "./c9.core/http-node"
|
||||
// debug: !options.packed
|
||||
},
|
||||
{
|
||||
packagePath: "./c9.cli.bridge/bridge-client",
|
||||
port: 17123
|
||||
},
|
||||
// "./c9.cli.mount/mount",
|
||||
{
|
||||
packagePath: "./c9.cli.open/open",
|
||||
platform: process.platform
|
||||
},
|
||||
{
|
||||
packagePath: "./c9.cli.open/restart",
|
||||
platform: process.platform
|
||||
},
|
||||
// "./c9.cli.sync/sync",
|
||||
//"./c9.ide.keys/commands",
|
||||
{
|
||||
consumes: [],
|
||||
provides: ["settings", "workspace", "cli_commands", "c9"],
|
||||
setup: function(options, imports, register) {
|
||||
register(null, {
|
||||
// @todo share with ace min
|
||||
c9 : {
|
||||
startdate: new Date(),
|
||||
debug: true,
|
||||
hosted: false,
|
||||
local: true,
|
||||
setStatus: function(){}
|
||||
},
|
||||
workspace: (function(){
|
||||
var ws = new EventEmitter();
|
||||
ws.connect = function(name, callback) {
|
||||
callback(null, {
|
||||
hostname: "54.242.22.91",
|
||||
username: "ubuntu",
|
||||
rootPath: "/home/ubuntu/newclient/",
|
||||
setupSshConnection: function(callback) {
|
||||
callback();
|
||||
}
|
||||
});
|
||||
};
|
||||
return ws;
|
||||
})(),
|
||||
cli_commands: (function(){
|
||||
var cmds = new EventEmitter();
|
||||
var commands = {};
|
||||
cmds.commands = commands;
|
||||
cmds.addCommand = function(def) {
|
||||
commands[def.name] = def;
|
||||
};
|
||||
cmds.exec = function(name, args) {
|
||||
if (!commands[name])
|
||||
throw new Error("Unknown command: " + name);
|
||||
commands[name].exec(args);
|
||||
};
|
||||
return cmds;
|
||||
})(),
|
||||
http: new EventEmitter(),
|
||||
settings: (function(){
|
||||
var settings = new EventEmitter();
|
||||
var data = {};
|
||||
|
||||
settings.migrate = function(){};
|
||||
settings.setDefaults = function(type, def) {
|
||||
var props = {};
|
||||
def.forEach(function(d){ props[d[0]] = d[1] });
|
||||
data[type] = props;
|
||||
};
|
||||
|
||||
settings.getBool = function(p) {
|
||||
return settings.get(p) == "true";
|
||||
};
|
||||
settings.get = function(p) {
|
||||
var type = p.substr(0, p.lastIndexOf("/"));
|
||||
var prop = p.substr(p.lastIndexOf("/") + 2);
|
||||
return data[type] && data[type][prop] || "";
|
||||
};
|
||||
settings.getJson = function(p) {
|
||||
try {
|
||||
return JSON.parse(settings.get(p));
|
||||
}catch(e){ return false }
|
||||
};
|
||||
settings.getNumber = function(p) {
|
||||
return Number(settings.get(p));
|
||||
};
|
||||
|
||||
settings.emit("read");
|
||||
settings.on("newListener", function(event, listener) {
|
||||
if (event == "read") listener();
|
||||
});
|
||||
|
||||
return settings;
|
||||
})(),
|
||||
auth: {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
if (!module.parent) require("../server")([__filename].concat(process.argv.slice(2)));
|
||||
689
configs/client-default.js
Normal file
@ -0,0 +1,689 @@
|
||||
var assert = require("assert");
|
||||
|
||||
|
||||
module.exports = function(options) {
|
||||
assert(options.staticPrefix, "Option 'staticPrefix' must be set");
|
||||
assert(options.workspaceDir, "Option 'workspaceDir' must be set");
|
||||
assert(options.workspaceId, "Option 'workspaceId' must be set");
|
||||
assert(options.workspaceName, "Option 'workspaceName' must be set");
|
||||
assert(options.home, "Option 'home' must be set");
|
||||
assert(options.platform, "Option 'platform' must be set");
|
||||
|
||||
var workspaceDir = options.workspaceDir;
|
||||
var debug = options.debug !== undefined ? options.debug : false;
|
||||
var collab = options.collab;
|
||||
var packaging = options.packaging;
|
||||
var staticPrefix = options.staticPrefix;
|
||||
var ssh = options.ssh;
|
||||
|
||||
var nodeBin = options.nodeBin || ["node"];
|
||||
var nodePath = options.nodePath || "";
|
||||
|
||||
var runners = options.runners || {};
|
||||
var builders = options.builders || {};
|
||||
var hosted = !options.local && !options.dev;
|
||||
var devel = options.standalone && !options.local || options.mode === "devel" || options.dev;
|
||||
|
||||
var localExtendFiles = options.localExtend || options.standalone;
|
||||
// allow extend code access only to C9-deveoped plugins
|
||||
var extendToken = options.extendToken || "token";
|
||||
|
||||
var plugins = [
|
||||
// C9
|
||||
{
|
||||
packagePath: "plugins/c9.core/c9",
|
||||
|
||||
startdate: new Date(),
|
||||
version: options.manifest.version + " (" + options.manifest.revision + ")",
|
||||
debug: debug,
|
||||
workspaceId: options.workspaceId,
|
||||
workspaceDir: workspaceDir,
|
||||
name: options.workspaceName,
|
||||
readonly: options.readonly,
|
||||
isAdmin: options.isAdmin,
|
||||
staticUrl: staticPrefix,
|
||||
hosted: hosted,
|
||||
hostname: options.appHostname,
|
||||
local: options.local,
|
||||
env: options.env || "devel",
|
||||
home: options.home,
|
||||
platform: options.platform,
|
||||
installed: options.installed,
|
||||
projectId: options.project.id,
|
||||
projectName: options.projectName || "Project",
|
||||
configName: options.configName,
|
||||
standalone: options.standalone
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.core/settings",
|
||||
settings: options.settings,
|
||||
userConfigPath: options.settingDir,
|
||||
hosted: hosted
|
||||
},
|
||||
"plugins/c9.core/ext",
|
||||
{
|
||||
packagePath: "plugins/c9.core/http-xhr",
|
||||
debug: !options.packed
|
||||
},
|
||||
// {
|
||||
// packagePath: "plugins/c9.core/client",
|
||||
// baseUrl: options.apiUrl
|
||||
// },
|
||||
"plugins/c9.core/util",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.plugins/loader",
|
||||
plugins: options.plugins || []
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.plugins/installer",
|
||||
updates: options.pluginUpdates || []
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.plugins/manager",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.plugins"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.plugins/debug"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.plugins/market"
|
||||
},
|
||||
|
||||
// VFS
|
||||
"plugins/c9.vfs.client/vfs.ping",
|
||||
{
|
||||
packagePath: "plugins/c9.vfs.client/vfs_client",
|
||||
withInstall: false,
|
||||
debug: debug,
|
||||
installPath: options.installPath,
|
||||
dashboardUrl: options.dashboardUrl,
|
||||
accountUrl: options.accountUrl
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.vfs.client/endpoint",
|
||||
readonly: options.readonly,
|
||||
region: options.region,
|
||||
pid: options.project.id,
|
||||
servers: options.vfsServers,
|
||||
updateServers: hosted
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.auth/auth",
|
||||
accessToken: options.accessToken || "token",
|
||||
ideBaseUrl: options.ideBaseUrl,
|
||||
apiUrl: options.apiUrl,
|
||||
userId: options.user.id
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.core/api",
|
||||
apiUrl: options.apiUrl,
|
||||
projectId: options.project.id
|
||||
},
|
||||
|
||||
// Editors
|
||||
"plugins/c9.ide.editors/document",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.editors/editors",
|
||||
defaultEditor: "ace"
|
||||
},
|
||||
"plugins/c9.ide.editors/editor",
|
||||
"plugins/c9.ide.editors/imgview",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.imgeditor/imgeditor",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.imgeditor"
|
||||
},
|
||||
"plugins/c9.ide.editors/urlview",
|
||||
// "plugins/c9.ide.editors/htmlview",
|
||||
"plugins/c9.ide.editors/tab",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.editors/tabmanager",
|
||||
loadFilesAtInit: false
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.editors/metadata"
|
||||
},
|
||||
"plugins/c9.ide.editors/pane",
|
||||
"plugins/c9.ide.editors/undomanager",
|
||||
|
||||
"plugins/c9.ide.newresource/newresource",
|
||||
"plugins/c9.ide.newresource/open",
|
||||
"plugins/c9.ide.undo/undo",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.closeconfirmation/closeconfirmation",
|
||||
defaultValue: options.local
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.openfiles/openfiles",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic",
|
||||
defaultShow: options.local
|
||||
},
|
||||
|
||||
// Ace && Commands
|
||||
"plugins/c9.ide.keys/commands",
|
||||
"plugins/c9.ide.keys/editor",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.ace/ace",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic",
|
||||
workerPrefix: options.workerPrefix
|
||||
},
|
||||
"plugins/c9.ide.ace/themes",
|
||||
"plugins/c9.ide.ace.stripws/stripws",
|
||||
"plugins/c9.ide.ace.repl/editor",
|
||||
// "plugins/c9.ide.ace.split/split",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.ace.gotoline/gotoline",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.ace.gotoline"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.ace.statusbar/statusbar",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic"
|
||||
},
|
||||
"plugins/c9.ide.ace.keymaps/keymaps",
|
||||
"plugins/c9.ide.ace.keymaps/cli",
|
||||
|
||||
|
||||
"plugins/c9.ide.ace.emmet/emmet",
|
||||
// Find
|
||||
{
|
||||
packagePath: "plugins/c9.ide.find/find",
|
||||
basePath: workspaceDir
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.find/find.nak",
|
||||
ignore: "",
|
||||
useHttp: true,
|
||||
basePath: workspaceDir,
|
||||
installPath: options.installPath,
|
||||
nak: options.nakBin || "~/.c9/node_modules/nak/bin/nak",
|
||||
node: options.nodeBin,
|
||||
local: options.local,
|
||||
installPath: options.installPath
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.find.infiles/findinfiles",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.find.infiles"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.find.replace/findreplace",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.find.replace"
|
||||
},
|
||||
|
||||
// UI
|
||||
{
|
||||
packagePath: "plugins/c9.ide.ui/ui",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.ui"
|
||||
},
|
||||
"plugins/c9.ide.ui/anims",
|
||||
"plugins/c9.ide.ui/tooltip",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.ui/menus",
|
||||
autoInit: !options.local
|
||||
},
|
||||
"plugins/c9.ide.ui/forms",
|
||||
"plugins/c9.ide.ui/focus",
|
||||
"plugins/c9.ide.ui/lib_apf",
|
||||
|
||||
"plugins/c9.ide.dialog/dialog",
|
||||
"plugins/c9.ide.dialog.common/alert",
|
||||
"plugins/c9.ide.dialog.common/alert_internal",
|
||||
"plugins/c9.ide.dialog.common/confirm",
|
||||
"plugins/c9.ide.dialog.common/filechange",
|
||||
"plugins/c9.ide.dialog.common/fileoverwrite",
|
||||
"plugins/c9.ide.dialog.common/fileremove",
|
||||
"plugins/c9.ide.dialog.common/question",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.dialog.common/error",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.dialog.common/notification",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.dialog.login/login",
|
||||
noLogout: !options.local
|
||||
},
|
||||
"plugins/c9.ide.dialog.file/filesave",
|
||||
"plugins/c9.ide.dialog.wizard/wizard",
|
||||
|
||||
// VFS
|
||||
"plugins/c9.fs/proc",
|
||||
"plugins/c9.fs/proc.apigen",
|
||||
"plugins/c9.fs/net",
|
||||
{
|
||||
packagePath: "plugins/c9.fs/fs",
|
||||
baseProc: workspaceDir
|
||||
},
|
||||
"plugins/c9.fs/fs.errors",
|
||||
"plugins/c9.fs/fs.cache.xml",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.readonly/access_control",
|
||||
dashboardUrl: options.dashboardUrl,
|
||||
readonly: options.readonly
|
||||
},
|
||||
|
||||
// Watcher
|
||||
"plugins/c9.ide.threewaymerge/threewaymerge",
|
||||
"plugins/c9.ide.watcher/watcher",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.watcher/gui",
|
||||
collab: collab
|
||||
},
|
||||
|
||||
// Language
|
||||
{
|
||||
packagePath: "plugins/c9.ide.language/language",
|
||||
workspaceDir: workspaceDir,
|
||||
workerPrefix: options.CORSWorkerPrefix // "/static/standalone/worker"
|
||||
},
|
||||
"plugins/c9.ide.language/keyhandler",
|
||||
"plugins/c9.ide.language/complete",
|
||||
"plugins/c9.ide.language/marker",
|
||||
"plugins/c9.ide.language/refactor",
|
||||
"plugins/c9.ide.language/tooltip",
|
||||
"plugins/c9.ide.language/jumptodef",
|
||||
"plugins/c9.ide.language/worker_util_helper",
|
||||
"plugins/c9.ide.language.generic/generic",
|
||||
"plugins/c9.ide.language.css/css",
|
||||
"plugins/c9.ide.language.html/html",
|
||||
"plugins/c9.ide.language.javascript/javascript",
|
||||
"plugins/c9.ide.language.javascript.immediate/immediate",
|
||||
"plugins/c9.ide.language.javascript.infer/jsinfer",
|
||||
"plugins/c9.ide.language.javascript.tern/tern",
|
||||
"plugins/c9.ide.language.javascript.tern/architect_resolver",
|
||||
"plugins/c9.ide.language.javascript.eslint/eslint",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.language.jsonalyzer/jsonalyzer",
|
||||
extendToken: extendToken,
|
||||
workspaceDir: workspaceDir,
|
||||
homeDir: options.home,
|
||||
bashBin: options.bashBin,
|
||||
useCollab: collab,
|
||||
useSend: !collab && (options.local || options.standalone),
|
||||
maxServerCallInterval: 2000
|
||||
},
|
||||
|
||||
// Run
|
||||
{
|
||||
packagePath: "plugins/c9.ide.run/run",
|
||||
base: workspaceDir,
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.run",
|
||||
tmux: options.tmux,
|
||||
runners: runners,
|
||||
installPath: options.correctedInstallPath,
|
||||
local: options.local
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.run/gui",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic",
|
||||
defaultConfigs: {}
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.run.build/build",
|
||||
base: workspaceDir,
|
||||
builders: builders
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.run.build/gui"
|
||||
},
|
||||
// "plugins/c9.ide.run.debug/debuggers/sourcemap",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.run.debug/debuggers/debugger",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.run.debug/debuggers/v8/v8debugger",
|
||||
basePath: workspaceDir
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.run.debug/debuggers/socket",
|
||||
nodeBin: nodeBin
|
||||
},
|
||||
"plugins/c9.ide.run.debug/breakpoints",
|
||||
"plugins/c9.ide.run.debug/debugpanel",
|
||||
"plugins/c9.ide.run.debug/callstack",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.immediate/immediate",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic"
|
||||
},
|
||||
"plugins/c9.ide.immediate/evaluator",
|
||||
"plugins/c9.ide.immediate/evaluators/browserjs",
|
||||
"plugins/c9.ide.immediate/evaluators/debugnode",
|
||||
"plugins/c9.ide.run.debug/variables",
|
||||
"plugins/c9.ide.run.debug/watches",
|
||||
"plugins/c9.ide.run.debug/liveinspect",
|
||||
|
||||
// Console
|
||||
{
|
||||
packagePath: "plugins/c9.ide.terminal/terminal",
|
||||
tmux: options.tmux,
|
||||
root: workspaceDir,
|
||||
tmpdir: options.tmpdir,
|
||||
shell: options.shell || "",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.terminal",
|
||||
installPath: options.correctedInstallPath
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.terminal/predict_echo"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.terminal/link_handler",
|
||||
previewUrl: options.previewUrl
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.terminal.monitor/monitor",
|
||||
bashBin: options.bashBin
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.terminal.monitor/message_view",
|
||||
staticPrefix: options.staticPrefix + "/plugins/c9.ide.layout.classic"
|
||||
},
|
||||
"plugins/c9.ide.terminal/opentermhere",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.run/output",
|
||||
staticPrefix: options.staticPrefix + "/plugins/c9.ide.layout.classic",
|
||||
tmux: options.tmux,
|
||||
basePath: workspaceDir
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.console/console",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic"
|
||||
},
|
||||
|
||||
// Layout & Panels
|
||||
{
|
||||
packagePath: "plugins/c9.ide.layout.classic/layout",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic",
|
||||
dashboardUrl: options.dashboardUrl,
|
||||
cdn: options.useCdn
|
||||
},
|
||||
"plugins/c9.ide.theme.flat/flat-light",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.layout.classic/preload",
|
||||
themePrefix: options.themePrefix
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.tree/tree",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic",
|
||||
defaultExpanded: true
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.tree/favorites",
|
||||
startEmpty: options.local,
|
||||
alwaysScope: options.local,
|
||||
realRoot: true,
|
||||
home: options.local ? options.home : "~"
|
||||
},
|
||||
"plugins/c9.ide.mount/mount",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.mount/ftp",
|
||||
curlftpfsBin: options.mount.curlftpfsBin,
|
||||
fusermountBin: options.mount.fusermountBin
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.mount/sftp",
|
||||
sshfsBin: options.mount.sshfsBin,
|
||||
fusermountBin: options.mount.fusermountBin
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.upload/dragdrop",
|
||||
treeAsPane: options.local
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.upload/upload",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.upload"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.upload/upload_manager",
|
||||
workerPrefix: "plugins/c9.ide.upload"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.upload/upload_progress",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.navigate/navigate",
|
||||
loadListAtInit: false
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.keys/panel"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.language/outline",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.language"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.panels/panels",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic",
|
||||
defaultActiveLeft: "tree"
|
||||
},
|
||||
"plugins/c9.ide.panels/panel",
|
||||
"plugins/c9.ide.panels/area",
|
||||
"plugins/c9.ide.installer/installer_mock",
|
||||
|
||||
// Previewer
|
||||
{
|
||||
packagePath: "plugins/c9.ide.preview/preview",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.preview",
|
||||
defaultPreviewer: "preview.browser",
|
||||
previewUrl: options.previewUrl,
|
||||
local: options.local
|
||||
},
|
||||
"plugins/c9.ide.preview/previewer",
|
||||
"plugins/c9.ide.preview/previewers/raw",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.preview.browser/browser",
|
||||
local: options.local
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.preview.markdown/markdown",
|
||||
staticPrefix: staticPrefix,
|
||||
htmlPath: "/plugins/c9.ide.preview.markdown/markdown.html",
|
||||
local: options.local
|
||||
},
|
||||
"plugins/c9.ide.remote/manager",
|
||||
"plugins/c9.ide.remote/documents/htmldocument",
|
||||
"plugins/c9.ide.remote/documents/cssdocument",
|
||||
"plugins/c9.ide.remote/documents/jsdocument",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.remote/transports/postmessage",
|
||||
previewBaseUrl: options.previewBaseUrl
|
||||
},
|
||||
// "plugins/c9.ide.remote/transports/debugger",
|
||||
// "plugins/c9.ide.remote/transports/websocket",
|
||||
|
||||
// Formatters
|
||||
"plugins/c9.ide.format/format",
|
||||
"plugins/c9.ide.format/formatters/jsbeautify",
|
||||
|
||||
// Other
|
||||
{
|
||||
packagePath: "plugins/c9.ide.info/info",
|
||||
installPath: options.installPath,
|
||||
user: {
|
||||
id: options.user.id,
|
||||
name: options.user.name,
|
||||
fullname: options.user.fullname,
|
||||
email: options.user.email,
|
||||
pubkey: options.user.pubkey,
|
||||
date_add: options.user.date_add,
|
||||
active: options.user.active,
|
||||
alpha: options.user.alpha,
|
||||
beta: options.user.beta,
|
||||
c9version: options.user.c9version,
|
||||
no_newsletter: options.user.no_newsletter,
|
||||
subscription_on_signup: options.user.subscription_on_signup,
|
||||
premium: options.user.premium,
|
||||
region: options.user.region
|
||||
},
|
||||
project: {
|
||||
id: options.project.id,
|
||||
name: options.project.name,
|
||||
contents: options.project.contents,
|
||||
descr: options.project.descr,
|
||||
remote: options.project.remote
|
||||
}
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.welcome/welcome",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.welcome",
|
||||
intro: "Welcome to Cloud9. Use this welcome screen "
|
||||
+ "to tweak the look & feel of the Cloud9 user interface. ",
|
||||
checkOS: true
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.cli.bridge/bridge",
|
||||
port: 17123,
|
||||
startBridge: options.startBridge
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.cli.bridge/bridge_commands",
|
||||
basePath: workspaceDir
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.help.support/support",
|
||||
baseurl: options.ideBaseUrl,
|
||||
userSnapApiKey: options.support.userSnapApiKey,
|
||||
screenshotSupport: true
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.help/help",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.help"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.configuration/configure"
|
||||
},
|
||||
"plugins/c9.ide.save/save",
|
||||
"plugins/c9.ide.recentfiles/recentfiles",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.save/autosave"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.clipboard/clipboard",
|
||||
local: options.local
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.clipboard/html5"
|
||||
},
|
||||
"plugins/c9.ide.behaviors/tabs",
|
||||
// {
|
||||
// packagePath: "plugins/c9.ide.behaviors/dashboard",
|
||||
// staticPrefix : staticPrefix + "/plugins/c9.ide.behaviors"
|
||||
// },
|
||||
{
|
||||
packagePath: "plugins/c9.ide.behaviors/page",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.behaviors"
|
||||
},
|
||||
"plugins/c9.ide.browsersupport/browsersupport",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.preferences/preferences",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.preferences"
|
||||
},
|
||||
"plugins/c9.ide.preferences/preferencepanel",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.preferences/general",
|
||||
installPath: options.installPath,
|
||||
local: options.local
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.preferences/project",
|
||||
basePath: workspaceDir,
|
||||
local: options.local
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.pubsub/pubsub-client",
|
||||
extendToken: extendToken
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.collab/notifications/bubble",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.collab/notifications"
|
||||
},
|
||||
];
|
||||
|
||||
if (packaging || !devel) {
|
||||
plugins.push({
|
||||
packagePath: "plugins/c9.ide.errorhandler/raygun_error_handler",
|
||||
version: options.manifest.version,
|
||||
revision: options.manifest.revision,
|
||||
apiKey: options.raygun.apiKey || options.raygun.client.apiKey
|
||||
});
|
||||
}
|
||||
if (packaging || devel) {
|
||||
plugins.push({
|
||||
packagePath: "plugins/c9.ide.errorhandler/simple_error_handler",
|
||||
version: options.manifest.version,
|
||||
revision: options.manifest.revision
|
||||
});
|
||||
}
|
||||
|
||||
// Collab
|
||||
if (packaging || !collab) {
|
||||
plugins.push(
|
||||
"plugins/c9.ide.language.jsonalyzer/mock_collab"
|
||||
);
|
||||
}
|
||||
if (packaging || collab) {
|
||||
plugins.push(
|
||||
{
|
||||
packagePath: "plugins/c9.ide.collab/connect",
|
||||
extendToken: extendToken,
|
||||
enable: collab,
|
||||
debug: debug,
|
||||
localServerFile: localExtendFiles,
|
||||
nodeBin: nodeBin,
|
||||
nodePath: nodePath,
|
||||
basePath: workspaceDir
|
||||
},
|
||||
"plugins/c9.ide.collab/collab",
|
||||
"plugins/c9.ide.collab/collabpanel",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.collab/workspace",
|
||||
hosted: hosted,
|
||||
isAdmin: options.isAdmin
|
||||
},
|
||||
"plugins/c9.ide.collab/util",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.collab/ot/document",
|
||||
minDelay: 500,
|
||||
maxDelay: 10000
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.collab/cursor_layer",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.collab"
|
||||
},
|
||||
"plugins/c9.ide.collab/author_layer",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.collab/timeslider/timeslider",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.collab/timeslider"
|
||||
},
|
||||
// Collab panels
|
||||
{
|
||||
packagePath: "plugins/c9.ide.collab/notifications/notifications",
|
||||
hosted: hosted,
|
||||
isAdmin: options.isAdmin
|
||||
},
|
||||
"plugins/c9.ide.collab/members/members_panel",
|
||||
{
|
||||
packagePath: "plugins/c9.ide.collab/share/share",
|
||||
previewUrl: options.previewUrl,
|
||||
local: options.local
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.collab/members/members",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic"
|
||||
},
|
||||
{
|
||||
packagePath: "plugins/c9.ide.collab/chat/chat",
|
||||
staticPrefix: staticPrefix + "/plugins/c9.ide.collab/chat"
|
||||
});
|
||||
}
|
||||
|
||||
return plugins;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
14
configs/local.js
Normal file
@ -0,0 +1,14 @@
|
||||
module.exports = function(options, optimist) {
|
||||
var plugins = require("./standalone")(options, optimist);
|
||||
|
||||
options.inProcessLocalFs = true;
|
||||
|
||||
plugins.forEach(function(p) {
|
||||
if (p.packagePath)
|
||||
p.packagePath = p.packagePath.replace("vfs.connect.standalone", "vfs.connect.local");
|
||||
});
|
||||
|
||||
return plugins;
|
||||
};
|
||||
|
||||
if (!module.parent) require("../server")([__filename].concat(process.argv.slice(2)));
|
||||
214
configs/standalone.js
Normal file
@ -0,0 +1,214 @@
|
||||
module.exports = function(config, optimist) {
|
||||
|
||||
var path = require("path");
|
||||
|
||||
if (!optimist.local) {
|
||||
optimist
|
||||
.boolean("t")
|
||||
.describe("t", "Start in test mode")
|
||||
.describe("k", "Kill tmux server in test mode")
|
||||
.default("b", false)
|
||||
.describe("b", "Start the bridge server - to receive commands from the cli")
|
||||
.default("w", config.workspaceDir)
|
||||
.describe("w", "Workspace directory")
|
||||
.alias("p", "port")
|
||||
.default("port", process.env.PORT || config.port)
|
||||
.describe("port", "Port")
|
||||
.alias("d", "debug")
|
||||
.default("debug", false)
|
||||
.describe("debug", "Turn debugging on")
|
||||
.alias("l", "listen")
|
||||
.default("listen", process.env.IP || config.host)
|
||||
.describe("listen", "IP address of the server")
|
||||
.boolean("help")
|
||||
.describe("workspacetype", "The workspace type to use")
|
||||
.alias("ws", "workspacetype")
|
||||
.describe("readonly", "Run in read only mode")
|
||||
.alias("ro", "readonly")
|
||||
.describe("packed", "Whether to use the packed version.")
|
||||
.boolean("packed")
|
||||
.default("packed", config.packed)
|
||||
.alias("a", "auth")
|
||||
.boolean("hosted")
|
||||
.describe("hosted", "Use default config of the hosted version")
|
||||
.default("hosted", false)
|
||||
.describe("auth", "Basic Auth username:password")
|
||||
.default("auth", ":")
|
||||
.describe("collab", "Whether to enable collab.")
|
||||
.default("collab", config.collab)
|
||||
.describe("cache", "use cached version of cdn files")
|
||||
.default("cache", true)
|
||||
.describe("setting-path", "The path to store the settings.")
|
||||
.boolean("inProcessLocalFs")
|
||||
.describe("inProcessLocalFs", "Whether to run localfs in same process for debugging.")
|
||||
.default("inProcessLocalFs", config.inProcessLocalFs);
|
||||
}
|
||||
|
||||
var argv = optimist.argv;
|
||||
if (argv.help)
|
||||
return null;
|
||||
|
||||
var testing = argv.t;
|
||||
var baseProc = path.normalize(testing
|
||||
? __dirname + "/../plugins/c9.fs/mock"
|
||||
: argv.w || (__dirname + "/../"));
|
||||
|
||||
// if (testing && !argv["setting-path"])
|
||||
// argv["setting-path"] = "/tmp/.c9";
|
||||
|
||||
if (baseProc != "/" && baseProc != "\\") // special case / for windows
|
||||
baseProc = path.resolve(baseProc);
|
||||
|
||||
process.env.BASE_PROC = baseProc;
|
||||
|
||||
var port = argv.p;
|
||||
var host = argv.l;
|
||||
var debug = argv.d;
|
||||
var readonly = argv.readonly;
|
||||
var startBridge = argv.b;
|
||||
|
||||
config.port = port || argv.port;
|
||||
config.host = host || argv.listen;
|
||||
|
||||
if (argv.collab != null)
|
||||
config.collab = argv.collab;
|
||||
|
||||
var workspaceType = argv.workspacetype || null;
|
||||
|
||||
if (argv.hosted)
|
||||
config.client_config = "default-hosted";
|
||||
|
||||
config.workspaceDir = baseProc;
|
||||
config.settingDir = argv["setting-path"];
|
||||
config.projectName = path.basename(baseProc);
|
||||
config.testing = testing;
|
||||
config.debug = debug;
|
||||
|
||||
if (!config.startBridge)
|
||||
config.startBridge = startBridge;
|
||||
|
||||
if (testing && argv.k)
|
||||
require("child_process").exec("tmux -L cloud91.9 kill-server", function(){});
|
||||
|
||||
var auth = argv.auth.split(":");
|
||||
|
||||
var plugins = [
|
||||
{
|
||||
packagePath: "connect-architect/connect",
|
||||
port: port,
|
||||
host: host,
|
||||
websocket: true
|
||||
},
|
||||
{
|
||||
packagePath: "connect-architect/connect.basicauth",
|
||||
username: auth[0],
|
||||
password: auth[1]
|
||||
},
|
||||
{
|
||||
packagePath: "connect-architect/connect.static",
|
||||
prefix: "/static"
|
||||
},
|
||||
{
|
||||
packagePath: "./c9.error/error_handler",
|
||||
scope: "standalone",
|
||||
hostname: config.hostname
|
||||
},
|
||||
"connect-architect/connect.remote-address",
|
||||
"connect-architect/connect.render",
|
||||
"connect-architect/connect.render.ejs",
|
||||
"connect-architect/connect.redirect",
|
||||
"connect-architect/connect.cors",
|
||||
"./c9.connect.favicon/favicon",
|
||||
//"connect-architect/connect.logger",
|
||||
|
||||
"./c9.core/ext",
|
||||
|
||||
{
|
||||
packagePath: "./c9.ide.server/plugins",
|
||||
// allow everything in standalone mode
|
||||
blacklist: {
|
||||
"c9.ide.server": true,
|
||||
"c9.ide.test.selenium": true
|
||||
},
|
||||
whitelist: {
|
||||
"c9.core": true,
|
||||
"c9.fs": true,
|
||||
"c9.login.client": true,
|
||||
"c9.vfs.client": true,
|
||||
"c9.cli.bridge": true,
|
||||
"c9.nodeapi": true,
|
||||
"saucelabs.preview": true
|
||||
}
|
||||
},
|
||||
"./c9.preview/statics",
|
||||
"./c9.nodeapi/nodeapi",
|
||||
{
|
||||
packagePath: "./c9.vfs.standalone/standalone",
|
||||
local: config.local,
|
||||
packed: argv.packed,
|
||||
collab: config.collab,
|
||||
version: config.cdn.version,
|
||||
options: config,
|
||||
installPath: config.installPath,
|
||||
settingDir: config.settingDir,
|
||||
correctedInstallPath: config.correctedInstallPath,
|
||||
debug: debug,
|
||||
workspaceDir: baseProc,
|
||||
projectUrl: config.projectUrl,
|
||||
homeUrl: config.homeUrl,
|
||||
workspaceType: workspaceType,
|
||||
readonly: readonly
|
||||
},
|
||||
"./c9.vfs.server/vfs.server",
|
||||
"./c9.preview/preview.handler",
|
||||
"./c9.vfs.server/cache",
|
||||
"./c9.vfs.server/download",
|
||||
"./c9.vfs.server/filelist",
|
||||
"./c9.vfs.server/statics",
|
||||
{
|
||||
packagePath: "./c9.vfs.server/vfs.connect.standalone",
|
||||
workspaceDir: baseProc,
|
||||
readonly: readonly,
|
||||
extendDirectory: config.extendDirectory,
|
||||
extendOptions: config.extendOptions,
|
||||
installPath: config.installPath,
|
||||
settingDir: config.settingDir,
|
||||
collab: config.collab,
|
||||
nakBin: config.nakBin,
|
||||
nodeBin: config.nodeBin,
|
||||
tmuxBin: config.tmux,
|
||||
vfs: {
|
||||
defaultEnv: { CUSTOM: 43 },
|
||||
local: config.local,
|
||||
debug: debug,
|
||||
inProcess: argv.inProcessLocalFs
|
||||
}
|
||||
/* ### BEGIN #*/
|
||||
}, {
|
||||
packagePath: "./c9.static/cdn",
|
||||
cacheFiles: argv.cache
|
||||
}, {
|
||||
packagePath: "./c9.static/build",
|
||||
version: config.cdn.version,
|
||||
cache: config.cdn.cacheDir,
|
||||
compress: config.cdn.compress,
|
||||
baseUrl: config.cdn.baseUrl,
|
||||
virtual: config.cdn.virtual,
|
||||
config: "standalone"
|
||||
/* ### END #*/
|
||||
}
|
||||
];
|
||||
|
||||
if (config.collab && !config.mode && !config.local) {
|
||||
try {
|
||||
var addApi = require("./api.standalone").addApi;
|
||||
} catch(e) {}
|
||||
if (addApi) {
|
||||
plugins = addApi(plugins, config);
|
||||
}
|
||||
}
|
||||
|
||||
return plugins;
|
||||
};
|
||||
|
||||
if (!module.parent) require("../server")([__filename].concat(process.argv.slice(2)));
|
||||
702
docs/CODING_STANDARDS.md
Normal file
@ -0,0 +1,702 @@
|
||||
Cloud9 IDE Coding Style
|
||||
=====================
|
||||
|
||||
Goals
|
||||
=====
|
||||
|
||||
1. readability/clarity
|
||||
2. easy to maintain/change code
|
||||
3. reduce risk of introducing errors
|
||||
4. minimize typing
|
||||
|
||||
Base
|
||||
----
|
||||
|
||||
* [http://nodeguide.com/style.html]([http://nodeguide.com/style.html)
|
||||
* [https://github.com/ajaxorg/apf/blob/master/CODING_STANDARDS](https://github.com/ajaxorg/apf/blob/master/CODING_STANDARDS)
|
||||
|
||||
|
||||
Tabs vs Spaces
|
||||
--------------
|
||||
|
||||
We use 4 spaces of indenteation.
|
||||
|
||||
Line Termination
|
||||
----------------
|
||||
|
||||
Always use UNIX style line termination with a single new line character `\n`.
|
||||
|
||||
File names
|
||||
----------
|
||||
|
||||
To avoid problems with non case sensitive file systems (Windows) only alphanumeric characters, underscores, and the dash character ("-") are permitted. Spaces are strictly prohibited.
|
||||
|
||||
*Right:*
|
||||
|
||||
elements/bar.js
|
||||
core/parsers/aml.js
|
||||
elements/teleport/rpc/jsonrpc.js
|
||||
|
||||
*Wrong:*
|
||||
|
||||
elements/Bar.js
|
||||
rpc/Json Rpc.js
|
||||
|
||||
Semicolons
|
||||
----------
|
||||
|
||||
There are [rebellious forces][isaac] that try to steal your semicolons from you. But make no mistake, our traditional culture is still [well and truly alive][hnsemicolons]. So follow the community, and use those semicolons!
|
||||
|
||||
[isaac]: community.html#isaac-schlueter
|
||||
[hnsemicolons]: http://news.ycombinator.com/item?id=1547647
|
||||
|
||||
Trailing whitespace
|
||||
-------------------
|
||||
|
||||
Just like you brush your teeth after every meal, you clean up any trailing whitespace in your JavaScript files before committing. Otherwise the rotten smell of careless neglect will eventually drive away contributors and/or co-workers.
|
||||
|
||||
Line length
|
||||
-----------
|
||||
|
||||
The target line length is 80 characters. That is to say, developers should strive keep each line of their code under 80 characters where possible and practical. However, longer lines are acceptable in some circumstances. The maximum length of any line of code is 120 characters.
|
||||
|
||||
Quotes
|
||||
------
|
||||
|
||||
When a string is literal (contains no variable substitutions), the quotation mark or "double quote" should always be used to demarcate the string:
|
||||
|
||||
```javascript
|
||||
var a = "Example String";
|
||||
```
|
||||
|
||||
When a literal string itself contains quotation marks, it is permitted to demarcate the string with apostrophes or "single quotes". This is especially useful for blocks of HTML:
|
||||
|
||||
```javascript
|
||||
var a = '<div class="button">' +
|
||||
'<a href="#" title="Click me">Click me</a>' +
|
||||
'</div>';
|
||||
```
|
||||
|
||||
## Braces
|
||||
|
||||
Your opening braces go on the same line as the statement.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
if (true) {
|
||||
console.log("winning");
|
||||
}
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
if (true)
|
||||
{
|
||||
console.log("losing");
|
||||
}
|
||||
```
|
||||
|
||||
Also, notice the use of whitespace before and after the condition statement.
|
||||
|
||||
Closing braces are always followed by a new line. This is releavant for `else`, `catch` and `finally`.
|
||||
|
||||
*Right*:
|
||||
|
||||
```javascript
|
||||
if (true) {
|
||||
console.log("winning");
|
||||
}
|
||||
else {
|
||||
console.log("losing");
|
||||
}
|
||||
```
|
||||
|
||||
*Wrong*
|
||||
|
||||
```javascript
|
||||
if (true) {
|
||||
console.log("winning");
|
||||
} else {
|
||||
console.log("losing");
|
||||
}
|
||||
```
|
||||
|
||||
If the block inside the curlys consists only of one statement the curlys may be omitted.
|
||||
|
||||
```javascript
|
||||
if (err)
|
||||
return callback(err);
|
||||
```
|
||||
|
||||
However within one condition curlys must be used consistently.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
if (true) {
|
||||
var msg = "winning" + name;
|
||||
console.log(msg);
|
||||
}
|
||||
else {
|
||||
console.log("Oh noo");
|
||||
}
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
if (true) {
|
||||
var msg = "winning" + name;
|
||||
console.log(msg);
|
||||
}
|
||||
else
|
||||
console.log("Oh noo");
|
||||
```
|
||||
|
||||
Always use a new line after after `if`, `while`, `for`, `do` and `try`.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
if (err)
|
||||
return callback(err);
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
if (err) return callbak(err);
|
||||
```
|
||||
|
||||
Variable declarations
|
||||
---------------------
|
||||
|
||||
Declare one variable per var statement, it makes it easier to re-order the lines. Ignore [Crockford][crockfordconvention] on this, and put those declarations wherever they make sense.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
var keys = ["foo", "bar"];
|
||||
var values = [23, 42];
|
||||
|
||||
var object = {};
|
||||
while (items.length) {
|
||||
var key = keys.pop();
|
||||
object[key] = values.pop();
|
||||
}
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
var keys = ["foo", "bar"],
|
||||
values = [23, 42],
|
||||
object = {},
|
||||
key;
|
||||
|
||||
while (items.length) {
|
||||
key = keys.pop();
|
||||
object[key] = values.pop();
|
||||
}
|
||||
```
|
||||
|
||||
[crockfordconvention]: http://javascript.crockford.com/code.html
|
||||
|
||||
Variable and property names
|
||||
---------------------------
|
||||
|
||||
Variables and properties should use [lower camel case][camelcase] capitalization. They should also be descriptive. Single character variables, uncommon abbreviations and hungarian notation should generally be avoided.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
var adminUser = db.query("SELECT * FROM users ...");
|
||||
var isAdmin = adminUser !== "";
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
var admin_user = d.query("SELECT * FROM users ...");
|
||||
bAdmin = adminUser !== "";
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
var ufm = d.query("SELECT * FROM users ...");
|
||||
bAdmin = ufm.getBrs();
|
||||
```
|
||||
|
||||
[camelcase]: http://en.wikipedia.org/wiki/camelCase#Variations_and_synonyms
|
||||
|
||||
Class names
|
||||
-----------
|
||||
|
||||
Class names should be capitalized using [upper camel case][camelcase].
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
function BankAccount() {
|
||||
}
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
function bank_Account() {
|
||||
}
|
||||
```
|
||||
|
||||
Constants
|
||||
---------
|
||||
|
||||
Constants should be declared as regular variables or static class properties, using all uppercase letters.
|
||||
|
||||
Node.js / V8 actually supports mozilla's [const][const] extension, but unfortunately that cannot be applied to class members, nor is it part of any ECMA standard.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
var SECOND = 1 * 1000;
|
||||
|
||||
function File() {
|
||||
}
|
||||
File.FULL_PERMISSIONS = 0777;
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
const SECOND = 1 * 1000;
|
||||
|
||||
function File() {
|
||||
}
|
||||
File.fullPermissions = 0777;
|
||||
```
|
||||
|
||||
[const]: https://developer.mozilla.org/en/JavaScript/Reference/Statements/const
|
||||
|
||||
Object / Array creation
|
||||
-----------------------
|
||||
|
||||
Use trailing commas and put *short* declarations on a single line. Only quote keys when your interpreter complains:
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
var a = ["hello", "world"];
|
||||
var b = {
|
||||
good: "code",
|
||||
"is generally": "pretty"
|
||||
};
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
var a = [
|
||||
"hello", "world"
|
||||
];
|
||||
var b = {"good": "code"
|
||||
is generally: "pretty"
|
||||
};
|
||||
```
|
||||
|
||||
To initialize empty arrays or objects always use the literal form.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
var users = [];
|
||||
var me = {};
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
var users = new Array();
|
||||
var me = new Object();
|
||||
```
|
||||
|
||||
Equality operator
|
||||
-----------------
|
||||
|
||||
Programming is not about remembering [stupid rules][comparisonoperators]. Use the triple equality operator as it will work just as expected.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
var a = 0;
|
||||
if (a === "") {
|
||||
console.log("winning");
|
||||
}
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
var a = 0;
|
||||
if (a == "") {
|
||||
console.log("losing");
|
||||
}
|
||||
```
|
||||
|
||||
[comparisonoperators]: https://developer.mozilla.org/en/JavaScript/Reference/Operators/Comparison_Operators
|
||||
|
||||
Extending prototypes
|
||||
--------------------
|
||||
|
||||
Do not extend the prototypes of any objects, especially native ones. There is a special place in hell waiting for you if you don't obey this rule.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
var a = [];
|
||||
if (!a.length) {
|
||||
console.log("winning");
|
||||
}
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
Array.prototype.empty = function() {
|
||||
return !this.length;
|
||||
}
|
||||
|
||||
var a = [];
|
||||
if (a.empty()) {
|
||||
console.log("losing");
|
||||
}
|
||||
```
|
||||
|
||||
Function length
|
||||
---------------
|
||||
|
||||
Keep your functions short. A function that doesn't fit on a 13" Notebook screen is too long. Limit yourself to max. 30 lines. Less is better.
|
||||
|
||||
Return statements
|
||||
-----------------
|
||||
|
||||
To avoid deep nesting of if-statements, always return a functions value as early
|
||||
as possible.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
function isPercentage(val) {
|
||||
if (val < 0)
|
||||
return false;
|
||||
|
||||
if (val > 100)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
function isPercentage(val) {
|
||||
if (val >= 0) {
|
||||
if (val < 100) {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Or for this particular example it may also be fine to shorten things even further:
|
||||
|
||||
```javascript
|
||||
function isPercentage(val) {
|
||||
var isInRange = (val >= 0 && val <= 100);
|
||||
return isInRange;
|
||||
}
|
||||
```
|
||||
|
||||
Named closures
|
||||
--------------
|
||||
|
||||
Feel free to give your closures a name. It shows that you care about them, and will produce better stack traces:
|
||||
|
||||
```javascript
|
||||
req.on("end", function onEnd() {
|
||||
console.log("winning");
|
||||
});
|
||||
```
|
||||
|
||||
Callbacks
|
||||
---------
|
||||
|
||||
Since node is all about non-blocking I/O, functions generally return their results using callbacks. The convention used by the node core is to reserve the first parameter of any callback for an optional error object.
|
||||
|
||||
You should use the same approach for your own callbacks.
|
||||
|
||||
If a function takes a callback some limitations apply:
|
||||
|
||||
1. the callback must be the last argument and the argument name should be 'callback'
|
||||
2. the callback must be called exactly once
|
||||
3. the function must now throw an exception. Exceptions must be caught and passed to the callback as first argument
|
||||
4. the function is not allowed to return a value
|
||||
|
||||
|
||||
Object.freeze, Object.preventExtensions, Object.seal, with, eval
|
||||
----------------------------------------------------------------
|
||||
|
||||
Crazy shit that you will probably never need. Stay away from it.
|
||||
|
||||
Getters and setters
|
||||
-------------------
|
||||
|
||||
Limit the use of (ES5) setters, they tend to cause more problems for people who try to use your software than they can solve.
|
||||
|
||||
Feel free to use getters that are free from [side effects][sideeffect], like providing a length property for a collection class.
|
||||
|
||||
[sideeffect]: http://en.wikipedia.org/wiki/Side_effect_(computer_science)
|
||||
|
||||
EventEmitters
|
||||
-------------
|
||||
|
||||
Node.js ships with a simple EventEmitter class that can be included from the 'events' module:
|
||||
|
||||
```javascript
|
||||
var EventEmitter = require("events").EventEmitter;
|
||||
```
|
||||
|
||||
When creating complex classes, it is common to inherit from this EventEmitter class to emit events. This is basically a simple implementation of the [Observer pattern][].
|
||||
|
||||
[Observer pattern]: http://en.wikipedia.org/wiki/Observer_pattern
|
||||
|
||||
However, I strongly recommend that you never listen to the events of your own class from within it. It isn't natural for an object to observe itself. It often leads to undesirable exposure to implementation details, and makes your code more difficult to follow.
|
||||
|
||||
Class Definition
|
||||
----------------
|
||||
|
||||
```javascript
|
||||
var Ide = module.exports = function() {};
|
||||
|
||||
(function() {
|
||||
this.member = function() {};
|
||||
}).call(Ide.prototype);
|
||||
```
|
||||
|
||||
Within a JavaScript file only one class definition is permitted.
|
||||
|
||||
Inheritance
|
||||
-----------
|
||||
|
||||
```javascript
|
||||
var RunvmPlugin = module.exports = function(ide, workspace) {
|
||||
Plugin.call(this, ide, workspace);
|
||||
// ...
|
||||
}
|
||||
sys.inherits(RunvmPlugin, Plugin);
|
||||
|
||||
(function() {
|
||||
this.member = function() {};
|
||||
}).call(RunvmPlugin.prototype);
|
||||
```
|
||||
|
||||
Private function
|
||||
----------------
|
||||
|
||||
Private functions attached to the constructor (static) of the prototype of a class must be prefixed with an underscore.
|
||||
|
||||
```javascript
|
||||
var Ide = module.exports = function() {};
|
||||
|
||||
Ide._privateField = "private data";
|
||||
|
||||
(function() {
|
||||
this._privateMethod = function() {};
|
||||
}).call(Ide.prototype);
|
||||
```
|
||||
|
||||
How to break long lines
|
||||
-----------------------
|
||||
|
||||
Treat parenthesis and square brackets like curly braces:
|
||||
|
||||
* they start in the same line as the function
|
||||
* the body (argument list) is indented one level
|
||||
* the closing parenthesis is outdented and on a separate line
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
foo(
|
||||
very, long argument,
|
||||
list, with lots, of,
|
||||
different, stuff
|
||||
);
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
foo(very, long argument, list, with lots, of,
|
||||
different, stuff);
|
||||
```
|
||||
|
||||
The same applies for long array literals.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
var a = [
|
||||
'<div class="button">',
|
||||
' <a href="#" title="Click me">Click me</a>',
|
||||
'</div>'
|
||||
].join("");
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
var a = ['<div class="button">',
|
||||
' <a href="#" title="Click me">Click me</a>',
|
||||
'</div>'].join("");
|
||||
```
|
||||
|
||||
When breaking up long expressions the operator should be on the new line and broken lines should be indented by one level.
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
var isAdmin = isLoggedIn
|
||||
&& username === "admin"
|
||||
&& password === "secret";
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
var isAdmin = isLoggedIn &&
|
||||
username === "admin" &&
|
||||
password === "secret";
|
||||
```
|
||||
|
||||
The same is true for the ternary operator:
|
||||
|
||||
```javascript
|
||||
var a = (value > 20 && otherValue < 10 && boolFoo === false)
|
||||
? this.foo();
|
||||
: this.bar();
|
||||
```
|
||||
|
||||
For Loops
|
||||
---------
|
||||
|
||||
If statements are incredibly flexible. The condition, test and increment part of an if statement can contain any code. However to make it easy for others to understand the code you should stay away from the crazy shit and limit yourself to the straighforard cases:
|
||||
|
||||
1. declare the loop and length variables inline.
|
||||
2. Don't declare any other variables in the initializer
|
||||
|
||||
*Right:*
|
||||
|
||||
```javascript
|
||||
for (var i = 0, l = users.length; i < l; i++) {
|
||||
var user = users[i];
|
||||
//
|
||||
}
|
||||
```
|
||||
|
||||
*Wrong:*
|
||||
|
||||
```javascript
|
||||
var i, l;
|
||||
for (i = 0, l = users.length; i < l; i++) {
|
||||
var user = users[i];
|
||||
//
|
||||
}
|
||||
|
||||
for (var user, i = 0, l = users.length; i++ < l;) {
|
||||
var user = users[i];
|
||||
//
|
||||
}
|
||||
```
|
||||
|
||||
Switch Statements
|
||||
-----------------
|
||||
|
||||
Control statements written with the "switch" statement must have a single space before the opening parenthesis of the conditional statement and after the closing parenthesis.
|
||||
|
||||
All content within the "switch" statement must be indented using four spaces. Content under each "case" statement must be indented using an additional four spaces.
|
||||
|
||||
```javascript
|
||||
switch (numPeople) {
|
||||
case 1:
|
||||
break;
|
||||
|
||||
case 2:
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
```
|
||||
|
||||
The construct default should never be omitted from a switch statement.
|
||||
|
||||
NOTE: It is sometimes useful to write a case statement which falls through to the next case by not including a break or return within that case. To distinguish these cases from bugs, any case statement where break or return are omitted should contain a comment indicating that the break was intentionally omitted.
|
||||
|
||||
Vertical alignment
|
||||
------------------
|
||||
|
||||
Vertically aligning asignments can improve readability but also makes it harder to maintain the code. The style should be avoided.
|
||||
|
||||
*Right*:
|
||||
|
||||
```javascript
|
||||
var foo = 12;
|
||||
var firstName = "Peter";
|
||||
var options = {
|
||||
name: firstName,
|
||||
age: {
|
||||
years: 12,
|
||||
months: 1
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
*Wrong*:
|
||||
|
||||
```javascript
|
||||
var foo = 12;
|
||||
var firstName = "Peter";
|
||||
var options = {
|
||||
name : firstName,
|
||||
age : {
|
||||
years : 12,
|
||||
months : 2
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
_self = this
|
||||
-----------
|
||||
|
||||
The alias to access `this` from within closures is `_self` or `that`. We do not use `self` to avoid confusion with `window.self` in client side code.
|
||||
|
||||
API Documentation
|
||||
-----------------
|
||||
|
||||
All classes and public API should be documented using [JSDuck annotations](https://github.com/senchalabs/jsduck).
|
||||
|
||||
Other Resources
|
||||
===============
|
||||
|
||||
* [https://github.com/ajaxorg/apf/blob/master/CODING_STANDARDS](https://github.com/ajaxorg/apf/blob/master/CODING_STANDARDS)
|
||||
* [http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml](http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml)
|
||||
210
local/Info.plist
Normal file
@ -0,0 +1,210 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Cloud9</string>
|
||||
<key>CFBundleDocumentTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>txt</string>
|
||||
<string>text</string>
|
||||
<string>utf8</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>text/plain</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Plain Text File</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>LSIsAppleDefaultForType</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>html</string>
|
||||
<string>phtml</string>
|
||||
<string>shtml</string>
|
||||
<string>xhtml</string>
|
||||
<string>htm</string>
|
||||
<string>pht</string>
|
||||
<string>sht</string>
|
||||
<string>xht</string>
|
||||
<string>phtm</string>
|
||||
<string>shtm</string>
|
||||
<string>xhtm</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>text/html</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>HTML Source File</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>LSIsAppleDefaultForType</key>
|
||||
<true/>
|
||||
<key>LSItemContentTypes</key>
|
||||
<array>
|
||||
<string>public.html</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>js</string>
|
||||
<string>htc</string>
|
||||
<string>jscript</string>
|
||||
<string>javascript</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>text/javascript</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>JavaScript Source File</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>LSIsAppleDefaultForType</key>
|
||||
<true/>
|
||||
<key>LSItemContentTypes</key>
|
||||
<array>
|
||||
<string>com.netscape.javascript-source</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>py</string>
|
||||
<string>rpy</string>
|
||||
<string>cpy</string>
|
||||
<string>python</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>text/x-python-script</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Python Source File</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>LSItemContentTypes</key>
|
||||
<array>
|
||||
<string>public.python-script</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>gem</string>
|
||||
<string>rb</string>
|
||||
<string>ru</string>
|
||||
<string>rz</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>text/x-ruby</string>
|
||||
<string>text/ruby-script</string>
|
||||
<string>application/x-rzip</string>
|
||||
<string>application/x-ruby-gem</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Ruby Source File</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>LSItemContentTypes</key>
|
||||
<array>
|
||||
<string>public.ruby-script</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>css</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Cascading style sheet</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>markdown</string>
|
||||
<string>markd</string>
|
||||
<string>mdown</string>
|
||||
<string>md</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Markdown document</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>clj</string>
|
||||
<string>cljs</string>
|
||||
<string>edn</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Clojure Source</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>LSIsAppleDefaultForType</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>node-webkit</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>io.c9.desktop</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Cloud9</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>Version 3.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>3.0</string>
|
||||
<key>LSFileQuarantineEnabled</key>
|
||||
<true/>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.6.0</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||
<true/>
|
||||
<key>SCMRevision</key>
|
||||
<string>213023</string>
|
||||
<key>UTExportedTypeDeclarations</key>
|
||||
<array/>
|
||||
</dict>
|
||||
</plist>
|
||||
1
local/favicon.ico
Symbolic link
@ -0,0 +1 @@
|
||||
../plugins/c9.connect.favicon/favicon.ico
|
||||
499
local/index.html
Normal file
@ -0,0 +1,499 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<base id="base" href="../">
|
||||
<meta charset="utf-8">
|
||||
<!-- loading screen -->
|
||||
<link rel="stylesheet" type="text/css" href="./plugins/c9.ide.layout.classic/loading.css" />
|
||||
<div id="loadingide">
|
||||
<style>
|
||||
.window-titlebar {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
height: 23px;
|
||||
z-index: 1000000;
|
||||
background-image: -webkit-linear-gradient(top, rgb(61, 61, 61) 0%, rgb(37, 37, 37) 100%);
|
||||
background-image: linear-gradient(top, rgb(61, 61, 61) 0%, rgb(37, 37, 37) 100%);
|
||||
color: #ccc;
|
||||
cursor: default;
|
||||
box-sizing: border-box;
|
||||
font-family:"Segoe ui", Lucida Grande;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
border-radius: 3px 3px 0 0;
|
||||
-webkit-user-select: none;
|
||||
overflow: hidden;
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
.window-titlebar .caption {
|
||||
padding: 4px 0 0 34px;
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
background: url("./plugins/c9.ide.local/images/winc9.png") no-repeat 0 1px;
|
||||
cursor: default;
|
||||
}
|
||||
</style>
|
||||
<!--var platform = c9.platform-->
|
||||
<!--var titleHeight = platform == "win32" ? 27 : 23;-->
|
||||
|
||||
<div class="window-titlebar darwin">
|
||||
<div class="caption">Cloud9</div>
|
||||
</div>
|
||||
|
||||
<div id="content" class="loading-progress">
|
||||
<div id="progress-msg">
|
||||
Loading your workspace <span id="dots"></span>
|
||||
</div>
|
||||
<div class="loading-seperator"></div>
|
||||
<div class="loading-msg">It will be just as you left it</div>
|
||||
|
||||
<div class="ui-progress-bar ui-container" id="progress_bar" style="display:none">
|
||||
<div class="ui-progress" style="width: 7%;">
|
||||
<span class="ui-label" style="display:none;"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="footer">
|
||||
<a href="https://docs.c9.io">Documentation</a> |
|
||||
<a href="http://status.c9.io">Server Status</a> |
|
||||
<a href="http://support.c9.io">Support</a>
|
||||
</div>-->
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var dots = document.getElementById("dots");
|
||||
var cnt = 0;
|
||||
window.dotsAnim = setInterval(function () {
|
||||
dots.textContent = "...".slice(0, (++cnt)%4);
|
||||
}, 500);
|
||||
</script>
|
||||
|
||||
<script src="./plugins/c9.login.client/bootstrap.js"></script>
|
||||
<!-- Node.js Context -->
|
||||
<script>
|
||||
var nwGui = require("nw.gui");
|
||||
var argv = nwGui.App.argv;
|
||||
var win = nwGui.Window.get();
|
||||
var spawn = require("child_process").spawn;
|
||||
|
||||
process.on("uncaughtException", function(err) {
|
||||
console && console.error(err.stack);
|
||||
});
|
||||
|
||||
var path = argv.parsed && argv.parsed["-w"] || "/";
|
||||
var wait = argv.indexOf("--wait") != -1;
|
||||
var devel = argv.indexOf("--devel") != -1;
|
||||
var packed = argv.indexOf("--unpacked") == -1;
|
||||
var noWorker = argv.indexOf("--no-worker") != -1;
|
||||
var inProcess = argv.indexOf("--in-process") != -1;
|
||||
var reset = argv.indexOf("--reset") != -1;
|
||||
|
||||
/*::dev::*/ packed = argv.indexOf("--packed") != -1;
|
||||
/*::dev::*/ if (argv.indexOf("--no-devtools") == -1) {
|
||||
/*::dev::*/ win.showDevTools();
|
||||
/*::dev::*/ }
|
||||
|
||||
// have to use this since new-instance windows have wrong root module path
|
||||
var __dirname = unescape(document.baseURI).substr(
|
||||
"file://".length + (process.platform == "win32" ? 1 : 0)
|
||||
).replace(/\/*$/, "/local");
|
||||
|
||||
if (packed)
|
||||
require(__dirname + "/logger.js");
|
||||
|
||||
if (argv.indexOf("--devtools") > -1)
|
||||
win.showDevTools();
|
||||
|
||||
// Show window after 4 seconds if it wasn't shown already
|
||||
wait || packed || setTimeout(function(){ win.shown || win.show(); }, 4000);
|
||||
|
||||
var server = require(__dirname + "/server.js");
|
||||
var windowManager = server.windowManager;
|
||||
windowManager.registerWindow(win, unescape(/id=([^&#?=]+)/.exec(window.location)[1]));
|
||||
|
||||
var performance = window.performance;
|
||||
var time = {
|
||||
start: function(name) {
|
||||
this[name + "StartT"] = performance.now();
|
||||
},
|
||||
done: function (name, start) {
|
||||
this[name + "DoneT"] = performance.now();
|
||||
this.delta[name + "Delta"] = this[name + "DoneT"] - this[(start || name) + "StartT"];
|
||||
},
|
||||
toString: function() {
|
||||
return JSON.stringify(this, null, 4);
|
||||
},
|
||||
delta: {}
|
||||
};
|
||||
|
||||
var loadScript = function(path, callback, errback) {
|
||||
var head = document.head || document.documentElement;
|
||||
var s = document.createElement('script');
|
||||
|
||||
s.src = path;
|
||||
head.appendChild(s);
|
||||
|
||||
s.onload = s.onreadystatechange = function(_, isAbort) {
|
||||
if (isAbort || !s.readyState || s.readyState == "loaded" || s.readyState == "complete") {
|
||||
s = s.onload = s.onreadystatechange = null;
|
||||
if (!isAbort)
|
||||
callback();
|
||||
}
|
||||
};
|
||||
s.onerror = errback;
|
||||
};
|
||||
|
||||
var setBasePath = function(href) {
|
||||
window.baseURI = href;
|
||||
document.getElementById("base").setAttribute("href", href);
|
||||
vfsServerReqests.forEach(function(fn) {
|
||||
fn(href);
|
||||
});
|
||||
vfsServerReqests = [];
|
||||
};
|
||||
|
||||
var plugins;
|
||||
var vfsServerReqests = [];
|
||||
var windowLocation = document.baseURI.replace(/\/$/, "")
|
||||
.replace(/[()"'\[\]<>]/g, escape); // needed because apf doesn't always escape url when using in css
|
||||
function readConfig() {
|
||||
var windowConfig = win.options || {};
|
||||
|
||||
time.start("getPlugins");
|
||||
server.getPlugins({
|
||||
getServers: function(cb) {
|
||||
if (window.baseURI)
|
||||
cb(window.baseURI);
|
||||
else
|
||||
vfsServerReqests.push(cb);
|
||||
},
|
||||
workspaceDir: path,
|
||||
packed: packed,
|
||||
windowLocation: devel ? "" : windowLocation,
|
||||
noWorker: noWorker,
|
||||
windowConfig: windowConfig,
|
||||
plugins: plugins
|
||||
}, function(plugins, settings) {
|
||||
time.done("getPlugins");
|
||||
window.plugins = plugins;
|
||||
window.settings = settings;
|
||||
if (windowConfig.isRemote && settings.url)
|
||||
setBasePath(settings.url);
|
||||
startIde();
|
||||
}, function(s) {
|
||||
if (win.shown) {
|
||||
restoreWindow(s);
|
||||
} else {
|
||||
restoreWindow.settings = s;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function restoreWindow(settings) {
|
||||
var s = settings && settings.local && settings.local.window;
|
||||
if (s && !restoreWindow.disabled) {
|
||||
var pos = (s["@position"] || "").match(/(\d+):(\d+)/);
|
||||
if (pos) {
|
||||
win.moveTo(pos[1], pos[2]);
|
||||
}
|
||||
|
||||
var size = (s["@size"] || "").match(/(\d+):(\d+)/);
|
||||
if (size) {
|
||||
win.resizeTo(size[1], size[2]);
|
||||
}
|
||||
// if (s["@minimized"])
|
||||
// win.minimize();
|
||||
if (s["@maximized"])
|
||||
win.maximize();
|
||||
if (s["@fullscreen"])
|
||||
win.enterFullscreen();
|
||||
}
|
||||
}
|
||||
|
||||
function disableRestore() {
|
||||
win.removeListener("move", disableRestore);
|
||||
win.removeListener("resize", disableRestore);
|
||||
restoreWindow.disabled = true;
|
||||
}
|
||||
win.on("move", disableRestore);
|
||||
win.on("resize", disableRestore);
|
||||
|
||||
document.onreadystatechange = function () {
|
||||
if (document.readyState == "complete") {
|
||||
restoreWindow(restoreWindow.settings);
|
||||
|
||||
// Show Window
|
||||
win.show();
|
||||
win.shown = true;
|
||||
server.windowManager.onShowWindow(win);
|
||||
}
|
||||
};
|
||||
|
||||
function removeNwRequire() {
|
||||
if (!window.require || window.nativeRequire)
|
||||
return;
|
||||
var nRequire = window.require;
|
||||
window.nativeRequire = function(path){
|
||||
var oldRequire = window.require;
|
||||
window.require = nRequire;
|
||||
var obj = window.require(path);
|
||||
window.require = oldRequire;
|
||||
return obj;
|
||||
};
|
||||
window.isLocalVersion = nRequire ? true : false;
|
||||
// window.require = undefined;
|
||||
|
||||
window.nativeOpen = window.open;
|
||||
window.open = function(url){
|
||||
window.nativeRequire('nw.gui').Shell.openExternal(url);
|
||||
};
|
||||
}
|
||||
|
||||
function startIde() {
|
||||
if (!window.plugins || !window.requirejs)
|
||||
return;
|
||||
if (!packed && !window.requirejs.baseConfig) {
|
||||
if (!window.baseURI)
|
||||
return;
|
||||
loadRequireJsConfig();
|
||||
} else {
|
||||
if (devel && !window.baseURI)
|
||||
return;
|
||||
|
||||
window.startArchitectApp(plugins);
|
||||
}
|
||||
}
|
||||
|
||||
var packageIsLoading, requirejsBaseUrl = "";
|
||||
function setRequireBasePath(val) {
|
||||
requirejsBaseUrl = val;
|
||||
}
|
||||
function loadRequireJsConfig(cb) {
|
||||
var requirejs = window.requirejs;
|
||||
window.require = requirejs;
|
||||
requirejs.setConfig = requirejs.config;
|
||||
requirejs.config = function(config) {
|
||||
config.baseUrl = requirejsBaseUrl + (config.baseUrl || "");
|
||||
if (config.paths) {
|
||||
for (var i in config.paths)
|
||||
config.paths[i] = requirejsBaseUrl + config.paths[i];
|
||||
}
|
||||
requirejs.setConfig(config);
|
||||
requirejs.baseConfig = config;
|
||||
};
|
||||
loadScript(requirejsBaseUrl + "/configs/require_config.js", function() {
|
||||
cb && cb();
|
||||
startIde();
|
||||
});
|
||||
}
|
||||
function loadRequireJS() {
|
||||
if (packageIsLoading)
|
||||
return;
|
||||
if (require)
|
||||
require.packaged = true;
|
||||
if (!packed || devel) {
|
||||
packageIsLoading = true;
|
||||
loadScript("node_modules/requirejs/require.js", function() {
|
||||
removeNwRequire();
|
||||
startIde();
|
||||
packageIsLoading = false;
|
||||
});
|
||||
} else {
|
||||
packageIsLoading = true;
|
||||
time.start("packedFile");
|
||||
var scriptUrl = windowLocation + "/build/standalone/config/";
|
||||
scriptUrl += (win.options && win.options.isRemote)
|
||||
? "full.js"
|
||||
: "default-local.js";
|
||||
|
||||
loadScript(scriptUrl, function() {
|
||||
time.done("packedFile");
|
||||
updateMiniRequire();
|
||||
startIde();
|
||||
}, function(e) {
|
||||
/*::dev::*/ return $rebuild();
|
||||
fatalError(e);
|
||||
});
|
||||
}
|
||||
function updateMiniRequire() {
|
||||
removeNwRequire();
|
||||
window.requirejs = window.miniRequire;
|
||||
delete window.miniRequire.original;
|
||||
window.requirejs.MODULE_LOAD_URL = windowLocation + "/build/standalone/modules";
|
||||
packageIsLoading = false;
|
||||
}
|
||||
}
|
||||
|
||||
//::dev:{*/
|
||||
function $rebuild() {
|
||||
if (!window.rebuildProc) {
|
||||
if (document.getElementById("progress-msg"))
|
||||
document.getElementById("progress-msg").firstChild.data = "Rebuilding";
|
||||
var proc = window.rebuildProc = spawn("bash", ["./scripts/makelocal.sh", "--quick"]);
|
||||
proc = spawn("bash", ["../scripts/makelocal.sh"], {cwd: server.__dirname});
|
||||
proc.stdout.on("data", function(d) { console.log(d + "") });
|
||||
proc.stderr.on("data", function(d) { console.log(d + "") });
|
||||
proc.on("exit", function() {
|
||||
win.reloadIgnoringCache();
|
||||
});
|
||||
}
|
||||
}
|
||||
//::dev:}*/
|
||||
|
||||
function startServer() {
|
||||
time.start("server");
|
||||
server.start({
|
||||
/*::dev:*/ collab: true,
|
||||
port: 2222,
|
||||
path: path,
|
||||
workspaceType: null,
|
||||
inProcess: inProcess,
|
||||
host: "localhost"
|
||||
}, function start(err, port) {
|
||||
time.done("server");
|
||||
if (err && err.code == "EADDRINUSE") {
|
||||
server.findFreePort("localhost", function(e, port) {
|
||||
err.options.port = port;
|
||||
server.start(err.options, start);
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
setBasePath("http://localhost:" + port + "/ide.html");
|
||||
setRequireBasePath("http://localhost:" + port);
|
||||
|
||||
startIde();
|
||||
});
|
||||
}
|
||||
|
||||
function start() {
|
||||
process.nextTick(startServer);
|
||||
process.nextTick(readConfig);
|
||||
process.nextTick(loadRequireJS);
|
||||
if (win.onStart)
|
||||
win.onStart(window);
|
||||
}
|
||||
|
||||
if (!wait) {
|
||||
start();
|
||||
}
|
||||
|
||||
function initAuth() {
|
||||
if (!window.auth)
|
||||
return initAuth.auth;
|
||||
var a = window.auth({
|
||||
clientId: "desktop",
|
||||
authorizationUrl: window.settings.authorizationUrl
|
||||
});
|
||||
var login = a.login;
|
||||
delete window.auth;
|
||||
delete window.settings;
|
||||
|
||||
return (initAuth.auth = {
|
||||
consumes: [],
|
||||
provides: ["auth.bootstrap"],
|
||||
setup: function(options, imports, register) {
|
||||
register(null, {
|
||||
"auth.bootstrap": {
|
||||
login: login
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function startArchitectApp(plugins) {
|
||||
if (plugins.started) return;
|
||||
time.start("client");
|
||||
plugins.started = true;
|
||||
|
||||
window.requirejs(["lib/architect/architect"], function (architect) {
|
||||
plugins.push(initAuth());
|
||||
|
||||
architect.resolveConfig(plugins, function (err, config) {
|
||||
if (err) throw err;
|
||||
|
||||
plugins.forEach(function(plugin) {
|
||||
if ("accessToken" in plugin)
|
||||
plugin.accessToken = "fake_token";
|
||||
if (plugin.packagePath === "plugins/c9.core/settings")
|
||||
plugin.reset = reset && "1";
|
||||
});
|
||||
|
||||
var app = architect.createApp(config, function(err, app){
|
||||
if (err) return fatalError(err);
|
||||
});
|
||||
|
||||
app.on("error", function(err){
|
||||
fatalError(err);
|
||||
});
|
||||
|
||||
app.on("service", function(name, plugin){
|
||||
if (!plugin.name)
|
||||
plugin.name = name;
|
||||
});
|
||||
|
||||
app.on("ready", function(){
|
||||
if (app.services.configure)
|
||||
app.services.configure.services = app.services;
|
||||
|
||||
done();
|
||||
|
||||
// if (app.services.c9.debug) {
|
||||
window.app = app.services;
|
||||
window.app._main = app;
|
||||
window.app.__defineGetter__("_ace", function(){
|
||||
return this.tabManager.focussedTab.editor.ace;
|
||||
});
|
||||
Object.keys(window.app).forEach(function(n) {
|
||||
if (/[^\w]/.test(n))
|
||||
window.app[n.replace(/[^\w]/, "_") + "_"] = window.app[n];
|
||||
});
|
||||
// }
|
||||
app.services.tabManager.once("ready", function () {
|
||||
time.done("tabManager", "client");
|
||||
removeLoader();
|
||||
});
|
||||
app.services.tree.once("ready", function () {
|
||||
time.done("tree", "client");
|
||||
});
|
||||
app.services.c9.once("connect", function () {
|
||||
time.done("connect", "client");
|
||||
});
|
||||
});
|
||||
|
||||
// For Development only
|
||||
function done(){
|
||||
app.services.c9.ready();
|
||||
time.done("client");
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
var fatalShown;
|
||||
function fatalError(err) {
|
||||
var message = err.stack || err.message || err;
|
||||
var pluginDetails = err.plugin
|
||||
? "\n\nCaused by plugin: " + err.plugin.packagePath
|
||||
: "";
|
||||
|
||||
console && console.error("FATAL ERROR\n\n" + message + pluginDetails);
|
||||
|
||||
if (fatalShown) return;
|
||||
fatalShown = true;
|
||||
|
||||
alert("FATAL ERROR\n\n"
|
||||
+ message + pluginDetails
|
||||
+ "\n\nA full error log has been saved under " + server.installPath + "/log.txt.");
|
||||
// window.close();
|
||||
}
|
||||
|
||||
function removeLoader() {
|
||||
time.done("removeLoader", "server");
|
||||
clearInterval(window.dotsAnim); // stop the dots animation
|
||||
var loader = document.getElementById("loadingide");
|
||||
loader.parentNode.removeChild(loader);
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
242
local/install.sh
Executable file
@ -0,0 +1,242 @@
|
||||
#!/bin/bash -e
|
||||
set -e
|
||||
has() {
|
||||
type "$1" > /dev/null 2>&1
|
||||
return $?
|
||||
}
|
||||
|
||||
# Redirect stdout ( > ) into a named pipe ( >() ) running "tee"
|
||||
exec > >(tee /tmp/installlog.txt)
|
||||
|
||||
# Without this, only stdout would be captured - i.e. your
|
||||
# log file would not contain any error messages.
|
||||
exec 2>&1
|
||||
|
||||
NODE_VERSION=v0.10.28
|
||||
APPSUPPORT_USER=$HOME/.c9
|
||||
SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
RUNTIME=$SCRIPT/..
|
||||
INSTALL_DIR=/tmp/c9-`date '+%s'`
|
||||
ORIGINAL_USER=`basename $HOME`
|
||||
OSX_INSTALLER_PATH=$2
|
||||
|
||||
start() {
|
||||
if [ $# -lt 1 ]; then
|
||||
start base
|
||||
return
|
||||
fi
|
||||
|
||||
# Try to figure out the os and arch for binary fetching
|
||||
local uname="$(uname -a)"
|
||||
local os=
|
||||
local arch="$(uname -m)"
|
||||
case "$uname" in
|
||||
Linux\ *) os=linux ;;
|
||||
Darwin\ *) os=darwin ;;
|
||||
SunOS\ *) os=sunos ;;
|
||||
FreeBSD\ *) os=freebsd ;;
|
||||
esac
|
||||
case "$uname" in
|
||||
*x86_64*) arch=x64 ;;
|
||||
*i*86*) arch=x86 ;;
|
||||
*armv6l*) arch=arm-pi ;;
|
||||
esac
|
||||
|
||||
if [ $os != "linux" ] && [ $os != "darwin" ]; then
|
||||
echo "Unsupported Platform: $os $arch" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $arch != "x64" ] && [ $arch != "x86" ]; then
|
||||
echo "Unsupported Architecture: $os $arch" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $os == "darwin" ]; then
|
||||
APPSUPPORT_USER="$HOME/Library/Application Support/Cloud9"
|
||||
APPTARGET=$OSX_INSTALLER_PATH
|
||||
APPSUPPORT="/Library/Application Support/Cloud9"
|
||||
RUNTIME="${APPTARGET}/Contents/Resources/app.nw"
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
"help" )
|
||||
echo
|
||||
echo "Cloud9 Installer"
|
||||
echo
|
||||
echo "Usage:"
|
||||
echo " install help Show this message"
|
||||
echo " install install [name [name ...]] Download and install a set of packages"
|
||||
echo " install ls List available packages"
|
||||
echo
|
||||
;;
|
||||
|
||||
"ls" )
|
||||
echo "!node - Node.js"
|
||||
echo "!tmux_install - TMUX"
|
||||
echo "!nak - NAK"
|
||||
echo "!vfsextend - VFS extend"
|
||||
echo "!ptyjs - pty.js"
|
||||
echo "!c9cli - C9 CLI"
|
||||
echo "!sc - Sauce Connect"
|
||||
echo "coffee - Coffee Script"
|
||||
echo "less - Less"
|
||||
echo "sass - Sass"
|
||||
echo "typescript - TypeScript"
|
||||
echo "stylus - Stylus"
|
||||
# echo "go - Go"
|
||||
# echo "heroku - Heroku"
|
||||
# echo "rhc - RedHat OpenShift"
|
||||
# echo "gae - Google AppEngine"
|
||||
;;
|
||||
|
||||
"install" )
|
||||
shift
|
||||
|
||||
# make sure dirs are around
|
||||
mkdir -p "$APPSUPPORT/bin"
|
||||
mkdir -p "$APPSUPPORT/node_modules"
|
||||
cd "$APPSUPPORT"
|
||||
|
||||
cp -a "$SCRIPT" "$INSTALL_DIR"
|
||||
|
||||
# install packages
|
||||
while [ $# -ne 0 ]
|
||||
do
|
||||
time eval ${1} $os $arch
|
||||
shift
|
||||
done
|
||||
|
||||
# finalize
|
||||
#pushd $APPSUPPORT/node_modules/.bin
|
||||
#for FILE in $APPSUPPORT/node_modules/.bin/*; do
|
||||
# if [ `uname` == Darwin ]; then
|
||||
# sed -i "" -E s:'#!/usr/bin/env node':"#!$NODE":g $(readlink $FILE)
|
||||
# else
|
||||
# sed -i -E s:'#!/usr/bin/env node':"#!$NODE":g $(readlink $FILE)
|
||||
# fi
|
||||
#done
|
||||
#popd
|
||||
|
||||
VERSION=`cat $RUNTIME/version || echo 1`
|
||||
echo 1 > "$APPSUPPORT/installed"
|
||||
echo $VERSION > "$APPSUPPORT/version"
|
||||
|
||||
# set chown/chmod of application dirs for update
|
||||
echo "Testing existence of APPTARGET (${APPTARGET})"
|
||||
if [ -d "$APPTARGET" ]; then
|
||||
echo "Updating permissions of APPTARGET (${APPTARGET})"
|
||||
chown -R root:admin "$APPTARGET" || chown -R root:staff "$APPTARGET"
|
||||
chmod -R 775 "$APPTARGET"
|
||||
fi
|
||||
|
||||
echo "Testing existence of APPSUPPORT (${APPSUPPORT})"
|
||||
if [ -d "$APPSUPPORT" ]; then
|
||||
echo "Updating permissions of APPSUPPORT (${APPSUPPORT})"
|
||||
chown -R root:admin "$APPSUPPORT" || chown -R root:staff "$APPSUPPORT"
|
||||
chmod -R 775 "$APPSUPPORT"
|
||||
fi
|
||||
|
||||
echo "Testing existence of APPSUPPORT_USER (${APPSUPPORT_USER})"
|
||||
if [ -n "$ORIGINAL_USER" ] && [ -d "$APPSUPPORT_USER" ]; then
|
||||
echo "Updating permissions of APPSUPPORT_USER (${APPSUPPORT_USER})"
|
||||
chown -R $ORIGINAL_USER "$APPSUPPORT_USER"
|
||||
fi
|
||||
|
||||
rm -Rf $INSTALL_DIR
|
||||
|
||||
echo :Done.
|
||||
;;
|
||||
|
||||
"base" )
|
||||
echo "Installing base packages. Use '`basename $0` help' for more options"
|
||||
start install node tmux_install nak ptyjs sc vfsextend c9cli
|
||||
;;
|
||||
|
||||
* )
|
||||
start base
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# NodeJS
|
||||
|
||||
node(){
|
||||
# clean up
|
||||
rm -rf node
|
||||
rm -rf node-$NODE_VERSION*
|
||||
|
||||
echo :Installing Node $NODE_VERSION
|
||||
|
||||
cd "$INSTALL_DIR"
|
||||
tar xvfz node-$NODE_VERSION-$1-$2.tar.gz
|
||||
rm -Rf "$APPSUPPORT/node"
|
||||
mv node-$NODE_VERSION-$1-$2 "$APPSUPPORT/node"
|
||||
}
|
||||
|
||||
tmux_install(){
|
||||
echo :Installing TMUX
|
||||
mkdir -p "$APPSUPPORT/bin"
|
||||
|
||||
if [ $os = "darwin" ]; then
|
||||
cd "$INSTALL_DIR"
|
||||
python rudix.py -i libevent-2.0.21-0.pkg
|
||||
python rudix.py -i tmux-1.9-0.pkg
|
||||
|
||||
if ! type "/usr/local/bin/tmux"; then
|
||||
echo "Installation Failed"
|
||||
exit 100
|
||||
fi
|
||||
|
||||
ln -sf "/usr/local/bin/tmux" "$APPSUPPORT/bin/tmux"
|
||||
# Linux
|
||||
else
|
||||
echo "Unsupported"
|
||||
fi
|
||||
}
|
||||
|
||||
vfsextend(){
|
||||
echo :Installing VFS extend
|
||||
cd "$INSTALL_DIR"
|
||||
tar xvfz c9-vfs-extend.tar.gz
|
||||
rm -Rf "$APPSUPPORT/c9-vfs-extend"
|
||||
mv c9-vfs-extend "$APPSUPPORT"
|
||||
}
|
||||
|
||||
sc(){
|
||||
echo :Installing Sauce Connect
|
||||
cd "$INSTALL_DIR"
|
||||
tar xvzf sc-4.0-latest.tar.gz
|
||||
rm -rf "$APPSUPPORT/sc"
|
||||
mv sc-4.0-latest "$APPSUPPORT/sc"
|
||||
}
|
||||
|
||||
nak(){
|
||||
echo :Installing Nak
|
||||
cd "$INSTALL_DIR"
|
||||
tar -zxvf nak.tar.gz
|
||||
mkdir -p "$APPSUPPORT/node_modules/.bin"
|
||||
rm -Rf "$APPSUPPORT/node_modules/nak"
|
||||
mv nak "$APPSUPPORT/node_modules"
|
||||
ln -s "$APPSUPPORT/node_modules/nak/bin/nak" "$APPSUPPORT/node_modules/.bin/nak" &2> /dev/null
|
||||
}
|
||||
|
||||
ptyjs(){
|
||||
echo :Installing pty.js
|
||||
cd "$INSTALL_DIR"
|
||||
tar -zxvf pty-$NODE_VERSION-$1-$2.tar.gz
|
||||
mkdir -p "$APPSUPPORT/node_modules"
|
||||
rm -Rf "$APPSUPPORT/node_modules/pty.js"
|
||||
mv pty.js "$APPSUPPORT/node_modules"
|
||||
}
|
||||
|
||||
c9cli(){
|
||||
if [ -d "/usr/local/bin/" ]; then
|
||||
chmod +x "$RUNTIME/bin/c9"
|
||||
ln -s -f "$RUNTIME/bin/c9" /usr/local/bin/c9
|
||||
else
|
||||
echo "unable to add c9cli to the path"
|
||||
fi
|
||||
}
|
||||
|
||||
start $@
|
||||
39
local/logger.js
Normal file
@ -0,0 +1,39 @@
|
||||
var sysLog = console.log;
|
||||
var sysWarn = console.warn;
|
||||
var sysError = console.error;
|
||||
var server = require("./server");
|
||||
|
||||
console.log = function() {
|
||||
writeLog.apply(null, arguments);
|
||||
sysLog.apply(console, arguments);
|
||||
};
|
||||
console.warn = function() {
|
||||
writeLog.apply(null, arguments);
|
||||
sysWarn.apply(console, arguments);
|
||||
};
|
||||
console.error = function() {
|
||||
writeLog.apply(null, arguments);
|
||||
sysError.apply(console, arguments);
|
||||
};
|
||||
|
||||
function writeLog(varargs) {
|
||||
var args = [];
|
||||
for (var i = 0; i < arguments.length; i++) {
|
||||
args[i] = typeof arguments[i] == "string"
|
||||
? arguments[i]
|
||||
: tryStringify(arguments[i]);
|
||||
}
|
||||
server.appendLog(args.join(" ") + "\n");
|
||||
}
|
||||
|
||||
function tryStringify(o) {
|
||||
try {
|
||||
return JSON.stringify(o);
|
||||
} catch (e) {
|
||||
return "" + o;
|
||||
}
|
||||
}
|
||||
|
||||
window.onerror = function(message, url, line, errorObj) {
|
||||
writeLog("ERROR:", message, "at", url, ":", line, errorObj.stack);
|
||||
};
|
||||
333
local/menus.js
Normal file
@ -0,0 +1,333 @@
|
||||
|
||||
function MenuManager(){
|
||||
var windowManager, connection, win, gui;
|
||||
var nativeMenuBar;
|
||||
|
||||
// Lookup table for the menus
|
||||
var menus = {};
|
||||
var timers = {};
|
||||
|
||||
var TIMEOUT = 500;
|
||||
|
||||
function checkNativeItems(menu, name) {
|
||||
var id = windowManager.activeWindowId;
|
||||
if (id === 0) {
|
||||
menu.items.forEach(function(item){
|
||||
if (item.key != "q")
|
||||
item.enabled = false;
|
||||
});
|
||||
gui.App.doneMenuShow();
|
||||
return;
|
||||
}
|
||||
|
||||
// Lets wait TIMEOUT ms before we force show the window
|
||||
clearTimeout(timers[name]);
|
||||
timers[name] = setTimeout(function(){
|
||||
var menu = menus[name].submenu;
|
||||
var nodes = menu.items.map(function(i){
|
||||
return {
|
||||
name: i.originalName,
|
||||
disabled: i.originalName != "Cloud9/Quit Cloud9",
|
||||
visible: true
|
||||
}
|
||||
});
|
||||
updateMenu(name, nodes);
|
||||
}, TIMEOUT);
|
||||
|
||||
// The window needs to send "showMenu" back - which calls updateMenu
|
||||
connection.sendToWindow(id, "menuShow", { name: name });
|
||||
}
|
||||
|
||||
function menuReady(name){
|
||||
clearTimeout(timers[name]);
|
||||
gui.App.doneMenuShow();
|
||||
}
|
||||
|
||||
function updateMenu(name, nodes){
|
||||
var menu = menus[name].submenu;
|
||||
var item;
|
||||
|
||||
var found = {};
|
||||
|
||||
for (var n, i = nodes.length - 1; i >= 0; i--) {
|
||||
n = nodes[i];
|
||||
item = menus[n.name];
|
||||
found[n.name] = true;
|
||||
|
||||
if (!item) {
|
||||
if (n.submenu)
|
||||
setSubMenu(n);
|
||||
else
|
||||
setMenuItem(n);
|
||||
continue;
|
||||
}
|
||||
|
||||
// Disabled
|
||||
item.enabled = !n.disabled;
|
||||
|
||||
// This is for internal use
|
||||
if (!n.caption)
|
||||
continue;
|
||||
|
||||
// Toggle visibility
|
||||
if (n.visible && menu.items.indexOf(item) == -1) {
|
||||
nativeInsertByIndex(menu, item, n.index);
|
||||
item.index = n.index;
|
||||
}
|
||||
else if (!n.visible && menu.items.indexOf(item) != -1) {
|
||||
item.visible = false;
|
||||
menu.remove(item);
|
||||
}
|
||||
|
||||
// Don't update items that are not visible
|
||||
if (!n.visible)
|
||||
continue;
|
||||
|
||||
if (item.label != n.caption)
|
||||
item.label = n.caption.replace(/\u2044/g, "/").trim();
|
||||
|
||||
// Update hotkey if needed
|
||||
if (n.key != item.key || n.modifiers != item.modifiers) {
|
||||
item.key = n.key;
|
||||
item.modifiers = n.modifiers;
|
||||
}
|
||||
|
||||
// Checkboxes and Radiobuttons
|
||||
if (item.type == "checkbox")
|
||||
item.checked = n.checked;
|
||||
}
|
||||
|
||||
// Hide the menu items that are not found
|
||||
var items = menu.items;
|
||||
for (var i = items.length - 1; i >= 0; i--) {
|
||||
if (!found[items[i].originalName]) {
|
||||
items[i].visible = false;
|
||||
menu.remove(items[i]);
|
||||
}
|
||||
}
|
||||
|
||||
menuReady(name);
|
||||
}
|
||||
|
||||
function decorateMenu(menu, path) {
|
||||
// Add show event
|
||||
menu.on("show", checkNativeItems.bind(this, menu, path));
|
||||
}
|
||||
|
||||
function nativeInsertByIndex(parent, item, index) {
|
||||
item.$position = index;
|
||||
|
||||
var beforeNode, diff = 100000000, nodes = parent.items;
|
||||
for (var i = 0, l = nodes.length; i < l; i++) {
|
||||
var d = nodes[i].$position - index;
|
||||
if (d > 0 && d < diff) {
|
||||
beforeNode = i;
|
||||
diff = d;
|
||||
}
|
||||
}
|
||||
|
||||
parent.insert(item, isNaN(beforeNode) ? nodes.length : beforeNode);
|
||||
|
||||
item.visible = true;
|
||||
|
||||
return item;
|
||||
}
|
||||
|
||||
function incrementIfExist(name, forceVisible) {
|
||||
if (!menus[name]) return false;
|
||||
var item = menus[name];
|
||||
item.increment++;
|
||||
|
||||
if (forceVisible && !item.visible)
|
||||
nativeInsertByIndex(findParent(name), item, forceVisible.index);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function addItem(name, item) {
|
||||
menus[name] = item;
|
||||
item.increment = 1;
|
||||
item.originalName = name;
|
||||
}
|
||||
|
||||
function setRootMenu(e){
|
||||
var item = nativeInsertByIndex(nativeMenuBar, new gui.MenuItem({
|
||||
label: e.name,
|
||||
submenu: new gui.Menu()
|
||||
}), e.index);
|
||||
|
||||
decorateMenu(item.submenu, e.name);
|
||||
|
||||
addItem(e.name, item);
|
||||
|
||||
// Assign Menu Bar to Window
|
||||
if (!win.menu)
|
||||
win.menu = nativeMenuBar;
|
||||
}
|
||||
|
||||
function setSubMenu(e){
|
||||
var parent = findParent(e.name);
|
||||
var item = nativeInsertByIndex(parent, new gui.MenuItem({
|
||||
label: e.name.split("/").pop(),
|
||||
submenu: new gui.Menu()
|
||||
}), e.index);
|
||||
|
||||
decorateMenu(item.submenu, e.name);
|
||||
|
||||
addItem(e.name, item);
|
||||
}
|
||||
|
||||
function setMenuItem(e){
|
||||
var item;
|
||||
var itemName = e.name.split("/").pop();
|
||||
var parent = findParent(e.name);
|
||||
|
||||
if (itemName.charAt(0) == "~") {
|
||||
item = new gui.MenuItem({ type: "separator" });
|
||||
} else {
|
||||
// Special Cases see https://github.com/rogerwang/node-webkit/compare/mac#diff-945bfbb0fd440b87cfe8ebf76f11c970R161
|
||||
if (e.name.slice(0, 4) == "Edit") {
|
||||
if (itemName == "Cut") {
|
||||
e.selector = "cut:";
|
||||
e.key = "x";
|
||||
}
|
||||
else if (itemName == "Copy") {
|
||||
e.selector = "copy:";
|
||||
e.key = "c";
|
||||
}
|
||||
else if (itemName == "Paste") {
|
||||
e.selector = "paste:";
|
||||
e.key = "v";
|
||||
}
|
||||
else if (itemName == "Select All") {
|
||||
e.selector = "selectAll:";
|
||||
e.key = "a";
|
||||
}
|
||||
else if (itemName == "Undo") {
|
||||
e.selector = "undo:";
|
||||
e.key = "z";
|
||||
}
|
||||
else if (itemName == "Redo") {
|
||||
e.selector = "redo:";
|
||||
e.key = "z";
|
||||
e.modifiers = "cmd-shift";
|
||||
}
|
||||
}
|
||||
|
||||
var options = {
|
||||
label: itemName.replace(/\u2044/g, "-"),
|
||||
enabled: !e.disabled,
|
||||
type: e.itemtype == "check"
|
||||
|| e.itemtype == "radio" ? "checkbox" : "normal",
|
||||
selector: e.selector,
|
||||
key: e.key,
|
||||
modifiers: e.modifiers,
|
||||
click: function(){
|
||||
var id = windowManager.activeWindowId;
|
||||
if (id === undefined) return;
|
||||
|
||||
connection.sendToWindow(id, "menuClick", {
|
||||
name: e.name
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
item = new gui.MenuItem(options);
|
||||
item.index = e.index;
|
||||
}
|
||||
|
||||
nativeInsertByIndex(parent, item, e.index);
|
||||
|
||||
addItem(e.name, item);
|
||||
}
|
||||
|
||||
function removeItem(path) {
|
||||
if (menus[path] && --menus[path].increment === 0) {
|
||||
menus[path].menu.remove(menus[path]);
|
||||
delete menus[path];
|
||||
}
|
||||
}
|
||||
|
||||
function findParent(path) {
|
||||
var p = path.split("/"); p.pop();
|
||||
var parent = menus[p.join("/")];
|
||||
return parent.submenu;
|
||||
}
|
||||
|
||||
this.init = function(wm) {
|
||||
windowManager = wm;
|
||||
|
||||
windowManager.registerSharedModule("nativeMenuBar", function(windowManager, cn) {
|
||||
win = windowManager.$allWindows.root;
|
||||
gui = win.window.nwGui;
|
||||
|
||||
// Assign Connection
|
||||
connection = cn;
|
||||
|
||||
// Create Menu Bar
|
||||
nativeMenuBar = new gui.Menu({ type: "menubar" });
|
||||
|
||||
setRootMenu({name: "Cloud9", index: 50});
|
||||
setRootMenu({name: "File", index: 100});
|
||||
setRootMenu({name: "Edit", index: 200});
|
||||
setRootMenu({name: "Find", index: 300});
|
||||
setRootMenu({name: "View", index: 400});
|
||||
setRootMenu({name: "Goto", index: 500});
|
||||
setRootMenu({name: "Run", index: 600});
|
||||
setRootMenu({name: "Tools", index: 700});
|
||||
setRootMenu({name: "Window", index: 800});
|
||||
setRootMenu({name: "Help", index: 900});
|
||||
|
||||
// Set Up Message Listeners
|
||||
connection.on("setRoot", function(e) {
|
||||
if (incrementIfExist(e.name)) return;
|
||||
|
||||
setRootMenu(e);
|
||||
});
|
||||
|
||||
connection.on("setSubMenu", function(e) {
|
||||
if (incrementIfExist(e.name)) return;
|
||||
|
||||
setSubMenu(e);
|
||||
});
|
||||
|
||||
connection.on("setMenuItem", function(e) {
|
||||
if (incrementIfExist(e.name, e)) return;
|
||||
|
||||
setMenuItem(e);
|
||||
});
|
||||
|
||||
connection.on("remove", function(e) {
|
||||
removeItem(e.name);
|
||||
});
|
||||
|
||||
connection.on("showMenu", function(e) {
|
||||
updateMenu(e.name, e.items);
|
||||
});
|
||||
|
||||
connection.on("enableUndoRedo", function(e) {
|
||||
var menu = menus["Edit"].submenu;
|
||||
|
||||
["Edit/Undo", "Edit/Redo"].forEach(function(path){
|
||||
var item = menus[path];
|
||||
if (item && menu.items.indexOf(item) == -1)
|
||||
nativeInsertByIndex(menu, item, item.index);
|
||||
});
|
||||
});
|
||||
|
||||
connection.on("builtin", function(e) {
|
||||
if (!win.hasBuiltIn) {
|
||||
while (nativeMenuBar.items.length) {
|
||||
nativeMenuBar.remove(nativeMenuBar.items[0]);
|
||||
}
|
||||
|
||||
nativeMenuBar.createMacBuiltin("Cloud9");
|
||||
win.menu = nativeMenuBar;
|
||||
win.hasBuiltIn = true;
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = new MenuManager();
|
||||
19
local/package.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "Cloud9dev",
|
||||
"version": "0.0.1",
|
||||
"main": "projectManager.html",
|
||||
"node-remote": "localhost",
|
||||
"window": {
|
||||
"title": "Cloud9",
|
||||
"toolbar": false,
|
||||
"width": 1100,
|
||||
"height": 800,
|
||||
"show": false,
|
||||
"frame": true
|
||||
},
|
||||
"win_bg": "#000000",
|
||||
"chromium-args" : "--disable-web-security --ignore-certificate-errors --auth-schemes='digest,ntlm,negotiate,basic'",
|
||||
"webkit": {
|
||||
"page-cache": false
|
||||
}
|
||||
}
|
||||
27
local/projectManager.html
Normal file
@ -0,0 +1,27 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<!-- Node.js Context -->
|
||||
<script>
|
||||
var nwGui = require("nw.gui");
|
||||
var argv = nwGui.App.argv;
|
||||
var win = nwGui.Window.get();
|
||||
var c = console;
|
||||
|
||||
/*::dev:{*/
|
||||
if (argv.indexOf("--no-devtools") == -1)
|
||||
win.showDevTools();
|
||||
/*::dev:}*/
|
||||
|
||||
process.on("uncaughtException", function(err) {
|
||||
c.error(err);
|
||||
});
|
||||
|
||||
var server = require("./server");
|
||||
server.windowManager.registerWindow(win, "root");
|
||||
server.windowManager.restoreSession();
|
||||
if (process.platform == "darwin") {
|
||||
var menus = require("./menus");
|
||||
menus.init(server.windowManager);
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
1264
local/server.js
Normal file
23
node_modules/ace/.gitignore
generated
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
# Junk that could exist anywhere:
|
||||
.DS_Store
|
||||
*.swp
|
||||
*.tmp
|
||||
*~
|
||||
|
||||
# Project files that should not be in the repo
|
||||
.*
|
||||
\#*
|
||||
!/.gitignore
|
||||
.*.gz
|
||||
*.tmTheme.js
|
||||
|
||||
# A handy place to put stuff that git should ignore:
|
||||
/ignore/
|
||||
node_modules/
|
||||
jam/
|
||||
* *
|
||||
|
||||
.git-ref
|
||||
npm-debug.log
|
||||
deps/
|
||||
build/*
|
||||
6
node_modules/ace/.gitmodules
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
[submodule "doc/wiki"]
|
||||
path = doc/wiki
|
||||
url = https://github.com/ajaxorg/ace.wiki.git
|
||||
[submodule "build"]
|
||||
path = build
|
||||
url = https://github.com/ajaxorg/ace-builds.git
|
||||
1
node_modules/ace/.travis.yml
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
language: node_js
|
||||
1
node_modules/ace/CNAME
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
ace.c9.io
|
||||
22
node_modules/ace/CONTRIBUTING.md
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
Contributing
|
||||
------------
|
||||
|
||||
Ace is a community project and wouldn't be what it is without contributions! We actively encourage and support contributions. The Ace source code is released under the BSD License. This license is very simple, and is friendly to all kinds of projects, whether open source or not. Take charge of your editor and add your favorite language highlighting and keybindings!
|
||||
|
||||
Feel free to fork and improve/enhance Ace any way you want. If you feel that the editor or the Ace community will benefit from your changes, please open a pull request. To protect the interests of the Ace contributors and users we require contributors to sign a Contributors License Agreement (CLA) before we pull the changes into the main repository. Our CLA is the simplest of agreements, requiring that the contributions you make to an ajax.org project are only those you're allowed to make. This helps us significantly reduce future legal risk for everyone involved. It is easy, helps everyone, takes ten minutes, and only needs to be completed once.
|
||||
|
||||
There are two versions of the agreement:
|
||||
|
||||
1. [The Individual CLA](https://github.com/ajaxorg/ace/raw/master/doc/Contributor_License_Agreement-v2.pdf): use this version if you're working on an ajax.org in your spare time, or can clearly claim ownership of copyright in what you'll be submitting.
|
||||
2. [The Corporate CLA](https://github.com/ajaxorg/ace/raw/master/doc/Corporate_Contributor_License_Agreement-v2.pdf): have your corporate lawyer review and submit this if your company is going to be contributing to ajax.org projects
|
||||
|
||||
If you want to contribute to an ajax.org project please print the CLA and fill it out and sign it. Then either send it by snail mail or fax to us or send it back scanned (or as a photo) by email.
|
||||
|
||||
Email: ace+cla@c9.io
|
||||
|
||||
Fax: +31 (0) 206388953
|
||||
|
||||
Address: Ajax.org B.V.
|
||||
Keizersgracht 241
|
||||
1016 EA, Amsterdam
|
||||
the Netherlands
|
||||
325
node_modules/ace/ChangeLog.txt
generated
vendored
Normal file
@ -0,0 +1,325 @@
|
||||
2014.11.08 Version 1.1.8
|
||||
|
||||
* API Changes
|
||||
- `editor.commands.commandKeyBinding` now contains direct map from keys to commands instead of grouping them by hashid
|
||||
|
||||
* New Features
|
||||
- Improved autoindent for html and php modes (Adam Jimenez)
|
||||
- Find All from searchbox (Colton Voege)
|
||||
|
||||
* new language modes
|
||||
- Elixir, Elm
|
||||
|
||||
2014.09.21 Version 1.1.7
|
||||
|
||||
* Bugfixes
|
||||
- fix several bugs in autocompletion
|
||||
- workaround for inaccurate getBoundingClientRect on chrome 37
|
||||
|
||||
2014.08.17 Version 1.1.6
|
||||
|
||||
* Bugfixes
|
||||
- fix regression in double tap to highlight
|
||||
- Improved Latex Mode (Daniel Felder)
|
||||
|
||||
* API Changes
|
||||
- editor.destroy destroys editor.session too (call editor.setSession(null) to prevent that)
|
||||
|
||||
* new language modes
|
||||
- Praat (José Joaquín Atria)
|
||||
- Eiffel (Victorien Elvinger)
|
||||
- G-code (Adam Joseph Cook)
|
||||
|
||||
2014.07.09 Version 1.1.5
|
||||
|
||||
* Bugfixes
|
||||
- fix regression in autocomplete popup
|
||||
|
||||
* new language modes
|
||||
- gitignore (Devon Carew)
|
||||
|
||||
2014.07.01 Version 1.1.4
|
||||
|
||||
* New Features
|
||||
- Highlight matching tags (Adam Jimenez)
|
||||
- Improved jump to matching command (Adam Jimenez)
|
||||
|
||||
* new language modes
|
||||
- AppleScript (Yaogang Lian)
|
||||
- Vala
|
||||
|
||||
2014.03.08 Version 1.1.3
|
||||
|
||||
* New Features
|
||||
- Allow syntax checkers to be loaded from CDN (Derk-Jan Hartman)
|
||||
- Add ColdFusion behavior (Abram Adams)
|
||||
- add showLineNumbers option
|
||||
- Add html syntax checker (danyaPostfactum)
|
||||
|
||||
* new language modes
|
||||
- Gherkin (Patrick Nevels)
|
||||
- Smarty
|
||||
|
||||
2013.12.02 Version 1.1.2
|
||||
|
||||
* New Features
|
||||
- Accessibility Theme for Ace (Peter Xiao)
|
||||
- use snipetManager for expanding emmet snippets
|
||||
- update jshint to 2.1.4
|
||||
- improve php syntax checker (jdalegonzalez)
|
||||
- add option for autoresizing
|
||||
- add option for autohiding vertical scrollbar
|
||||
- improvements to highlighting of xml like languages (danyaPostfactum)
|
||||
- add support for autocompletion and snippets (gjtorikyan danyaPostfactum and others)
|
||||
- add option to merge similar changes in undo history
|
||||
- add scrollPastEnd option
|
||||
- use html5 dragndrop for text dragging (danyaPostfactum)
|
||||
|
||||
* API Changes
|
||||
- fixed typo in HashHandler commmandManager
|
||||
|
||||
* new language modes
|
||||
- Nix (Zef Hemel)
|
||||
- Protobuf (Zef Hemel)
|
||||
- Soy
|
||||
- Handlebars
|
||||
|
||||
2013.06.04 Version 1.1.1
|
||||
|
||||
- Improved emacs keybindings (Robert Krahn)
|
||||
- Added markClean, isClean methods to UndoManager (Joonsoo Jeon)
|
||||
- Do not allow `Toggle comments` command to remove spaces from indentation
|
||||
- Softer colors for indent guides in dark themes
|
||||
|
||||
* new language modes
|
||||
- Ada
|
||||
- Assembly_x86
|
||||
- Cobol
|
||||
- D
|
||||
- ejs
|
||||
- MATLAB
|
||||
- MySQL
|
||||
- Twig
|
||||
- Verilog
|
||||
|
||||
2013.05.01, Version 1.1.0
|
||||
|
||||
* API Changes
|
||||
- Default position of the editor container is changed to relative. Add `.ace_editor {position: absolute}` css rule to restore old behavior
|
||||
- Changed default line-height to `normal` to not conflict with bootstrap. Use `line-height: inherit` for old behavior.
|
||||
- Changed marker types accepted by session.addMarker. It now accepts "text"|"line"|"fullLine"|"screenLine"
|
||||
- Internal classnames used by editor were made more consistent
|
||||
- Introduced `editor.setOption/getOption/setOptions/getOptions` methods
|
||||
- Introduced positionToIndex, indexToPosition methods
|
||||
|
||||
* New Features
|
||||
- Improved emacs mode (chetstone)
|
||||
with Incremental search and Occur modes (Robert Krahn)
|
||||
|
||||
- Improved ime handling
|
||||
- Searchbox (Vlad Zinculescu)
|
||||
|
||||
- Added elastic tabstops lite extension (Garen Torikian)
|
||||
- Added extension for whitespace manipulation
|
||||
- Added extension for enabling spellchecking from contextmenu
|
||||
- Added extension for displaying available keyboard shortcuts (Matthew Christopher Kastor-Inare III)
|
||||
- Added extension for displaying options panel (Matthew Christopher Kastor-Inare III)
|
||||
- Added modelist extension (Matthew Christopher Kastor-Inare III)
|
||||
|
||||
- Improved toggleCommentLines and added ToggleCommentBlock command
|
||||
- `:;` pairing in CSS mode (danyaPostfactum)
|
||||
|
||||
- Added suppoert for Delete and SelectAll from context menu (danyaPostfactum)
|
||||
|
||||
- Make wrapping behavior optional
|
||||
- Selective bracket insertion/skipping
|
||||
|
||||
- Added commands for increase/decrease numbers, sort lines (Vlad Zinculescu)
|
||||
- Folding for Markdown, Lua, LaTeX
|
||||
- Selective bracket insertion/skipping for C-like languages
|
||||
|
||||
* Many new languages
|
||||
- Scheme (Mu Lei)
|
||||
- Dot (edwardsp)
|
||||
- FreeMarker (nguillaumin)
|
||||
- Tiny Mushcode (h3rb)
|
||||
- Velocity (Ryan Griffith)
|
||||
- TOML (Garen Torikian)
|
||||
- LSL (Nemurimasu Neiro, Builders Brewery)
|
||||
- Curly (Libo Cannici)
|
||||
- vbScript (Jan Jongboom)
|
||||
- R (RStudio)
|
||||
- ABAP
|
||||
- Lucene (Graham Scott)
|
||||
- Haml (Garen Torikian)
|
||||
- Objective-C (Garen Torikian)
|
||||
- Makefile (Garen Torikian)
|
||||
- TypeScript (Garen Torikian)
|
||||
- Lisp (Garen Torikian)
|
||||
- Stylus (Garen Torikian)
|
||||
- Dart (Garen Torikian)
|
||||
|
||||
* Live syntax checks
|
||||
- PHP (danyaPostfactum)
|
||||
- Lua
|
||||
|
||||
* New Themes
|
||||
- Chaos
|
||||
- Terminal
|
||||
|
||||
2012.09.17, Version 1.0.0
|
||||
|
||||
* New Features
|
||||
- Multiple cursors and selections (https://c9.io/site/blog/2012/08/be-an-armenian-warrior-with-block-selection-on-steroids/)
|
||||
- Fold buttons displayed in the gutter
|
||||
- Indent Guides
|
||||
- Completely reworked vim mode (Sergi Mansilla)
|
||||
- Improved emacs keybindings
|
||||
- Autoclosing of html tags (danyaPostfactum)
|
||||
|
||||
* 20 New language modes
|
||||
- Coldfusion (Russ)
|
||||
- Diff
|
||||
- GLSL (Ed Mackey)
|
||||
- Go (Davide Saurino)
|
||||
- Haxe (Jason O'Neil)
|
||||
- Jade (Garen Torikian)
|
||||
- jsx (Syu Kato)
|
||||
- LaTeX (James Allen)
|
||||
- Less (John Roepke)
|
||||
- Liquid (Bernie Telles)
|
||||
- Lua (Lee Gao)
|
||||
- LuaPage (Choonster)
|
||||
- Markdown (Chris Spencer)
|
||||
- PostgreSQL (John DeSoi)
|
||||
- Powershell (John Kane)
|
||||
- Sh (Richo Healey)
|
||||
- SQL (Jonathan Camile)
|
||||
- Tcl (Cristoph Hochreiner)
|
||||
- XQuery (William Candillion)
|
||||
- Yaml (Meg Sharkey)
|
||||
|
||||
* Live syntax checks
|
||||
- for XQuery and JSON
|
||||
|
||||
* New Themes
|
||||
- Ambiance (Irakli Gozalishvili)
|
||||
- Dreamweaver (Adam Jimenez)
|
||||
- Github (bootstraponline)
|
||||
- Tommorrow themes (https://github.com/chriskempson/tomorrow-theme)
|
||||
- XCode
|
||||
|
||||
* Many Small Enhancements and Bugfixes
|
||||
|
||||
2011.08.02, Version 0.2.0
|
||||
|
||||
* Split view (Julian Viereck)
|
||||
- split editor area horizontally or vertivally to show two files at the same
|
||||
time
|
||||
|
||||
* Code Folding (Julian Viereck)
|
||||
- Unstructured code folding
|
||||
- Will be the basis for language aware folding
|
||||
|
||||
* Mode behaviours (Chris Spencer)
|
||||
- Adds mode specific hooks which allow transformations of entered text
|
||||
- Autoclosing of braces, paranthesis and quotation marks in C style modes
|
||||
- Autoclosing of angular brackets in XML style modes
|
||||
|
||||
* New language modes
|
||||
- Clojure (Carin Meier)
|
||||
- C# (Rob Conery)
|
||||
- Groovy (Ben Tilford)
|
||||
- Scala (Ben Tilford)
|
||||
- JSON
|
||||
- OCaml (Sergi Mansilla)
|
||||
- Perl (Panagiotis Astithas)
|
||||
- SCSS/SASS (Andreas Madsen)
|
||||
- SVG
|
||||
- Textile (Kelley van Evert)
|
||||
- SCAD (Jacob Hansson)
|
||||
|
||||
* Live syntax checks
|
||||
- Lint for CSS using CSS Lint <http://csslint.net/>
|
||||
- CoffeeScript
|
||||
|
||||
* New Themes
|
||||
- Crimson Editor (iebuggy)
|
||||
- Merbivore (Michael Schwartz)
|
||||
- Merbivore soft (Michael Schwartz)
|
||||
- Solarized dark/light <http://ethanschoonover.com/solarized> (David Alan Hjelle)
|
||||
- Vibrant Ink (Michael Schwartz)
|
||||
|
||||
* Small Features/Enhancements
|
||||
- Lots of render performance optimizations (Harutyun Amirjanyan)
|
||||
- Improved Ruby highlighting (Chris Wanstrath, Trent Ogren)
|
||||
- Improved PHP highlighting (Thomas Hruska)
|
||||
- Improved CSS highlighting (Sean Kellogg)
|
||||
- Clicks which cause the editor to be focused don't reset the selection
|
||||
- Make padding text layer specific so that print margin and active line
|
||||
highlight are not affected (Irakli Gozalishvili)
|
||||
- Added setFontSize method
|
||||
- Improved vi keybindings (Trent Ogren)
|
||||
- When unfocused make cursor transparent instead of removing it (Harutyun Amirjanyan)
|
||||
- Support for matching groups in tokenizer with arrays of tokens (Chris Spencer)
|
||||
|
||||
* Bug fixes
|
||||
- Add support for the new OSX scroll bars
|
||||
- Properly highlight JavaScript regexp literals
|
||||
- Proper handling of unicode characters in JavaScript identifiers
|
||||
- Fix remove lines command on last line (Harutyun Amirjanyan)
|
||||
- Fix scroll wheel sluggishness in Safari
|
||||
- Make keyboard infrastructure route keys like []^$ the right way (Julian Viereck)
|
||||
|
||||
2011.02.14, Version 0.1.6
|
||||
|
||||
* Floating Anchors
|
||||
- An Anchor is a floating pointer in the document.
|
||||
- Whenever text is inserted or deleted before the cursor, the position of
|
||||
the cursor is updated
|
||||
- Usesd for the cursor and selection
|
||||
- Basis for bookmarks, multiple cursors and snippets in the future
|
||||
* Extensive support for Cocoa style keybindings on the Mac <https://github.com/ajaxorg/ace/issues/closed#issue/116/comment/767803>
|
||||
* New commands:
|
||||
- center selection in viewport
|
||||
- remove to end/start of line
|
||||
- split line
|
||||
- transpose letters
|
||||
* Refator markers
|
||||
- Custom code can be used to render markers
|
||||
- Markers can be in front or behind the text
|
||||
- Markers are now stored in the session (was in the renderer)
|
||||
* Lots of IE8 fixes including copy, cut and selections
|
||||
* Unit tests can also be run in the browser
|
||||
<https://github.com/ajaxorg/ace/blob/master/lib/ace/test/tests.html>
|
||||
* Soft wrap can adapt to the width of the editor (Mike Ratcliffe, Joe Cheng)
|
||||
* Add minimal node server server.js to run the Ace demo in Chrome
|
||||
* The top level editor.html demo has been renamed to index.html
|
||||
* Bug fixes
|
||||
- Fixed gotoLine to consider wrapped lines when calculating where to scroll to (James Allen)
|
||||
- Fixed isues when the editor was scrolled in the web page (Eric Allam)
|
||||
- Highlighting of Python string literals
|
||||
- Syntax rule for PHP comments
|
||||
|
||||
2011.02.08, Version 0.1.5
|
||||
|
||||
* Add Coffeescript Mode (Satoshi Murakami)
|
||||
* Fix word wrap bug (Julian Viereck)
|
||||
* Fix packaged version of the Eclipse mode
|
||||
* Loading of workers is more robust
|
||||
* Fix "click selection"
|
||||
* Allow tokizing empty lines (Daniel Krech)
|
||||
* Make PageUp/Down behavior more consistent with native OS (Joe Cheng)
|
||||
|
||||
2011.02.04, Version 0.1.4
|
||||
|
||||
* Add C/C++ mode contributed by Gastón Kleiman
|
||||
* Fix exception in key input
|
||||
|
||||
2011.02.04, Version 0.1.3
|
||||
|
||||
* Let the packaged version play nice with requireJS
|
||||
* Add Ruby mode contributed by Shlomo Zalman Heigh
|
||||
* Add Java mode contributed by Tom Tasche
|
||||
* Fix annotation bug
|
||||
* Changing a document added a new empty line at the end
|
||||
24
node_modules/ace/LICENSE
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
Copyright (c) 2010, Ajax.org B.V.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of Ajax.org B.V. nor the
|
||||
names of its contributors may be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
44
node_modules/ace/Makefile
generated
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
.PHONY : doc build clean dist
|
||||
|
||||
pre_build:
|
||||
git rev-parse HEAD > .git-ref
|
||||
mkdir -p build/src
|
||||
mkdir -p build/demo/kitchen-sink
|
||||
mkdir -p build/textarea/src
|
||||
|
||||
cp -r demo/kitchen-sink/styles.css build/demo/kitchen-sink/styles.css
|
||||
cp demo/kitchen-sink/logo.png build/demo/kitchen-sink/logo.png
|
||||
cp -r doc/site/images build/textarea
|
||||
|
||||
build: pre_build
|
||||
./Makefile.dryice.js normal
|
||||
./Makefile.dryice.js demo
|
||||
|
||||
# Minimal build: call Makefile.dryice.js only if our sources changed
|
||||
basic: build/src/ace.js
|
||||
|
||||
build/src/ace.js : ${wildcard lib/*} \
|
||||
${wildcard lib/*/*} \
|
||||
${wildcard lib/*/*/*} \
|
||||
${wildcard lib/*/*/*/*} \
|
||||
${wildcard lib/*/*/*/*/*} \
|
||||
${wildcard lib/*/*/*/*/*/*}
|
||||
./Makefile.dryice.js
|
||||
|
||||
doc:
|
||||
cd doc;\
|
||||
(test -d node_modules && npm update) || npm install;\
|
||||
node build.js
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
rm -rf ace-*
|
||||
rm -f ace-*.tgz
|
||||
|
||||
ace.tgz: build
|
||||
mv build ace-`./version.js`/
|
||||
cp Readme.md ace-`./version.js`/
|
||||
cp LICENSE ace-`./version.js`/
|
||||
tar cvfz ace-`./version.js`.tgz ace-`./version.js`/
|
||||
|
||||
dist: clean build ace.tgz
|
||||
566
node_modules/ace/Makefile.dryice.js
generated
vendored
Executable file
@ -0,0 +1,566 @@
|
||||
#!/usr/bin/env node
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Distributed under the BSD license:
|
||||
*
|
||||
* Copyright (c) 2010, Ajax.org B.V.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* * Neither the name of Ajax.org B.V. nor the
|
||||
* names of its contributors may be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
var fs = require("fs");
|
||||
var path = require("path");
|
||||
var copy = require('architect-build/copy');
|
||||
var build = require('architect-build/build');
|
||||
|
||||
var ACE_HOME = __dirname;
|
||||
var BUILD_DIR = ACE_HOME + "/build";
|
||||
var CACHE = {};
|
||||
|
||||
function main(args) {
|
||||
if (args.indexOf("updateModes") !== -1) {
|
||||
return updateModes();
|
||||
}
|
||||
var type = "minimal";
|
||||
args = args.map(function(x) {
|
||||
if (x[0] == "-" && x[1] != "-")
|
||||
return "-" + x;
|
||||
return x;
|
||||
}).filter(Boolean);
|
||||
|
||||
if (args[2] && (args[2][0] != "-" || args[2].indexOf("h") != -1))
|
||||
type = args[2];
|
||||
|
||||
var i = args.indexOf("--target");
|
||||
if (i != -1 && args[i+1])
|
||||
BUILD_DIR = args[i+1];
|
||||
|
||||
if (args.indexOf("--h") == -1) {
|
||||
if (type == "minimal") {
|
||||
buildAce({
|
||||
compress: args.indexOf("--m") != -1,
|
||||
noconflict: args.indexOf("--nc") != -1,
|
||||
shrinkwrap: args.indexOf("--s") != -1
|
||||
});
|
||||
} else if (type == "normal") {
|
||||
ace();
|
||||
} else if (type == "demo") {
|
||||
demo();
|
||||
} else if (type == "full") {
|
||||
ace();
|
||||
demo();
|
||||
} else if (type == "highlighter") {
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function showHelp(type) {
|
||||
console.log("--- Ace Dryice Build Tool ---");
|
||||
console.log("");
|
||||
console.log("Options:");
|
||||
console.log(" minimal Places necessary Ace files out in build dir; uses configuration flags below [default]");
|
||||
console.log(" normal Runs four Ace builds--minimal, minimal-noconflict, minimal-min, and minimal-noconflict-min");
|
||||
console.log(" demo Runs demo build of Ace");
|
||||
console.log(" full all of above");
|
||||
console.log(" highlighter ");
|
||||
console.log("args:");
|
||||
console.log(" --target ./path path to build folder");
|
||||
console.log("flags:");
|
||||
console.log(" --h print this help");
|
||||
console.log(" --m minify");
|
||||
console.log(" --nc namespace require");
|
||||
console.log(" --s shrinkwrap (combines all output files into one)");
|
||||
console.log("");
|
||||
if (type)
|
||||
console.log(" output for " + type + " generated in " + BUILD_DIR);
|
||||
}
|
||||
|
||||
function ace() {
|
||||
console.log('# ace License | Readme | Changelog ---------');
|
||||
|
||||
copy.file(ACE_HOME + "/build_support/editor.html", BUILD_DIR + "/editor.html");
|
||||
copy.file(ACE_HOME + "/LICENSE", BUILD_DIR + "/LICENSE");
|
||||
copy.file(ACE_HOME + "/ChangeLog.txt", BUILD_DIR + "/ChangeLog.txt");
|
||||
|
||||
console.log('# ace ---------');
|
||||
for (var i = 0; i < 4; i++)
|
||||
buildAce({compress: i & 2, noconflict: i & 1});
|
||||
}
|
||||
|
||||
function demo() {
|
||||
console.log('# kitchen sink ---------');
|
||||
|
||||
var version = "", ref = "";
|
||||
try {
|
||||
version = JSON.parse(fs.readFileSync(ACE_HOME + "/package.json")).version;
|
||||
ref = fs.readFileSync(ACE_HOME + "/.git-ref").toString();
|
||||
} catch(e) {}
|
||||
|
||||
function changeComments(data) {
|
||||
return (data
|
||||
.replace("doc/site/images/ace-logo.png", "demo/kitchen-sink/ace-logo.png")
|
||||
.replace(/<!\-\-DEVEL[\d\D]*?DEVEL\-\->/g, "")
|
||||
.replace(/PACKAGE\-\->|<!\-\-PACKAGE/g, "")
|
||||
.replace(/\/\*DEVEL[\d\D]*?DEVEL\*\//g, "")
|
||||
.replace(/PACKAGE\*\/|\/\*PACKAGE/g, "")
|
||||
.replace("%version%", version)
|
||||
.replace("%commit%", ref)
|
||||
);
|
||||
}
|
||||
|
||||
copy(ACE_HOME +"/demo/kitchen-sink/docs/", BUILD_DIR + "/demo/kitchen-sink/docs/");
|
||||
|
||||
copy.file(ACE_HOME + "/demo/kitchen-sink/logo.png", BUILD_DIR + "/demo/kitchen-sink/logo.png");
|
||||
copy.file(ACE_HOME + "/demo/kitchen-sink/styles.css", BUILD_DIR + "/demo/kitchen-sink/styles.css");
|
||||
copy.file(ACE_HOME + "/kitchen-sink.html", BUILD_DIR + "/kitchen-sink.html", changeComments);
|
||||
|
||||
buildSubmodule({}, {
|
||||
require: ["kitchen-sink/demo"],
|
||||
projectType: "demo"
|
||||
}, BUILD_DIR + "/demo/kitchen-sink/demo");
|
||||
|
||||
copy(ACE_HOME + "/demo/", BUILD_DIR + "/demo/", {
|
||||
shallow: true,
|
||||
exclude: /\s|requirejs/,
|
||||
include: /\.(js|html)$/,
|
||||
replace: function(source) {
|
||||
if (!/^\s*</.test(source))
|
||||
return source;
|
||||
var removeRequireJS;
|
||||
source = source.replace(/<script src="kitchen-sink\/require.js"[\s\S]+?require\(\[([^\]]+).*/, function(e, m) {
|
||||
removeRequireJS = true;
|
||||
var scripts = m.split(/,\s*/);
|
||||
var result = [];
|
||||
function comment(str) {result.push("<!-- " + str + " -->")}
|
||||
function script(str) {result.push('<script src="../src/' + str + '.js"></script>')}
|
||||
scripts.forEach(function(s) {
|
||||
s = s.replace(/"/g, "");
|
||||
if (s == "ace/ace") {
|
||||
comment("load ace");
|
||||
script("ace");
|
||||
} else {
|
||||
var extName = s.match(/[^/]*$/)[0];
|
||||
comment("load ace " + extName + " extension");
|
||||
script("ext-" + extName);
|
||||
}
|
||||
});
|
||||
result.push("<script>");
|
||||
return result.join("\n");
|
||||
});
|
||||
if (removeRequireJS)
|
||||
source = source.replace(/\s*\}\);?\s*(<\/script>)/, "\n$1");
|
||||
source = source.replace(/"\.\.\/build\//g, function(e) {
|
||||
console.log(e); return '"../';
|
||||
});
|
||||
return source;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function jsFileList(path, filter) {
|
||||
path = ACE_HOME + "/" + path;
|
||||
if (!filter)
|
||||
filter = /_test/;
|
||||
|
||||
return fs.readdirSync(path).map(function(x) {
|
||||
if (x.slice(-3) == ".js" && !filter.test(x) && !/\s|BASE|(\b|_)dummy(\b|_)/.test(x))
|
||||
return x.slice(0, -3);
|
||||
}).filter(Boolean);
|
||||
}
|
||||
|
||||
function workers(path) {
|
||||
return jsFileList(path).map(function(x) {
|
||||
if (x.slice(-7) == "_worker")
|
||||
return x.slice(0, -7);
|
||||
}).filter(function(x) { return !!x; });
|
||||
}
|
||||
|
||||
function modeList() {
|
||||
return jsFileList("lib/ace/mode", /_highlight_rules|_test|_worker|xml_util|_outdent|behaviour|completions/);
|
||||
}
|
||||
|
||||
function buildAceModule(opts, callback) {
|
||||
// calling buildAceModuleInternal many times in parallel is slow, so we use queue
|
||||
if (!buildAceModule.queue) {
|
||||
buildAceModule.queue = [];
|
||||
buildAceModule.dequeue = function() {
|
||||
if (buildAceModule.running) return;
|
||||
var call = buildAceModule.queue.shift();
|
||||
buildAceModule.running = call;
|
||||
if (call)
|
||||
buildAceModuleInternal.apply(null, call);
|
||||
};
|
||||
}
|
||||
|
||||
buildAceModule.queue.push([opts, function(err, result) {
|
||||
callback && callback(err, result);
|
||||
buildAceModule.running = null;
|
||||
buildAceModule.dequeue();
|
||||
}]);
|
||||
|
||||
if (!buildAceModule.running) {
|
||||
buildAceModule.dequeue();
|
||||
} else {
|
||||
process.nextTick(buildAceModule.dequeue);
|
||||
}
|
||||
}
|
||||
|
||||
function buildAceModuleInternal(opts, callback) {
|
||||
var cache = opts.cache == undefined ? CACHE : opts.cache;
|
||||
var key = opts.require + "|" + opts.projectType;
|
||||
if (cache && cache.configs && cache.configs[key])
|
||||
return write(null, cache.configs[key]);
|
||||
|
||||
var pathConfig = {
|
||||
paths: {
|
||||
ace: ACE_HOME + "/lib/ace",
|
||||
"kitchen-sink": ACE_HOME + "/demo/kitchen-sink",
|
||||
build_support: ACE_HOME + "/build_support",
|
||||
},
|
||||
root: ACE_HOME
|
||||
};
|
||||
|
||||
function write(err, result) {
|
||||
if (cache && key && !(cache.configs && cache.configs[key])) {
|
||||
cache.configs = cache.configs || Object.create(null);
|
||||
cache.configs[key] = result;
|
||||
result.sources = result.sources.map(function(pkg) {
|
||||
return {deps: pkg.deps};
|
||||
});
|
||||
}
|
||||
|
||||
if (!opts.outputFile)
|
||||
return callback(err, result);
|
||||
|
||||
var code = result.code;
|
||||
if (opts.compress) {
|
||||
if (!result.codeMin)
|
||||
result.codeMin = compress(result.code);
|
||||
code = result.codeMin;
|
||||
}
|
||||
|
||||
var targetDir = BUILD_DIR + "/src";
|
||||
if (opts.compress)
|
||||
targetDir += "-min";
|
||||
if (opts.noconflict)
|
||||
targetDir += "-noconflict";
|
||||
|
||||
var to = /^([\\/]|\w:)/.test(opts.outputFile)
|
||||
? opts.outputFile
|
||||
: path.join(opts.outputFolder || targetDir, opts.outputFile);
|
||||
|
||||
var filters = [];
|
||||
|
||||
var ns = opts.ns || "ace";
|
||||
if (opts.filters)
|
||||
filters = filters.concat(opts.filters);
|
||||
|
||||
if (opts.noconflict)
|
||||
filters.push(namespace(ns));
|
||||
var projectType = opts.projectType;
|
||||
if (projectType == "main" || projectType == "ext") {
|
||||
filters.push(exportAce(ns, opts.require[0],
|
||||
opts.noconflict ? ns : "", projectType == "ext"));
|
||||
}
|
||||
|
||||
filters.forEach(function(f) { code = f(code); });
|
||||
|
||||
build.writeToFile({code: code}, {
|
||||
outputFolder: path.dirname(to),
|
||||
outputFile: path.basename(to),
|
||||
}, function() {});
|
||||
|
||||
callback && callback(err, result);
|
||||
}
|
||||
|
||||
build(opts.require, {
|
||||
cache: cache,
|
||||
quiet: opts.quiet,
|
||||
pathConfig: pathConfig,
|
||||
additional: opts.additional,
|
||||
enableBrowser: true,
|
||||
keepDepArrays: "all",
|
||||
noArchitect: true,
|
||||
compress: false,
|
||||
ignore: opts.ignore || [],
|
||||
withRequire: false,
|
||||
basepath: ACE_HOME,
|
||||
afterRead: [optimizeTextModules]
|
||||
}, write);
|
||||
}
|
||||
|
||||
function buildCore(options, extra, callback) {
|
||||
options = extend(extra, options);
|
||||
options.additional = [{
|
||||
id: "build_support/mini_require",
|
||||
order: -1000,
|
||||
literal: true
|
||||
}];
|
||||
options.require =["ace/ace"];
|
||||
options.projectType = "main";
|
||||
options.ns = "ace";
|
||||
buildAceModule(options, callback);
|
||||
}
|
||||
|
||||
function buildSubmodule(options, extra, file, callback) {
|
||||
options = extend(extra, options);
|
||||
getLoadedFileList(options, function(coreFiles) {
|
||||
options.outputFile = file + ".js";
|
||||
options.ignore = options.ignore || coreFiles;
|
||||
options.quiet = true;
|
||||
buildAceModule(options, callback);
|
||||
});
|
||||
}
|
||||
|
||||
function buildAce(options) {
|
||||
var snippetFiles = jsFileList("lib/ace/snippets");
|
||||
var modeNames = modeList();
|
||||
|
||||
buildCore(options, {outputFile: "ace.js"}),
|
||||
// modes
|
||||
modeNames.forEach(function(name) {
|
||||
buildSubmodule(options, {
|
||||
projectType: "mode",
|
||||
require: ["ace/mode/" + name]
|
||||
}, "mode-" + name);
|
||||
});
|
||||
// snippets
|
||||
modeNames.forEach(function(name) {
|
||||
if (snippetFiles.indexOf(name + ".js") == -1)
|
||||
addSnippetFile(name);
|
||||
|
||||
buildSubmodule(options, {
|
||||
require: ["ace/snippets/" + name],
|
||||
}, "snippets/" + name);
|
||||
});
|
||||
// themes
|
||||
jsFileList("lib/ace/theme").forEach(function(name) {
|
||||
buildSubmodule(options, {
|
||||
projectType: "theme",
|
||||
require: ["ace/theme/" + name]
|
||||
}, "theme-" + name);
|
||||
});
|
||||
// keybindings
|
||||
["vim", "emacs"].forEach(function(name) {
|
||||
buildSubmodule(options, {
|
||||
projectType: "keybinding",
|
||||
require: ["ace/keyboard/" + name ]
|
||||
}, "keybinding-" + name);
|
||||
});
|
||||
// extensions
|
||||
jsFileList("lib/ace/ext").forEach(function(name) {
|
||||
buildSubmodule(options, {
|
||||
projectType: "ext",
|
||||
require: ["ace/ext/" + name]
|
||||
}, "ext-" + name);
|
||||
});
|
||||
// workers
|
||||
workers("lib/ace/mode").forEach(function(name) {
|
||||
buildSubmodule(options, {
|
||||
projectType: "worker",
|
||||
require: ["ace/mode/" + name + "_worker"],
|
||||
ignore: [],
|
||||
additional: [{
|
||||
id: "ace/worker/worker",
|
||||
transforms: [],
|
||||
order: -1000
|
||||
}],
|
||||
}, "worker-" + name);
|
||||
});
|
||||
}
|
||||
|
||||
function getLoadedFileList(options, callback, result) {
|
||||
if (!result) {
|
||||
return buildCore({}, {}, function(e, result) {
|
||||
getLoadedFileList(options, callback, result);
|
||||
});
|
||||
}
|
||||
var deps = Object.create(null);
|
||||
result.sources.forEach(function(pkg) {
|
||||
pkg.deps && pkg.deps.forEach(function(p) {
|
||||
if (!deps[p]) deps[p] = 1;
|
||||
});
|
||||
});
|
||||
delete deps["ace/theme/textmate"];
|
||||
callback(Object.keys(deps));
|
||||
}
|
||||
|
||||
function optimizeTextModules(sources) {
|
||||
var textModules = {};
|
||||
return sources.filter(function(pkg) {
|
||||
if (!pkg.id) {
|
||||
return true;
|
||||
}
|
||||
else if (pkg.id.indexOf("text!") > -1) {
|
||||
detectTextModules(pkg);
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
pkg.source = rewriteTextImports(pkg.source, pkg.deps);
|
||||
return true;
|
||||
}
|
||||
}).map(function(pkg) {
|
||||
if (pkg && pkg.deps) {
|
||||
pkg.deps = pkg.deps && pkg.deps.filter(function(p) {
|
||||
return p.indexOf("text!") == -1;
|
||||
});
|
||||
}
|
||||
return pkg;
|
||||
});
|
||||
|
||||
function rewriteTextImports(text, deps) {
|
||||
return text.replace(/ require\(['"](?:ace|[.\/]+)\/requirejs\/text!(.*?)['"]\)/g, function(_, call) {
|
||||
if (call) {
|
||||
var dep;
|
||||
deps.some(function(d) {
|
||||
if (d.split("/").pop() == call.split("/").pop()) {
|
||||
dep = d;
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
call = textModules[dep];
|
||||
if (call)
|
||||
return " " + call;
|
||||
}
|
||||
});
|
||||
}
|
||||
function detectTextModules(pkg) {
|
||||
var input = pkg.source.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
||||
if (/\.css$/.test(pkg.id)) {
|
||||
// remove unnecessary whitespace from css
|
||||
input = input.replace(/\n\s+/g, "\n");
|
||||
input = '"' + input.replace(/\r?\n/g, '\\\n') + '"';
|
||||
} else {
|
||||
// but don't break other files!
|
||||
input = '"' + input.replace(/\r?\n/g, '\\n\\\n') + '"';
|
||||
}
|
||||
textModules[pkg.id] = input;
|
||||
}
|
||||
}
|
||||
|
||||
function namespace(ns) {
|
||||
return function(text) {
|
||||
text = text
|
||||
.toString()
|
||||
.replace(/ACE_NAMESPACE\s*=\s*""/, 'ACE_NAMESPACE = "' + ns +'"')
|
||||
.replace(/(\.define)|\bdefine\(/g, function(_, a) {
|
||||
return a || ns + ".define(";
|
||||
});
|
||||
|
||||
return text;
|
||||
};
|
||||
}
|
||||
|
||||
function exportAce(ns, modules, requireBase, extModules) {
|
||||
requireBase = requireBase || "window";
|
||||
return function(text) {
|
||||
/*globals REQUIRE_NS, MODULES, NS*/
|
||||
var template = function() {
|
||||
(function() {
|
||||
REQUIRE_NS.require(MODULES, function(a) {
|
||||
a && a.config.init(true);
|
||||
if (!window.NS)
|
||||
window.NS = a;
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
window.NS[key] = a[key];
|
||||
});
|
||||
})();
|
||||
};
|
||||
|
||||
if (extModules) {
|
||||
template = function() {
|
||||
(function() {
|
||||
REQUIRE_NS.require(MODULES, function() {});
|
||||
})();
|
||||
};
|
||||
}
|
||||
|
||||
text = text.replace(/function init\(packaged\) {/, "init(true);$&\n");
|
||||
|
||||
if (typeof modules == "string")
|
||||
modules = [modules];
|
||||
|
||||
return (text.replace(/;\s*$/, "") + ";" + template
|
||||
.toString()
|
||||
.replace(/MODULES/g, JSON.stringify(modules))
|
||||
.replace(/REQUIRE_NS/g, requireBase)
|
||||
.replace(/NS/g, ns)
|
||||
.slice(13, -1)
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
function updateModes() {
|
||||
modeList().forEach(function(m) {
|
||||
var filepath = __dirname + "/lib/ace/mode/" + m + ".js";
|
||||
var source = fs.readFileSync(filepath, "utf8");
|
||||
if (!/this.\$id\s*=\s*"/.test(source))
|
||||
source = source.replace(/\n([ \t]*)(\}\).call\(\w*Mode.prototype\))/, '\n$1 this.$id = "";\n$1$2');
|
||||
|
||||
source = source.replace(/(this.\$id\s*=\s*)"[^"]*"/, '$1"ace/mode/' + m + '"');
|
||||
fs.writeFileSync(filepath, source, "utf8");
|
||||
});
|
||||
}
|
||||
|
||||
function generateThemesModule(themes) {
|
||||
var themelist = [
|
||||
'define(function(require, exports, module) {',
|
||||
'\n\nmodule.exports.themes = ' + JSON.stringify(themes, null, ' '),
|
||||
';\n\n});'
|
||||
].join('');
|
||||
fs.writeFileSync(__dirname + '/lib/ace/ext/themelist_utils/themes.js', themelist, 'utf8');
|
||||
}
|
||||
|
||||
function addSnippetFile(modeName) {
|
||||
var snippetFilePath = ACE_HOME + "/lib/ace/snippets/" + modeName;
|
||||
if (!fs.existsSync(snippetFilePath + ".js")) {
|
||||
copy.file(ACE_HOME + "/tool/templates/snippets.js", snippetFilePath + ".js", function(t) {
|
||||
return t.replace(/%modeName%/g, modeName);
|
||||
});
|
||||
}
|
||||
if (!fs.existsSync(snippetFilePath + ".snippets")) {
|
||||
fs.writeFileSync(snippetFilePath + ".snippets", "");
|
||||
}
|
||||
}
|
||||
|
||||
function compress(text) {
|
||||
var ujs = require("dryice").copy.filter.uglifyjs;
|
||||
ujs.options.mangle_toplevel = {except: ["ACE_NAMESPACE", "requirejs"]};
|
||||
ujs.options.beautify = {ascii_only: true, inline_script: true}
|
||||
return ujs(text);
|
||||
}
|
||||
|
||||
function extend(base, extra) {
|
||||
Object.keys(extra).forEach(function(k) {
|
||||
base[k] = extra[k];
|
||||
});
|
||||
return base;
|
||||
}
|
||||
|
||||
if (!module.parent)
|
||||
main(process.argv);
|
||||
else
|
||||
exports.buildAce = buildAce;
|
||||
168
node_modules/ace/Readme.md
generated
vendored
Normal file
@ -0,0 +1,168 @@
|
||||
Ace (Ajax.org Cloud9 Editor)
|
||||
============================
|
||||
|
||||
_Note_: The new site at http://ace.c9.io contains all the info below along with an embedding guide and all the other resources you need to get started with Ace.
|
||||
|
||||
Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page or JavaScript application. Ace is developed as the primary editor for [Cloud9 IDE](https://c9.io/) and the successor of the Mozilla Skywriter (Bespin) Project.
|
||||
|
||||
Features
|
||||
--------
|
||||
|
||||
* Syntax highlighting for over 110 languages (TextMate/Sublime/_.tmlanguage_ files can be imported)
|
||||
* Over 20 themes (TextMate/Sublime/_.tmtheme_ files can be imported)
|
||||
* Automatic indent and outdent
|
||||
* An optional command line
|
||||
* Handles huge documents (at last check, 4,000,000 lines is the upper limit)
|
||||
* Fully customizable key bindings including vim and Emacs modes
|
||||
* Search and replace with regular expressions
|
||||
* Highlight matching parentheses
|
||||
* Toggle between soft tabs and real tabs
|
||||
* Displays hidden characters
|
||||
* Drag and drop text using the mouse
|
||||
* Line wrapping
|
||||
* Code folding
|
||||
* Multiple cursors and selections
|
||||
* Live syntax checker (currently JavaScript/CoffeeScript/CSS/XQuery)
|
||||
* Cut, copy, and paste functionality
|
||||
|
||||
Take Ace for a spin!
|
||||
--------------------
|
||||
|
||||
Check out the Ace live [demo](http://ace.c9.io/build/kitchen-sink.html) or get a [Cloud9 IDE account](https://c9.io/) to experience Ace while editing one of your own GitHub projects.
|
||||
|
||||
If you want, you can use Ace as a textarea replacement thanks to the [Ace Bookmarklet](http://ajaxorg.github.io/ace/build/demo/bookmarklet/index.html).
|
||||
|
||||
Embedding Ace
|
||||
-------------
|
||||
|
||||
Ace can be easily embedded into any existing web page. You can either use one of pre-packaged versions of [ace](https://github.com/ajaxorg/ace-builds/) (just copy one of `src*` subdirectories somewhere into your project), or use requireJS to load contents of [lib/ace](https://github.com/ajaxorg/ace/tree/master/lib/ace) as `ace`
|
||||
|
||||
|
||||
The easiest version is simply:
|
||||
|
||||
```html
|
||||
<div id="editor">some text</div>
|
||||
<script src="src/ace.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script>
|
||||
var editor = ace.edit("editor");
|
||||
</script>
|
||||
```
|
||||
|
||||
With "editor" being the id of the DOM element, which should be converted to an editor. Note that this element must be explicitly sized and positioned `absolute` or `relative` for Ace to work. e.g.
|
||||
|
||||
```css
|
||||
#editor {
|
||||
position: absolute;
|
||||
width: 500px;
|
||||
height: 400px;
|
||||
}
|
||||
```
|
||||
|
||||
To change the theme simply include the Theme's JavaScript file
|
||||
|
||||
```html
|
||||
<script src="src/theme-twilight.js" type="text/javascript" charset="utf-8"></script>
|
||||
```
|
||||
|
||||
and configure the editor to use the theme:
|
||||
|
||||
```javascript
|
||||
editor.setTheme("ace/theme/twilight");
|
||||
```
|
||||
|
||||
By default the editor only supports plain text mode; many other languages are available as separate modules. After including the mode's JavaScript file:
|
||||
|
||||
```html
|
||||
<script src="src/mode-javascript.js" type="text/javascript" charset="utf-8"></script>
|
||||
```
|
||||
|
||||
The mode can then be used like this:
|
||||
|
||||
```javascript
|
||||
var JavaScriptMode = require("ace/mode/javascript").Mode;
|
||||
editor.getSession().setMode(new JavaScriptMode());
|
||||
```
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
Additional usage information, including events to listen to and extending syntax highlighters, can be found [on the main Ace website](http://ace.c9.io).
|
||||
|
||||
You can also find API documentation at [http://ace.c9.io/#nav=api](http://ace.c9.io/#nav=api).
|
||||
|
||||
Also check out the sample code for the kitchen sink [demo app](https://github.com/ajaxorg/ace/blob/master/demo/kitchen-sink/demo.js).
|
||||
|
||||
If you still need help, feel free to drop a mail on the [ace mailing list](http://groups.google.com/group/ace-discuss), or at `irc.freenode.net#ace`.
|
||||
|
||||
Running Ace
|
||||
-----------
|
||||
|
||||
After the checkout Ace works out of the box. No build step is required. To try it out, simply start the bundled mini HTTP server:
|
||||
|
||||
```bash
|
||||
./static.py
|
||||
```
|
||||
|
||||
Or using Node.JS
|
||||
|
||||
```bash
|
||||
npm install mime
|
||||
node ./static.js
|
||||
```
|
||||
|
||||
The editor can then be opened at http://localhost:8888/kitchen-sink.html.
|
||||
|
||||
To open the editor with a file:/// URL see [the wiki](https://github.com/ajaxorg/ace/wiki/Running-Ace-from-file).
|
||||
|
||||
Building Ace
|
||||
-----------
|
||||
|
||||
You do not generally need to build ACE. The [ace-builds repository](https://github.com/ajaxorg/ace-builds/) endeavours to maintain the latest build, and you can just copy one of _src*_ subdirectories somewhere into your project.
|
||||
|
||||
However, all you need is Node.js and npm installed to package ACE. Just run `npm install` in the ace folder to install dependencies:
|
||||
|
||||
```bash
|
||||
npm install
|
||||
node ./Makefile.dryice.js
|
||||
```
|
||||
|
||||
To package Ace, we use the dryice build tool developed by the Mozilla Skywriter team. Call `node Makefile.dryice.js` on the command-line to start the packing. This build script accepts the following options
|
||||
|
||||
```bash
|
||||
-m minify build files with uglify-js
|
||||
-nc namespace require and define calls with "ace"
|
||||
-bm builds the bookmarklet version
|
||||
--target ./path specify relative path for output folder (default value is "./build")
|
||||
```
|
||||
|
||||
To generate all the files in the ace-builds repository, run `node Makefile.dryice.js full --target ../ace-builds`
|
||||
|
||||
Running the Unit Tests
|
||||
----------------------
|
||||
|
||||
The Ace unit tests can run on node.js. Assuming you have already done `npm install`, just call:
|
||||
|
||||
```bash
|
||||
node lib/ace/test/all.js
|
||||
```
|
||||
|
||||
You can also run the tests in your browser by serving:
|
||||
|
||||
http://localhost:8888/lib/ace/test/tests.html
|
||||
|
||||
This makes debugging failing tests way more easier.
|
||||
|
||||
Contributing
|
||||
-----------------------------
|
||||
|
||||
Ace is a community project and wouldn't be what it is without contributions! We actively encourage and support contributions. The Ace source code is released under the BSD License. This license is very simple, and is friendly to all kinds of projects, whether open source or not. Take charge of your editor and add your favorite language highlighting and keybindings!
|
||||
|
||||
Feel free to fork and improve/enhance Ace any way you want. If you feel that the editor or the Ace community will benefit from your changes, please open a pull request. For more information on our contributing guidelines, see [CONTRIBUTING.md](https://github.com/ajaxorg/ace/blob/master/CONTRIBUTING.md).
|
||||
|
||||
Continuous Integration status
|
||||
-----------------------------
|
||||
|
||||
This project is tested with [Travis CI](http://travis-ci.org)
|
||||
[](http://travis-ci.org/ajaxorg/ace)
|
||||
|
||||
|
||||
149
node_modules/ace/api/ace.html
generated
vendored
Normal file
@ -0,0 +1,149 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">Ace</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (3)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Ace.createEditSession" data-id="Ace.createEditSession" class="memberLink"><a href="#Ace.createEditSession" class="" title="Ace.createEditSession (class method)" data-id="Ace.createEditSession">createEditSession</a>
|
||||
</li>
|
||||
<li id="dropdown_Ace.edit" data-id="Ace.edit" class="memberLink"><a href="#Ace.edit" class="" title="Ace.edit (class method)" data-id="Ace.edit">edit</a>
|
||||
</li>
|
||||
<li id="dropdown_Ace.require" data-id="Ace.require" class="memberLink"><a href="#Ace.require" class="" title="Ace.require (class method)" data-id="Ace.require">require</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="Ace" data-title="Ace (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>The main class required to set up an Ace instance in the browser.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="Ace.createEditSession" data-title="Ace.createEditSession (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Ace.createEditSession" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Ace.createEditSession" class="member-name methodClicker"><span class="sigClassName">Ace.</span><span class="sigMemberName">createEditSession</span></span>(<span class="sigArgList"><a href="document.html" class="argument methodClicker" title="Document (class)" data-id="Document">Document</a> | <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text, <a href="https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/text.js" class="argument methodClicker" title="TextMode" data-id="TextMode">TextMode</a> mode</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Ace.createEditSession" class="ellipsis_description"><p>Creates a new <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a>, and returns the associated <a href="document.html" class="link-short" title="Document (class)" data-id="Document"><code>Document</code></a>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Creates a new <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a>, and returns the associated <a href="document.html" class="link-short" title="Document (class)" data-id="Document"><code>Document</code></a>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="document.html" class="" title="Document (class)" data-id="Document">Document</a> | <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. If <code>text</code> is a <code>Document</code>, it associates the <code>EditSession</code> with it. Otherwise, a new <code>Document</code> is created, with the initial text</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">mode</td><td class="argType" "><a href="https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/text.js" class="" title="TextMode" data-id="TextMode">TextMode</a></td><td class="argDescription "><p>Required. The inital language mode to use for the document</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Ace.edit" data-title="Ace.edit (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Ace.edit" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Ace.edit" class="member-name methodClicker"><span class="sigClassName">Ace.</span><span class="sigMemberName">edit</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> | <a href="https://developer.mozilla.org/en/DOM/element" class="argument methodClicker" title="DOMElement" data-id="DOMElement">DOMElement</a> el</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Ace.edit" class="ellipsis_description"><p>Embeds the Ace editor into the DOM, at the element provided by <code>el</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Embeds the Ace editor into the DOM, at the element provided by <code>el</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">el</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a> | <a href="https://developer.mozilla.org/en/DOM/element" class="" title="DOMElement" data-id="DOMElement">DOMElement</a></td><td class="argDescription "><p>Required. Either the id of an element, or the element itself</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Ace.require" data-title="Ace.require (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Ace.require" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Ace.require" class="member-name methodClicker"><span class="sigClassName">Ace.</span><span class="sigMemberName">require</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> moduleName</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Ace.require" class="ellipsis_description"><p>Provides access to require in packed noconflict mode</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Provides access to require in packed noconflict mode</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">moduleName</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. </p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
272
node_modules/ace/api/anchor.html
generated
vendored
Normal file
@ -0,0 +1,272 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">Anchor</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Events (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Anchor.event.change" data-id="Anchor.event.change" class="memberLink"><a href="#Anchor.event.change" class="" title="Anchor.event.change (event)" data-id="Anchor.event.change">change</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Anchor.new" data-id="Anchor.new" class="memberLink"><a href="#Anchor.new" class="" title="Anchor.new (constructor)" data-id="Anchor.new">new</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (6)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Anchor.detach" data-id="Anchor.detach" class="memberLink"><a href="#Anchor.detach" class="" title="Anchor.detach (class method)" data-id="Anchor.detach">detach</a>
|
||||
</li>
|
||||
<li id="dropdown_Anchor.getDocument" data-id="Anchor.getDocument" class="memberLink"><a href="#Anchor.getDocument" class="" title="Anchor.getDocument (class method)" data-id="Anchor.getDocument">getDocument</a>
|
||||
</li>
|
||||
<li id="dropdown_Anchor.getPosition" data-id="Anchor.getPosition" class="memberLink"><a href="#Anchor.getPosition" class="" title="Anchor.getPosition (class method)" data-id="Anchor.getPosition">getPosition</a>
|
||||
</li>
|
||||
<li id="dropdown_Anchor.onChange" data-id="Anchor.onChange" class="memberLink"><a href="#Anchor.onChange" class="" title="Anchor.onChange (class method)" data-id="Anchor.onChange">onChange</a>
|
||||
</li>
|
||||
<li id="dropdown_Anchor.setPosition" data-id="Anchor.setPosition" class="memberLink"><a href="#Anchor.setPosition" class="" title="Anchor.setPosition (class method)" data-id="Anchor.setPosition">setPosition</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="Anchor" data-title="Anchor (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>Defines the floating pointer in the document. Whenever text is inserted or deleted before the cursor, the position of the cursor is updated.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Constructors</h3>
|
||||
<article id="Anchor.new" data-title="Anchor.new (constructor)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Anchor.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="Anchor.new" class="member-name methodClicker">Anchor</span>(<span class="sigArgList"><a href="document.html" class="argument methodClicker" title="Document (class)" data-id="Document">Document</a> doc, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Anchor.new" class="ellipsis_description"><p>Creates a new <code>Anchor</code> and associates it with a document.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Creates a new <code>Anchor</code> and associates it with a document.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">doc</td><td class="argType" "><a href="document.html" class="" title="Document (class)" data-id="Document">Document</a></td><td class="argDescription "><p>Required. The document to associate with the anchor</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting row position</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting column position</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Events</h3>
|
||||
<article id="Anchor.event.change" data-title="Anchor.event.change (event)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Anchor.event.change" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="eventObjName">Anchor</span><span class="eventListenerStart">.on("</span><span id="Anchor.event.change" class="member-name eventMember methodClicker">change</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> e<span class="eventFunctionClose">))</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Anchor.event.change" class="ellipsis_description"><p>Fires whenever the anchor position changes.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Fires whenever the anchor position changes.</p>
|
||||
<p>Both of these objects have a <code>row</code> and <code>column</code> property corresponding to the position.</p>
|
||||
<p>Events that can trigger this function include <a href="#Anchor.setPosition" class="link-short" title="Anchor.setPosition (class method)" data-id="Anchor.setPosition"><code>setPosition()</code></a>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">e</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. An object containing information about the anchor position. It has two properties: </p>
|
||||
<ul>
|
||||
<li><code>old</code>: An object describing the old Anchor position</li>
|
||||
<li><code>value</code>: An object describing the new Anchor position</li>
|
||||
</ul>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="Anchor.detach" data-title="Anchor.detach (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Anchor.detach" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Anchor.detach" class="member-name methodClicker"><span class="sigClassName">Anchor.</span><span class="sigMemberName">detach</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Anchor.detach" class="ellipsis_description"><p>When called, the <code>'change'</code> event listener is removed.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>When called, the <code>'change'</code> event listener is removed.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Anchor.getDocument" data-title="Anchor.getDocument (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Anchor.getDocument" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Anchor.getDocument" class="member-name methodClicker"><span class="sigClassName">Anchor.</span><span class="sigMemberName">getDocument</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="document.html" class="returnType " title="Document (class)" data-id="Document">Document</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Anchor.getDocument" class="ellipsis_description"><p>Returns the current document.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the current document.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Anchor.getPosition" data-title="Anchor.getPosition (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Anchor.getPosition" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Anchor.getPosition" class="member-name methodClicker"><span class="sigClassName">Anchor.</span><span class="sigMemberName">getPosition</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Anchor.getPosition" class="ellipsis_description"><p>Returns an object identifying the <code>row</code> and <code>column</code> position of the current anchor.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns an object identifying the <code>row</code> and <code>column</code> position of the current anchor.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Anchor.onChange" data-title="Anchor.onChange (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Anchor.onChange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Anchor.onChange" class="member-name methodClicker"><span class="sigClassName">Anchor.</span><span class="sigMemberName">onChange</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Anchor.onChange" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Anchor.setPosition" data-title="Anchor.setPosition (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Anchor.setPosition" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Anchor.setPosition" class="member-name methodClicker"><span class="sigClassName">Anchor.</span><span class="sigMemberName">setPosition</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> noClip</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Anchor.setPosition" class="ellipsis_description"><p>Sets the anchor position to the specified row and column. If <code>noClip</code> is <code>true</code>, the position is not clipped.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Sets the anchor position to the specified row and column. If <code>noClip</code> is <code>true</code>, the position is not clipped.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row index to move the anchor to</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column index to move the anchor to</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">noClip</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. Identifies if you want the position to be clipped</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
320
node_modules/ace/api/background_tokenizer.html
generated
vendored
Normal file
@ -0,0 +1,320 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">BackgroundTokenizer</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Events (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_BackgroundTokenizer.event.update" data-id="BackgroundTokenizer.event.update" class="memberLink"><a href="#BackgroundTokenizer.event.update" class="" title="BackgroundTokenizer.event.update (event)" data-id="BackgroundTokenizer.event.update">update</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_BackgroundTokenizer.new" data-id="BackgroundTokenizer.new" class="memberLink"><a href="#BackgroundTokenizer.new" class="" title="BackgroundTokenizer.new (constructor)" data-id="BackgroundTokenizer.new">new</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (7)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_BackgroundTokenizer.fireUpdateEvent" data-id="BackgroundTokenizer.fireUpdateEvent" class="memberLink"><a href="#BackgroundTokenizer.fireUpdateEvent" class="" title="BackgroundTokenizer.fireUpdateEvent (class method)" data-id="BackgroundTokenizer.fireUpdateEvent">fireUpdateEvent</a>
|
||||
</li>
|
||||
<li id="dropdown_BackgroundTokenizer.getState" data-id="BackgroundTokenizer.getState" class="memberLink"><a href="#BackgroundTokenizer.getState" class="" title="BackgroundTokenizer.getState (class method)" data-id="BackgroundTokenizer.getState">getState</a>
|
||||
</li>
|
||||
<li id="dropdown_BackgroundTokenizer.getTokens" data-id="BackgroundTokenizer.getTokens" class="memberLink"><a href="#BackgroundTokenizer.getTokens" class="" title="BackgroundTokenizer.getTokens (class method)" data-id="BackgroundTokenizer.getTokens">getTokens</a>
|
||||
</li>
|
||||
<li id="dropdown_BackgroundTokenizer.setDocument" data-id="BackgroundTokenizer.setDocument" class="memberLink"><a href="#BackgroundTokenizer.setDocument" class="" title="BackgroundTokenizer.setDocument (class method)" data-id="BackgroundTokenizer.setDocument">setDocument</a>
|
||||
</li>
|
||||
<li id="dropdown_BackgroundTokenizer.setTokenizer" data-id="BackgroundTokenizer.setTokenizer" class="memberLink"><a href="#BackgroundTokenizer.setTokenizer" class="" title="BackgroundTokenizer.setTokenizer (class method)" data-id="BackgroundTokenizer.setTokenizer">setTokenizer</a>
|
||||
</li>
|
||||
<li id="dropdown_BackgroundTokenizer.start" data-id="BackgroundTokenizer.start" class="memberLink"><a href="#BackgroundTokenizer.start" class="" title="BackgroundTokenizer.start (class method)" data-id="BackgroundTokenizer.start">start</a>
|
||||
</li>
|
||||
<li id="dropdown_BackgroundTokenizer.stop" data-id="BackgroundTokenizer.stop" class="memberLink"><a href="#BackgroundTokenizer.stop" class="" title="BackgroundTokenizer.stop (class method)" data-id="BackgroundTokenizer.stop">stop</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="BackgroundTokenizer" data-title="BackgroundTokenizer (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>Tokenizes the current <a href="document.html" class="link-short" title="Document (class)" data-id="Document"><code>Document</code></a> in the background, and caches the tokenized rows for future use. </p>
|
||||
<p>If a certain row is changed, everything below that row is re-tokenized.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Constructors</h3>
|
||||
<article id="BackgroundTokenizer.new" data-title="BackgroundTokenizer.new (constructor)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="BackgroundTokenizer.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="BackgroundTokenizer.new" class="member-name methodClicker">BackgroundTokenizer</span>(<span class="sigArgList"><a href="tokenizer.html" class="argument methodClicker" title="Tokenizer (class)" data-id="Tokenizer">Tokenizer</a> tokenizer, <a href="editor.html" class="argument methodClicker" title="Editor (class)" data-id="Editor">Editor</a> editor</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_BackgroundTokenizer.new" class="ellipsis_description"><p>Creates a new <code>BackgroundTokenizer</code> object.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Creates a new <code>BackgroundTokenizer</code> object.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">tokenizer</td><td class="argType" "><a href="tokenizer.html" class="" title="Tokenizer (class)" data-id="Tokenizer">Tokenizer</a></td><td class="argDescription "><p>Required. The tokenizer to use</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">editor</td><td class="argType" "><a href="editor.html" class="" title="Editor (class)" data-id="Editor">Editor</a></td><td class="argDescription "><p>Required. The editor to associate with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Events</h3>
|
||||
<article id="BackgroundTokenizer.event.update" data-title="BackgroundTokenizer.event.update (event)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="BackgroundTokenizer.event.update" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="eventObjName">BackgroundTokenizer</span><span class="eventListenerStart">.on("</span><span id="BackgroundTokenizer.event.update" class="member-name eventMember methodClicker">update</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> e<span class="eventFunctionClose">))</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_BackgroundTokenizer.event.update" class="ellipsis_description"><p>Fires whenever the background tokeniziers between a range of rows are going to be updated.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Fires whenever the background tokeniziers between a range of rows are going to be updated.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">e</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. An object containing two properties, <code>first</code> and <code>last</code>, which indicate the rows of the region being updated.</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="BackgroundTokenizer.fireUpdateEvent" data-title="BackgroundTokenizer.fireUpdateEvent (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="BackgroundTokenizer.fireUpdateEvent" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="BackgroundTokenizer.fireUpdateEvent" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">fireUpdateEvent</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_BackgroundTokenizer.fireUpdateEvent" class="ellipsis_description"><p>Emits the <code>'update'</code> event. <code>firstRow</code> and <code>lastRow</code> are used to define the boundaries of the region to be updated.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Emits the <code>'update'</code> event. <code>firstRow</code> and <code>lastRow</code> are used to define the boundaries of the region to be updated.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting row region</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The final row region</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="BackgroundTokenizer.getState" data-title="BackgroundTokenizer.getState (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="BackgroundTokenizer.getState" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="BackgroundTokenizer.getState" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">getState</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_BackgroundTokenizer.getState" class="ellipsis_description"><p>Returns the state of tokenization at the end of a row.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the state of tokenization at the end of a row.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to get state at</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="BackgroundTokenizer.getTokens" data-title="BackgroundTokenizer.getTokens (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="BackgroundTokenizer.getTokens" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="BackgroundTokenizer.getTokens" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">getTokens</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_BackgroundTokenizer.getTokens" class="ellipsis_description"><p>Gives list of tokens of the row. (tokens are cached)</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Gives list of tokens of the row. (tokens are cached)</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to get tokens at</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="BackgroundTokenizer.setDocument" data-title="BackgroundTokenizer.setDocument (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="BackgroundTokenizer.setDocument" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="BackgroundTokenizer.setDocument" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">setDocument</span></span>(<span class="sigArgList"><a href="document.html" class="argument methodClicker" title="Document (class)" data-id="Document">Document</a> doc</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_BackgroundTokenizer.setDocument" class="ellipsis_description"><p>Sets a new document to associate with this object.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Sets a new document to associate with this object.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">doc</td><td class="argType" "><a href="document.html" class="" title="Document (class)" data-id="Document">Document</a></td><td class="argDescription "><p>Required. The new document to associate with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="BackgroundTokenizer.setTokenizer" data-title="BackgroundTokenizer.setTokenizer (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="BackgroundTokenizer.setTokenizer" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="BackgroundTokenizer.setTokenizer" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">setTokenizer</span></span>(<span class="sigArgList"><a href="tokenizer.html" class="argument methodClicker" title="Tokenizer (class)" data-id="Tokenizer">Tokenizer</a> tokenizer</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_BackgroundTokenizer.setTokenizer" class="ellipsis_description"><p>Sets a new tokenizer for this object.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Sets a new tokenizer for this object.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">tokenizer</td><td class="argType" "><a href="tokenizer.html" class="" title="Tokenizer (class)" data-id="Tokenizer">Tokenizer</a></td><td class="argDescription "><p>Required. The new tokenizer to use</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="BackgroundTokenizer.start" data-title="BackgroundTokenizer.start (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="BackgroundTokenizer.start" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="BackgroundTokenizer.start" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">start</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startRow</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_BackgroundTokenizer.start" class="ellipsis_description"><p>Starts tokenizing at the row indicated.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Starts tokenizing at the row indicated.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">startRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to start at</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="BackgroundTokenizer.stop" data-title="BackgroundTokenizer.stop (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="BackgroundTokenizer.stop" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="BackgroundTokenizer.stop" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">stop</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_BackgroundTokenizer.stop" class="ellipsis_description"><p>Stops tokenizing.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Stops tokenizing.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
55
node_modules/ace/api/command_manager.html
generated
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">CommandManager</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="CommandManager" data-title="CommandManager (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>new CommandManager(platform, commands)</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
927
node_modules/ace/api/document.html
generated
vendored
Normal file
@ -0,0 +1,927 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">Document</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Events (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Document.event.change" data-id="Document.event.change" class="memberLink"><a href="#Document.event.change" class="" title="Document.event.change (event)" data-id="Document.event.change">change</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Document.new" data-id="Document.new" class="memberLink"><a href="#Document.new" class="" title="Document.new (constructor)" data-id="Document.new">new</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (26)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Document.applyDeltas" data-id="Document.applyDeltas" class="memberLink"><a href="#Document.applyDeltas" class="" title="Document.applyDeltas (class method)" data-id="Document.applyDeltas">applyDeltas</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.createAnchor" data-id="Document.createAnchor" class="memberLink"><a href="#Document.createAnchor" class="" title="Document.createAnchor (class method)" data-id="Document.createAnchor">createAnchor</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.getAllLines" data-id="Document.getAllLines" class="memberLink"><a href="#Document.getAllLines" class="" title="Document.getAllLines (class method)" data-id="Document.getAllLines">getAllLines</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.getLength" data-id="Document.getLength" class="memberLink"><a href="#Document.getLength" class="" title="Document.getLength (class method)" data-id="Document.getLength">getLength</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.getLine" data-id="Document.getLine" class="memberLink"><a href="#Document.getLine" class="" title="Document.getLine (class method)" data-id="Document.getLine">getLine</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.getLines" data-id="Document.getLines" class="memberLink"><a href="#Document.getLines" class="" title="Document.getLines (class method)" data-id="Document.getLines">getLines</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.getNewLineCharacter" data-id="Document.getNewLineCharacter" class="memberLink"><a href="#Document.getNewLineCharacter" class="" title="Document.getNewLineCharacter (class method)" data-id="Document.getNewLineCharacter">getNewLineCharacter</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.getNewLineMode" data-id="Document.getNewLineMode" class="memberLink"><a href="#Document.getNewLineMode" class="" title="Document.getNewLineMode (class method)" data-id="Document.getNewLineMode">getNewLineMode</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.getTextRange" data-id="Document.getTextRange" class="memberLink"><a href="#Document.getTextRange" class="" title="Document.getTextRange (class method)" data-id="Document.getTextRange">getTextRange</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.getValue" data-id="Document.getValue" class="memberLink"><a href="#Document.getValue" class="" title="Document.getValue (class method)" data-id="Document.getValue">getValue</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.indexToPosition" data-id="Document.indexToPosition" class="memberLink"><a href="#Document.indexToPosition" class="" title="Document.indexToPosition (class method)" data-id="Document.indexToPosition">indexToPosition</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.insert" data-id="Document.insert" class="memberLink"><a href="#Document.insert" class="" title="Document.insert (class method)" data-id="Document.insert">insert</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.insertInLine" data-id="Document.insertInLine" class="memberLink"><a href="#Document.insertInLine" class="" title="Document.insertInLine (class method)" data-id="Document.insertInLine">insertInLine</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.insertLines" data-id="Document.insertLines" class="memberLink"><a href="#Document.insertLines" class="" title="Document.insertLines (class method)" data-id="Document.insertLines">insertLines</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.insertNewLine" data-id="Document.insertNewLine" class="memberLink"><a href="#Document.insertNewLine" class="" title="Document.insertNewLine (class method)" data-id="Document.insertNewLine">insertNewLine</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.isNewLine" data-id="Document.isNewLine" class="memberLink"><a href="#Document.isNewLine" class="" title="Document.isNewLine (class method)" data-id="Document.isNewLine">isNewLine</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.positionToIndex" data-id="Document.positionToIndex" class="memberLink"><a href="#Document.positionToIndex" class="" title="Document.positionToIndex (class method)" data-id="Document.positionToIndex">positionToIndex</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.remove" data-id="Document.remove" class="memberLink"><a href="#Document.remove" class="" title="Document.remove (class method)" data-id="Document.remove">remove</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.removeInLine" data-id="Document.removeInLine" class="memberLink"><a href="#Document.removeInLine" class="" title="Document.removeInLine (class method)" data-id="Document.removeInLine">removeInLine</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.removeLines" data-id="Document.removeLines" class="memberLink"><a href="#Document.removeLines" class="" title="Document.removeLines (class method)" data-id="Document.removeLines">removeLines</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.removeNewLine" data-id="Document.removeNewLine" class="memberLink"><a href="#Document.removeNewLine" class="" title="Document.removeNewLine (class method)" data-id="Document.removeNewLine">removeNewLine</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.replace" data-id="Document.replace" class="memberLink"><a href="#Document.replace" class="" title="Document.replace (class method)" data-id="Document.replace">replace</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.revertDeltas" data-id="Document.revertDeltas" class="memberLink"><a href="#Document.revertDeltas" class="" title="Document.revertDeltas (class method)" data-id="Document.revertDeltas">revertDeltas</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.setNewLineMode" data-id="Document.setNewLineMode" class="memberLink"><a href="#Document.setNewLineMode" class="" title="Document.setNewLineMode (class method)" data-id="Document.setNewLineMode">setNewLineMode</a>
|
||||
</li>
|
||||
<li id="dropdown_Document.setValue" data-id="Document.setValue" class="memberLink"><a href="#Document.setValue" class="" title="Document.setValue (class method)" data-id="Document.setValue">setValue</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="Document" data-title="Document (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>Contains the text of the document. Document can be attached to several <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a>s. </p>
|
||||
<p>At its core, <code>Document</code>s are just an array of strings, with each row in the document matching up to the array index.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Constructors</h3>
|
||||
<article id="Document.new" data-title="Document.new (constructor)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="Document.new" class="member-name methodClicker">Document</span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> | <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="argument methodClicker" title="Array" data-id="Array">Array</a> text</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.new" class="ellipsis_description"><p>Creates a new <code>Document</code>. If <code>text</code> is included, the <code>Document</code> contains those strings; otherwise, it's empty.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Creates a new <code>Document</code>. If <code>text</code> is included, the <code>Document</code> contains those strings; otherwise, it's empty.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a> | <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="" title="Array" data-id="Array">Array</a></td><td class="argDescription "><p>Required. The starting text</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Events</h3>
|
||||
<article id="Document.event.change" data-title="Document.event.change (event)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.event.change" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="eventObjName">Document</span><span class="eventListenerStart">.on("</span><span id="Document.event.change" class="member-name eventMember methodClicker">change</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> e<span class="eventFunctionClose">))</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.event.change" class="ellipsis_description"><p>Fires whenever the document changes.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Fires whenever the document changes.</p>
|
||||
<p>Several methods trigger different <code>"change"</code> events. Below is a list of each action type, followed by each property that's also available:</p>
|
||||
<ul>
|
||||
<li><code>"insertLines"</code> (emitted by <a href="#Document.insertLines" class="link-short" title="Document.insertLines (class method)" data-id="Document.insertLines"><code>Document.insertLines()</code></a>)</li>
|
||||
<li><code>range</code>: the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> of the change within the document</li>
|
||||
<li><code>lines</code>: the lines in the document that are changing</li>
|
||||
<li><code>"insertText"</code> (emitted by <a href="#Document.insertNewLine" class="link-short" title="Document.insertNewLine (class method)" data-id="Document.insertNewLine"><code>Document.insertNewLine()</code></a>)</li>
|
||||
<li><code>range</code>: the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> of the change within the document</li>
|
||||
<li><code>text</code>: the text that's being added</li>
|
||||
<li><code>"removeLines"</code> (emitted by <a href="#Document.insertLines" class="link-short" title="Document.insertLines (class method)" data-id="Document.insertLines"><code>Document.insertLines()</code></a>)</li>
|
||||
<li><code>range</code>: the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> of the change within the document</li>
|
||||
<li><code>lines</code>: the lines in the document that were removed</li>
|
||||
<li><code>nl</code>: the new line character (as defined by <a href="#Document.getNewLineCharacter" class="link-short" title="Document.getNewLineCharacter (class method)" data-id="Document.getNewLineCharacter"><code>Document.getNewLineCharacter()</code></a>)</li>
|
||||
<li><code>"removeText"</code> (emitted by <a href="#Document.removeInLine" class="link-short" title="Document.removeInLine (class method)" data-id="Document.removeInLine"><code>Document.removeInLine()</code></a> and <a href="#Document.removeNewLine" class="link-short" title="Document.removeNewLine (class method)" data-id="Document.removeNewLine"><code>Document.removeNewLine()</code></a>)</li>
|
||||
<li><code>range</code>: the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> of the change within the document</li>
|
||||
<li><code>text</code>: the text that's being removed</li>
|
||||
</ul>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">e</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. Contains at least one property called <code>"action"</code>. <code>"action"</code> indicates the action that triggered the change. Each action also has a set of additional properties.</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="Document.applyDeltas" data-title="Document.applyDeltas (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.applyDeltas" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.applyDeltas" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">applyDeltas</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> deltas</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.applyDeltas" class="ellipsis_description"><p>Applies all the changes previously accumulated. These can be either <code>'includeText'</code>, <code>'insertLines'</code>, <code>'removeText'</code>, and <code>'removeLines'</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Applies all the changes previously accumulated. These can be either <code>'includeText'</code>, <code>'insertLines'</code>, <code>'removeText'</code>, and <code>'removeLines'</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">deltas</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.createAnchor" data-title="Document.createAnchor (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.createAnchor" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.createAnchor" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">createAnchor</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.createAnchor" class="ellipsis_description"><p>Creates a new <code>Anchor</code> to define a floating point in the document.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Creates a new <code>Anchor</code> to define a floating point in the document.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row number to use</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column number to use</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.getAllLines" data-title="Document.getAllLines (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.getAllLines" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.getAllLines" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getAllLines</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.getAllLines" class="ellipsis_description"><p>Returns all lines in the document as string array.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns all lines in the document as string array. Warning: The caller should not modify this array!</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.getLength" data-title="Document.getLength (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.getLength" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.getLength" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getLength</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.getLength" class="ellipsis_description"><p>Returns the number of rows in the document.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the number of rows in the document.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.getLine" data-title="Document.getLine (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.getLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.getLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.getLine" class="ellipsis_description"><p>Returns a verbatim copy of the given line as it is in the document</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns a verbatim copy of the given line as it is in the document</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row index to retrieve</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.getLines" data-title="Document.getLines (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.getLines" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.getLines" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getLines</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.getLines" class="ellipsis_description"><p>Returns an array of strings of the rows between <code>firstRow</code> and <code>lastRow</code>. This function is inclusive of <code>lastRow</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns an array of strings of the rows between <code>firstRow</code> and <code>lastRow</code>. This function is inclusive of <code>lastRow</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The first row index to retrieve</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The final row index to retrieve</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.getNewLineCharacter" data-title="Document.getNewLineCharacter (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.getNewLineCharacter" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.getNewLineCharacter" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getNewLineCharacter</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.getNewLineCharacter" class="ellipsis_description"><p>Returns the newline character that's being used, depending on the value of <code>newLineMode</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the newline character that's being used, depending on the value of <code>newLineMode</code>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.getNewLineMode" data-title="Document.getNewLineMode (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.getNewLineMode" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.getNewLineMode" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getNewLineMode</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.getNewLineMode" class="ellipsis_description"><p>Returns the type of newlines being used; either <code>windows</code>, <code>unix</code>, or <code>auto</code></p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the type of newlines being used; either <code>windows</code>, <code>unix</code>, or <code>auto</code></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.getTextRange" data-title="Document.getTextRange (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.getTextRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.getTextRange" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getTextRange</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.getTextRange" class="ellipsis_description"><p>Given a range within the document, this function returns all the text within that range as a single string.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Given a range within the document, this function returns all the text within that range as a single string.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. The range to work with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.getValue" data-title="Document.getValue (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.getValue" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.getValue" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getValue</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.getValue" class="ellipsis_description"><p>Returns all the lines in the document as a single string, split by the new line character.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns all the lines in the document as a single string, split by the new line character.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.indexToPosition" data-title="Document.indexToPosition (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.indexToPosition" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.indexToPosition" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">indexToPosition</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> index, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startRow</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.indexToPosition" class="ellipsis_description"><p>Converts an index position in a document to a <code>{row, column}</code> object.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Converts an index position in a document to a <code>{row, column}</code> object.</p>
|
||||
<p>Index refers to the "absolute position" of a character in the document. For example:</p>
|
||||
<pre><code class="language-javascript"><span class="keyword">var</span> x = <span class="number">0</span>; <span class="comment">// 10 characters, plus one for newline</span>
|
||||
<span class="keyword">var</span> y = -<span class="number">1</span>;</code></pre>
|
||||
<p>Here, <code>y</code> is an index 15: 11 characters for the first row, and 5 characters until <code>y</code> in the second.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">index</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. An index to convert</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">startRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. =0 The row from which to start the conversion</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.insert" data-title="Document.insert (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.insert" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.insert" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insert</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> position, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.insert" class="ellipsis_description"><p>Inserts a block of <code>text</code> and the indicated <code>position</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Inserts a block of <code>text</code> and the indicated <code>position</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The position to start inserting at</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. A chunk of text to insert</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.insertInLine" data-title="Document.insertInLine (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.insertInLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.insertInLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insertInLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> position, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.insertInLine" class="ellipsis_description"><p>Inserts <code>text</code> into the <code>position</code> at the current row. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Inserts <code>text</code> into the <code>position</code> at the current row. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The position to insert at</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. A chunk of text</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.insertLines" data-title="Document.insertLines (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.insertLines" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.insertLines" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insertLines</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="argument methodClicker" title="Array" data-id="Array">Array</a> lines</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.insertLines" class="ellipsis_description"><p>Inserts the elements in <code>lines</code> into the document, starting at the row index given by <code>row</code>. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Inserts the elements in <code>lines</code> into the document, starting at the row index given by <code>row</code>. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The index of the row to insert at</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">lines</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="" title="Array" data-id="Array">Array</a></td><td class="argDescription "><p>Required. An array of strings</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.insertNewLine" data-title="Document.insertNewLine (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.insertNewLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.insertNewLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insertNewLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> position</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.insertNewLine" class="ellipsis_description"><p>Inserts a new line into the document at the current row's <code>position</code>. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Inserts a new line into the document at the current row's <code>position</code>. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The position to insert at</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.isNewLine" data-title="Document.isNewLine (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.isNewLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.isNewLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">isNewLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.isNewLine" class="ellipsis_description"><p>Returns <code>true</code> if <code>text</code> is a newline character (either <code>\r\n</code>, <code>\r</code>, or <code>\n</code>).</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if <code>text</code> is a newline character (either <code>\r\n</code>, <code>\r</code>, or <code>\n</code>).</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The text to check</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.positionToIndex" data-title="Document.positionToIndex (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.positionToIndex" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.positionToIndex" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">positionToIndex</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> pos, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startRow</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.positionToIndex" class="ellipsis_description"><p>Converts the <code>{row, column}</code> position in a document to the character's index.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Converts the <code>{row, column}</code> position in a document to the character's index.</p>
|
||||
<p>Index refers to the "absolute position" of a character in the document. For example:</p>
|
||||
<pre><code class="language-javascript"><span class="keyword">var</span> x = <span class="number">0</span>; <span class="comment">// 10 characters, plus one for newline</span>
|
||||
<span class="keyword">var</span> y = -<span class="number">1</span>;</code></pre>
|
||||
<p>Here, <code>y</code> is an index 15: 11 characters for the first row, and 5 characters until <code>y</code> in the second.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">pos</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The <code>{row, column}</code> to convert</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">startRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. =0 The row from which to start the conversion</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.remove" data-title="Document.remove (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.remove" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.remove" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">remove</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.remove" class="ellipsis_description"><p>Removes the <code>range</code> from the document.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Removes the <code>range</code> from the document.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A specified Range to remove</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.removeInLine" data-title="Document.removeInLine (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.removeInLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.removeInLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">removeInLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startColumn, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> endColumn</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.removeInLine" class="ellipsis_description"><p>Removes the specified columns from the <code>row</code>. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Removes the specified columns from the <code>row</code>. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to remove from</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">startColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column to start removing at</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">endColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column to stop removing at</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.removeLines" data-title="Document.removeLines (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.removeLines" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.removeLines" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">removeLines</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.removeLines" class="ellipsis_description"><p>Removes a range of full lines. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Removes a range of full lines. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The first row to be removed</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The last row to be removed</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.removeNewLine" data-title="Document.removeNewLine (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.removeNewLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.removeNewLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">removeNewLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.removeNewLine" class="ellipsis_description"><p>Removes the new line between <code>row</code> and the row immediately following it. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Removes the new line between <code>row</code> and the row immediately following it. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to check</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.replace" data-title="Document.replace (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.replace" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.replace" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">replace</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.replace" class="ellipsis_description"><p>Replaces a range in the document with the new <code>text</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Replaces a range in the document with the new <code>text</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A specified Range to replace</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The new text to use as a replacement</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.revertDeltas" data-title="Document.revertDeltas (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.revertDeltas" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.revertDeltas" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">revertDeltas</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> deltas</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.revertDeltas" class="ellipsis_description"><p>Reverts any changes previously applied. These can be either <code>'includeText'</code>, <code>'insertLines'</code>, <code>'removeText'</code>, and <code>'removeLines'</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Reverts any changes previously applied. These can be either <code>'includeText'</code>, <code>'insertLines'</code>, <code>'removeText'</code>, and <code>'removeLines'</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">deltas</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.setNewLineMode" data-title="Document.setNewLineMode (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.setNewLineMode" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.setNewLineMode" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">setNewLineMode</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> newLineMode</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.setNewLineMode" class="ellipsis_description"><p>Sets the new line mode.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Sets the new line mode.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">newLineMode</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The newline mode to use; can be either <code>windows</code>, <code>unix</code>, or <code>auto</code></p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Document.setValue" data-title="Document.setValue (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Document.setValue" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.setValue" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">setValue</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Document.setValue" class="ellipsis_description"><p>Replaces all the lines in the current <code>Document</code> with the value of <code>text</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Replaces all the lines in the current <code>Document</code> with the value of <code>text</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The text to use</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
3235
node_modules/ace/api/edit_session.html
generated
vendored
Normal file
4689
node_modules/ace/api/editor.html
generated
vendored
Normal file
12
node_modules/ace/api/index.html
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
<div id="documentation" class="span9"><h1>Ace API Reference</h1>
|
||||
<p>Welcome to the Ace API Reference Guide. Ace is a standalone code editor written in JavaScript that you can embed onto any website. We're used in a bunch of places already, like GitHub, Google, and Facebook.</p>
|
||||
<p>On the left, you'll find a list of all of our currently documented classes. There are plenty more to do, but these represent the "core" set. For more information on how to work with Ace, check out the <a href="http://ace.ajax.org">main Ace website</a>.</p>
|
||||
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
293
node_modules/ace/api/placeholder.html
generated
vendored
Normal file
@ -0,0 +1,293 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">PlaceHolder</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_PlaceHolder.new" data-id="PlaceHolder.new" class="memberLink"><a href="#PlaceHolder.new" class="" title="PlaceHolder.new (constructor)" data-id="PlaceHolder.new">new</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (7)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_PlaceHolder.cancel" data-id="PlaceHolder.cancel" class="memberLink"><a href="#PlaceHolder.cancel" class="" title="PlaceHolder.cancel (class method)" data-id="PlaceHolder.cancel">cancel</a>
|
||||
</li>
|
||||
<li id="dropdown_PlaceHolder.detach" data-id="PlaceHolder.detach" class="memberLink"><a href="#PlaceHolder.detach" class="" title="PlaceHolder.detach (class method)" data-id="PlaceHolder.detach">detach</a>
|
||||
</li>
|
||||
<li id="dropdown_PlaceHolder.hideOtherMarkers" data-id="PlaceHolder.hideOtherMarkers" class="memberLink"><a href="#PlaceHolder.hideOtherMarkers" class="" title="PlaceHolder.hideOtherMarkers (class method)" data-id="PlaceHolder.hideOtherMarkers">hideOtherMarkers</a>
|
||||
</li>
|
||||
<li id="dropdown_PlaceHolder.onCursorChange" data-id="PlaceHolder.onCursorChange" class="memberLink"><a href="#PlaceHolder.onCursorChange" class="" title="PlaceHolder.onCursorChange (class method)" data-id="PlaceHolder.onCursorChange">onCursorChange</a>
|
||||
</li>
|
||||
<li id="dropdown_PlaceHolder.onUpdate" data-id="PlaceHolder.onUpdate" class="memberLink"><a href="#PlaceHolder.onUpdate" class="" title="PlaceHolder.onUpdate (class method)" data-id="PlaceHolder.onUpdate">onUpdate</a>
|
||||
</li>
|
||||
<li id="dropdown_PlaceHolder.setup" data-id="PlaceHolder.setup" class="memberLink"><a href="#PlaceHolder.setup" class="" title="PlaceHolder.setup (class method)" data-id="PlaceHolder.setup">setup</a>
|
||||
</li>
|
||||
<li id="dropdown_PlaceHolder.showOtherMarkers" data-id="PlaceHolder.showOtherMarkers" class="memberLink"><a href="#PlaceHolder.showOtherMarkers" class="" title="PlaceHolder.showOtherMarkers (class method)" data-id="PlaceHolder.showOtherMarkers">showOtherMarkers</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="PlaceHolder" data-title="PlaceHolder (class)" class="article">
|
||||
</article>
|
||||
<h3 class="sectionHeader">Constructors</h3>
|
||||
<article id="PlaceHolder.new" data-title="PlaceHolder.new (constructor)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="PlaceHolder.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="PlaceHolder.new" class="member-name methodClicker">PlaceHolder</span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_PlaceHolder.new" class="ellipsis_description"><ul>
|
||||
<li>session (Document): The document to associate with the anchor</li>
|
||||
<li>length (Number): The starting row position</li>
|
||||
<li>pos (Number): The starting column position</li>
|
||||
<li>others (String):</li>
|
||||
<li>mainClass (String):</li>
|
||||
<li>othersClass (String):</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="description"><ul>
|
||||
<li>session (Document): The document to associate with the anchor</li>
|
||||
<li>length (Number): The starting row position</li>
|
||||
<li>pos (Number): The starting column position</li>
|
||||
<li>others (String):</li>
|
||||
<li>mainClass (String):</li>
|
||||
<li>othersClass (String):</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="PlaceHolder.cancel" data-title="PlaceHolder.cancel (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="PlaceHolder.cancel" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="PlaceHolder.cancel" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">cancel</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_PlaceHolder.cancel" class="ellipsis_description"><p>PlaceHolder.cancel()</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>PlaceHolder.cancel()</p>
|
||||
<p>TODO</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="PlaceHolder.detach" data-title="PlaceHolder.detach (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="PlaceHolder.detach" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="PlaceHolder.detach" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">detach</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_PlaceHolder.detach" class="ellipsis_description"><p>PlaceHolder.detach()</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>PlaceHolder.detach()</p>
|
||||
<p>TODO</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="PlaceHolder.hideOtherMarkers" data-title="PlaceHolder.hideOtherMarkers (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="PlaceHolder.hideOtherMarkers" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="PlaceHolder.hideOtherMarkers" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">hideOtherMarkers</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_PlaceHolder.hideOtherMarkers" class="ellipsis_description"><p>PlaceHolder.hideOtherMarkers()</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>PlaceHolder.hideOtherMarkers()</p>
|
||||
<p>Hides all over markers in the <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a> that are not the currently selected one.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="PlaceHolder.onCursorChange" data-title="PlaceHolder.onCursorChange (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="PlaceHolder.onCursorChange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="PlaceHolder.onCursorChange" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">onCursorChange</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> event</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_PlaceHolder.onCursorChange" class="ellipsis_description"><p>PlaceHolder@onCursorChange(e)</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>PlaceHolder@onCursorChange(e)</p>
|
||||
<p>Emitted when the cursor changes.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">event</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="PlaceHolder.onUpdate" data-title="PlaceHolder.onUpdate (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="PlaceHolder.onUpdate" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="PlaceHolder.onUpdate" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">onUpdate</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> event</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_PlaceHolder.onUpdate" class="ellipsis_description"><p>PlaceHolder@onUpdate(e)</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>PlaceHolder@onUpdate(e)</p>
|
||||
<p>Emitted when the place holder updates.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">event</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="PlaceHolder.setup" data-title="PlaceHolder.setup (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="PlaceHolder.setup" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="PlaceHolder.setup" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">setup</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_PlaceHolder.setup" class="ellipsis_description"><p>PlaceHolder.setup()</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>PlaceHolder.setup()</p>
|
||||
<p>TODO</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="PlaceHolder.showOtherMarkers" data-title="PlaceHolder.showOtherMarkers (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="PlaceHolder.showOtherMarkers" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="PlaceHolder.showOtherMarkers" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">showOtherMarkers</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_PlaceHolder.showOtherMarkers" class="ellipsis_description"><p>PlaceHolder.showOtherMarkers()</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>PlaceHolder.showOtherMarkers()</p>
|
||||
<p>TODO</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
968
node_modules/ace/api/range.html
generated
vendored
Normal file
@ -0,0 +1,968 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">Range</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Range.new" data-id="Range.new" class="memberLink"><a href="#Range.new" class="" title="Range.new (constructor)" data-id="Range.new">new</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (26)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Range.clipRows" data-id="Range.clipRows" class="memberLink"><a href="#Range.clipRows" class="" title="Range.clipRows (class method)" data-id="Range.clipRows">clipRows</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.clone" data-id="Range.clone" class="memberLink"><a href="#Range.clone" class="" title="Range.clone (class method)" data-id="Range.clone">clone</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.collapseRows" data-id="Range.collapseRows" class="memberLink"><a href="#Range.collapseRows" class="" title="Range.collapseRows (class method)" data-id="Range.collapseRows">collapseRows</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.compare" data-id="Range.compare" class="memberLink"><a href="#Range.compare" class="" title="Range.compare (class method)" data-id="Range.compare">compare</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.compareEnd" data-id="Range.compareEnd" class="memberLink"><a href="#Range.compareEnd" class="" title="Range.compareEnd (class method)" data-id="Range.compareEnd">compareEnd</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.compareInside" data-id="Range.compareInside" class="memberLink"><a href="#Range.compareInside" class="" title="Range.compareInside (class method)" data-id="Range.compareInside">compareInside</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.comparePoint" data-id="Range.comparePoint" class="memberLink"><a href="#Range.comparePoint" class="" title="Range.comparePoint (class method)" data-id="Range.comparePoint">comparePoint</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.compareRange" data-id="Range.compareRange" class="memberLink"><a href="#Range.compareRange" class="" title="Range.compareRange (class method)" data-id="Range.compareRange">compareRange</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.compareStart" data-id="Range.compareStart" class="memberLink"><a href="#Range.compareStart" class="" title="Range.compareStart (class method)" data-id="Range.compareStart">compareStart</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.contains" data-id="Range.contains" class="memberLink"><a href="#Range.contains" class="" title="Range.contains (class method)" data-id="Range.contains">contains</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.containsRange" data-id="Range.containsRange" class="memberLink"><a href="#Range.containsRange" class="" title="Range.containsRange (class method)" data-id="Range.containsRange">containsRange</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.extend" data-id="Range.extend" class="memberLink"><a href="#Range.extend" class="" title="Range.extend (class method)" data-id="Range.extend">extend</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.fromPoints" data-id="Range.fromPoints" class="memberLink"><a href="#Range.fromPoints" class="" title="Range.fromPoints (class method)" data-id="Range.fromPoints">fromPoints</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.inside" data-id="Range.inside" class="memberLink"><a href="#Range.inside" class="" title="Range.inside (class method)" data-id="Range.inside">inside</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.insideEnd" data-id="Range.insideEnd" class="memberLink"><a href="#Range.insideEnd" class="" title="Range.insideEnd (class method)" data-id="Range.insideEnd">insideEnd</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.insideStart" data-id="Range.insideStart" class="memberLink"><a href="#Range.insideStart" class="" title="Range.insideStart (class method)" data-id="Range.insideStart">insideStart</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.intersects" data-id="Range.intersects" class="memberLink"><a href="#Range.intersects" class="" title="Range.intersects (class method)" data-id="Range.intersects">intersects</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.isEmpty" data-id="Range.isEmpty" class="memberLink"><a href="#Range.isEmpty" class="" title="Range.isEmpty (class method)" data-id="Range.isEmpty">isEmpty</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.isEnd" data-id="Range.isEnd" class="memberLink"><a href="#Range.isEnd" class="" title="Range.isEnd (class method)" data-id="Range.isEnd">isEnd</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.isEqual" data-id="Range.isEqual" class="memberLink"><a href="#Range.isEqual" class="" title="Range.isEqual (class method)" data-id="Range.isEqual">isEqual</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.isMultiLine" data-id="Range.isMultiLine" class="memberLink"><a href="#Range.isMultiLine" class="" title="Range.isMultiLine (class method)" data-id="Range.isMultiLine">isMultiLine</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.isStart" data-id="Range.isStart" class="memberLink"><a href="#Range.isStart" class="" title="Range.isStart (class method)" data-id="Range.isStart">isStart</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.setEnd" data-id="Range.setEnd" class="memberLink"><a href="#Range.setEnd" class="" title="Range.setEnd (class method)" data-id="Range.setEnd">setEnd</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.setStart" data-id="Range.setStart" class="memberLink"><a href="#Range.setStart" class="" title="Range.setStart (class method)" data-id="Range.setStart">setStart</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.toScreenRange" data-id="Range.toScreenRange" class="memberLink"><a href="#Range.toScreenRange" class="" title="Range.toScreenRange (class method)" data-id="Range.toScreenRange">toScreenRange</a>
|
||||
</li>
|
||||
<li id="dropdown_Range.toString" data-id="Range.toString" class="memberLink"><a href="#Range.toString" class="" title="Range.toString (class method)" data-id="Range.toString">toString</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="Range" data-title="Range (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>This object is used in various places to indicate a region within the editor. To better visualize how this works, imagine a rectangle. Each quadrant of the rectangle is analogus to a range, as ranges contain a starting row and starting column, and an ending row, and ending column.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Constructors</h3>
|
||||
<article id="Range.new" data-title="Range.new (constructor)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="Range.new" class="member-name methodClicker">Range</span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startColumn, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> endRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> endColumn</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.new" class="ellipsis_description"><p>Creates a new <code>Range</code> object with the given starting and ending row and column points.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Creates a new <code>Range</code> object with the given starting and ending row and column points.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">startRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting row</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">startColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting column</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">endRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The ending row</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">endColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The ending column</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="Range.clipRows" data-title="Range.clipRows (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.clipRows" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.clipRows" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">clipRows</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.clipRows" class="ellipsis_description"><p>Returns the part of the current <code>Range</code> that occurs within the boundaries of <code>firstRow</code> and <code>lastRow</code> as a new <code>Range</code> object.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the part of the current <code>Range</code> that occurs within the boundaries of <code>firstRow</code> and <code>lastRow</code> as a new <code>Range</code> object.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting row</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The ending row</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.clone" data-title="Range.clone (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.clone" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.clone" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">clone</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.clone" class="ellipsis_description"><p>Returns a duplicate of the calling range.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns a duplicate of the calling range.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.collapseRows" data-title="Range.collapseRows (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.collapseRows" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.collapseRows" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">collapseRows</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.collapseRows" class="ellipsis_description"><p>Returns a range containing the starting and ending rows of the original range, but with a column value of <code>0</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns a range containing the starting and ending rows of the original range, but with a column value of <code>0</code>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.compare" data-title="Range.compare (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.compare" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.compare" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">compare</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.compare" class="ellipsis_description"><p>Checks the row and column points with the row and column points of the calling range.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Checks the row and column points with the row and column points of the calling range.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.compareEnd" data-title="Range.compareEnd (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.compareEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.compareEnd" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">compareEnd</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.compareEnd" class="ellipsis_description"><p>Checks the row and column points with the row and column points of the calling range.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Checks the row and column points with the row and column points of the calling range.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.compareInside" data-title="Range.compareInside (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.compareInside" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.compareInside" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">compareInside</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.compareInside" class="ellipsis_description"><p>Checks the row and column points with the row and column points of the calling range.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Checks the row and column points with the row and column points of the calling range.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.comparePoint" data-title="Range.comparePoint (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.comparePoint" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.comparePoint" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">comparePoint</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> p</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.comparePoint" class="ellipsis_description"><p>Checks the row and column points of <code>p</code> with the row and column points of the calling range.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Checks the row and column points of <code>p</code> with the row and column points of the calling range.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">p</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A point to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.compareRange" data-title="Range.compareRange (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.compareRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.compareRange" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">compareRange</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.compareRange" class="ellipsis_description"><p>Compares <code>this</code> range (A) with another range (B).</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Compares <code>this</code> range (A) with another range (B).</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A range to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.compareStart" data-title="Range.compareStart (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.compareStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.compareStart" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">compareStart</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.compareStart" class="ellipsis_description"><p>Checks the row and column points with the row and column points of the calling range.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Checks the row and column points with the row and column points of the calling range.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.contains" data-title="Range.contains (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.contains" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.contains" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">contains</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.contains" class="ellipsis_description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> provided are within the given range. This can better be expressed as returning <code>true</code> if:</p>
|
||||
<pre><code class="language-javascript"> <span class="keyword">this</span>.start.row <= row <= <span class="keyword">this</span>.end.row &&
|
||||
<span class="keyword">this</span>.start.column <= column <= <span class="keyword">this</span>.end.column</code></pre>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> provided are within the given range. This can better be expressed as returning <code>true</code> if:</p>
|
||||
<pre><code class="language-javascript"> <span class="keyword">this</span>.start.row <= row <= <span class="keyword">this</span>.end.row &&
|
||||
<span class="keyword">this</span>.start.column <= column <= <span class="keyword">this</span>.end.column</code></pre>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row to check for</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column to check for</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.containsRange" data-title="Range.containsRange (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.containsRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.containsRange" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">containsRange</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.containsRange" class="ellipsis_description"><p>Checks the start and end points of <code>range</code> and compares them to the calling range. Returns <code>true</code> if the <code>range</code> is contained within the caller's range.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Checks the start and end points of <code>range</code> and compares them to the calling range. Returns <code>true</code> if the <code>range</code> is contained within the caller's range.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A range to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.extend" data-title="Range.extend (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.extend" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.extend" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">extend</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.extend" class="ellipsis_description"><p>Changes the row and column points for the calling range for both the starting and ending points.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Changes the row and column points for the calling range for both the starting and ending points.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A new row to extend to</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A new column to extend to</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.fromPoints" data-title="Range.fromPoints (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.fromPoints" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.fromPoints" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">fromPoints</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> start, <a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> end</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.fromPoints" class="ellipsis_description"><p>Creates and returns a new <code>Range</code> based on the row and column of the given parameters.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Creates and returns a new <code>Range</code> based on the row and column of the given parameters.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">start</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A starting point to use</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">end</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. An ending point to use</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.inside" data-title="Range.inside (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.inside" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.inside" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">inside</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.inside" class="ellipsis_description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.insideEnd" data-title="Range.insideEnd (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.insideEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.insideEnd" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">insideEnd</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.insideEnd" class="ellipsis_description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range's ending points.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range's ending points.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.insideStart" data-title="Range.insideStart (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.insideStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.insideStart" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">insideStart</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.insideStart" class="ellipsis_description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range's starting points.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range's starting points.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.intersects" data-title="Range.intersects (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.intersects" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.intersects" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">intersects</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.intersects" class="ellipsis_description"><p>Returns <code>true</code> if passed in <code>range</code> intersects with the one calling this method.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if passed in <code>range</code> intersects with the one calling this method.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A range to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.isEmpty" data-title="Range.isEmpty (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.isEmpty" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.isEmpty" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">isEmpty</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.isEmpty" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.isEnd" data-title="Range.isEnd (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.isEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.isEnd" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">isEnd</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.isEnd" class="ellipsis_description"><p>Returns <code>true</code> if the caller's ending row point is the same as <code>row</code>, and if the caller's ending column is the same as <code>column</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if the caller's ending row point is the same as <code>row</code>, and if the caller's ending column is the same as <code>column</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.isEqual" data-title="Range.isEqual (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.isEqual" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.isEqual" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">isEqual</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.isEqual" class="ellipsis_description"><p>Returns <code>true</code> if and only if the starting row and column, and ending row and column, are equivalent to those given by <code>range</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if and only if the starting row and column, and ending row and column, are equivalent to those given by <code>range</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A range to check against</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.isMultiLine" data-title="Range.isMultiLine (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.isMultiLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.isMultiLine" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">isMultiLine</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.isMultiLine" class="ellipsis_description"><p>Returns <code>true</code> if the range spans across multiple lines.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if the range spans across multiple lines.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.isStart" data-title="Range.isStart (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.isStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.isStart" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">isStart</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.isStart" class="ellipsis_description"><p>Returns <code>true</code> if the caller's starting row point is the same as <code>row</code>, and if the caller's starting column is the same as <code>column</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if the caller's starting row point is the same as <code>row</code>, and if the caller's starting column is the same as <code>column</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.setEnd" data-title="Range.setEnd (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.setEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.setEnd" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">setEnd</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.setEnd" class="ellipsis_description"><p>Sets the starting row and column for the range.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Sets the starting row and column for the range.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to set</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to set</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.setStart" data-title="Range.setStart (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.setStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.setStart" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">setStart</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.setStart" class="ellipsis_description"><p>Sets the starting row and column for the range.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Sets the starting row and column for the range.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to set</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to set</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.toScreenRange" data-title="Range.toScreenRange (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.toScreenRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.toScreenRange" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">toScreenRange</span></span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.toScreenRange" class="ellipsis_description"><p>Given the current <code>Range</code>, this function converts those starting and ending points into screen positions, and then returns a new <code>Range</code> object.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Given the current <code>Range</code>, this function converts those starting and ending points into screen positions, and then returns a new <code>Range</code> object.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">session</td><td class="argType" "><a href="edit_session.html" class="" title="EditSession (class)" data-id="EditSession">EditSession</a></td><td class="argDescription "><p>Required. The <code>EditSession</code> to retrieve coordinates from</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Range.toString" data-title="Range.toString (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Range.toString" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Range.toString" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">toString</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Range.toString" class="ellipsis_description"><p>Returns a string containing the range's row and column information, given like this:</p>
|
||||
<pre><code> [<span class="operator"><span class="keyword">start</span>.row/<span class="keyword">start</span>.<span class="keyword">column</span>] -> [<span class="keyword">end</span>.row/<span class="keyword">end</span>.<span class="keyword">column</span>]</code></pre>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns a string containing the range's row and column information, given like this:</p>
|
||||
<pre><code> [<span class="operator"><span class="keyword">start</span>.row/<span class="keyword">start</span>.<span class="keyword">column</span>] -> [<span class="keyword">end</span>.row/<span class="keyword">end</span>.<span class="keyword">column</span>]</code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
55
node_modules/ace/api/renderloop.html
generated
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">RenderLoop</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="RenderLoop" data-title="RenderLoop (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>Batches changes (that force something to be redrawn) in the background.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
912
node_modules/ace/api/resources/csses/ace_api.css
generated
vendored
Normal file
@ -0,0 +1,912 @@
|
||||
/*
|
||||
Generic "affects everything" stuff
|
||||
*/
|
||||
|
||||
#wrapper .content .column2 {
|
||||
float: none;
|
||||
}
|
||||
|
||||
#documentation ul {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
#documentation li {
|
||||
color: black;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
font-family: 'Ubuntu Mono',Monaco,Consolas,monospace !important;
|
||||
background-color: #F9F9F9;
|
||||
border-radius: 3px 3px 3px 3px;
|
||||
display: inline-block;
|
||||
padding: 0 4px;
|
||||
margin: 2px 1px;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
#documentation pre {
|
||||
margin-top: 10px;
|
||||
border-radius: none;
|
||||
box-shadow: none;
|
||||
background : white;
|
||||
/*background : #f5f5f5;
|
||||
border: 0;*/
|
||||
|
||||
-webkit-border-radius: 6px 6px 0 0;
|
||||
-moz-border-radius: 6px 6px 0 0;
|
||||
border-radius: 6px 6px 0 0;
|
||||
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.method pre, .event pre, .property pre {
|
||||
background : white;
|
||||
}
|
||||
|
||||
#documentation pre code {
|
||||
background-color: transparent;
|
||||
border-radius: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#documentation a code {
|
||||
color: #00438a;
|
||||
}
|
||||
|
||||
#documentation h2 {
|
||||
font-size: 26px;
|
||||
}
|
||||
#documentation p {
|
||||
font-size: 13px;
|
||||
}
|
||||
#documentation li p:last-child {
|
||||
margin-bottom : 5px;
|
||||
}
|
||||
|
||||
#documentation blockquote p{
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
line-height: 23px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.alert-message{
|
||||
margin-bottom : 13px;
|
||||
}
|
||||
/*
|
||||
Header and shoulders
|
||||
*/
|
||||
|
||||
.navbar .nav > li {
|
||||
float:none;
|
||||
display:inline-block;
|
||||
*display:inline; /* ie7 fix */
|
||||
zoom:1; /* hasLayout ie7 trigger */
|
||||
}
|
||||
|
||||
.navbar .nav > li > a {
|
||||
padding: 10px 15px 11px;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#topSection {
|
||||
width: 1000px;
|
||||
}
|
||||
.small_win #topSection {
|
||||
width: 100%;
|
||||
}
|
||||
.small_win #topSection .dropdown {
|
||||
margin-right: 40%;
|
||||
}
|
||||
.navbar .brand {
|
||||
margin-left: 0px;
|
||||
}
|
||||
.brand {
|
||||
background: transparent url(../images/ace_logo_menu.png) no-repeat 33px 5px;
|
||||
width: 80px;
|
||||
outline: none;
|
||||
height: 40px;
|
||||
padding: 0 10px !important;
|
||||
border: none;
|
||||
}
|
||||
.brand.dropdown-toggle:after {
|
||||
content: none;
|
||||
display: block;
|
||||
height: 40px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.ace_logo {
|
||||
position: absolute;
|
||||
top: 45px;
|
||||
z-index: 20000;
|
||||
left: 210px;
|
||||
}
|
||||
|
||||
.headerTitle {
|
||||
position: relative;
|
||||
top: 100px;
|
||||
left: 250px;
|
||||
}
|
||||
|
||||
/*
|
||||
Menu venue
|
||||
*/
|
||||
|
||||
|
||||
h3.api_title {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
ul.menu {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.menu li {
|
||||
list-style-image: url(../images/menu_disc.png);
|
||||
margin-bottom: 4px;
|
||||
font-weight: 700;
|
||||
padding-left: 10px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.menu li .menu-item a.menuLink, .menu li .menu-item span.menuLink {
|
||||
color: #3E7096;
|
||||
font-weight: 100;
|
||||
}
|
||||
.menuTwo {
|
||||
margin-bottom: 5px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.menuTwo li .menu-item a.menuLink {
|
||||
color: #3E7096;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
/* need specificity to "beat" the above colors */
|
||||
.menu li .menu-item a.currentItem, .menuTwo li .menu-item {
|
||||
color: #0072bc;
|
||||
}
|
||||
|
||||
/*
|
||||
Members and the tabs that represent them
|
||||
*/
|
||||
|
||||
.srolled .members {
|
||||
width: 100%;
|
||||
/* -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35);
|
||||
-moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35);
|
||||
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35); */
|
||||
padding-bottom: 15px;
|
||||
/* height: 31px;*/
|
||||
position: fixed;
|
||||
}
|
||||
.shadow.members{
|
||||
background: #edf8fd;
|
||||
box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3);
|
||||
-moz-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3);
|
||||
-o-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3);
|
||||
-webkit-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3);
|
||||
}
|
||||
|
||||
.membersContent {
|
||||
|
||||
/* border-bottom: 0.1em solid #FFF;*/
|
||||
height: 3em;
|
||||
padding-top: 4px;
|
||||
/* line-height: 4;*/
|
||||
/* margin-top: -0.1em;*/
|
||||
position: relative;
|
||||
/* transition-property: border-color, line-height;
|
||||
transition-duration: 125ms, 250ms;
|
||||
transition-timing-function: ease-out, ease-out;
|
||||
-moz-transition-property: border-color, line-height;
|
||||
-moz-transition-duration: 125ms, 250ms;
|
||||
-moz-transition-timing-function: ease-out, ease-out;
|
||||
-o-transition-property: border-color, line-height;
|
||||
-o-transition-duration: 125ms, 250ms;
|
||||
-o-transition-timing-function: ease-out, ease-out;
|
||||
-webkit-transition-property: border-color, line-height;
|
||||
-webkit-transition-duration: 125ms, 250ms;
|
||||
-webkit-transition-timing-function: ease-out, ease-out;*/
|
||||
|
||||
/*transition-duration: 125ms;
|
||||
transition-property: top;
|
||||
transition-timing-function: ease-out;
|
||||
|
||||
top : 11px;*/
|
||||
z-index: 103;
|
||||
padding-right: 10px;
|
||||
margin-right: -5px;
|
||||
/*width: 700px;*/
|
||||
}
|
||||
.srolledHeader .membersContent {
|
||||
line-height: 3;
|
||||
}
|
||||
.srolled .membersContent {
|
||||
/*top : 0;*/
|
||||
width: 625px;
|
||||
padding-left: 327px;
|
||||
margin : 0 auto 0 auto;
|
||||
}
|
||||
|
||||
.srolled ul.nav {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.membersBackground {
|
||||
/* background-color: white;
|
||||
position: fixed;
|
||||
z-index: 2;
|
||||
top: 40px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
width: 100%;
|
||||
height: 55px;
|
||||
opacity: 0;
|
||||
display: none;
|
||||
box-shadow: rgba(0, 0, 0, 0.398438) 1px 4px 6px;*/
|
||||
|
||||
background-color: transparent;
|
||||
height: 47px;
|
||||
/*width: 700px;*/
|
||||
position: absolute;
|
||||
}
|
||||
.srolled .membersBackground {
|
||||
position: relative;
|
||||
}
|
||||
.srolledHeader .membersBackground {
|
||||
/* display: block;*/
|
||||
}
|
||||
.memberHeader {
|
||||
float: left;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 5px;
|
||||
position: absolute;
|
||||
padding-top: 4px;
|
||||
|
||||
}
|
||||
|
||||
ul.tabs li:first-child ul{
|
||||
left: -63px;
|
||||
}
|
||||
|
||||
.tabs a.menu:after, .tabs .dropdown-toggle:after {
|
||||
margin-top: 22px;
|
||||
}
|
||||
|
||||
.nav .dropdown-toggle .caret {
|
||||
margin-top: 12px;
|
||||
border-top-color: #6D8CA0;
|
||||
border-bottom-color: #6D8CA0;
|
||||
}
|
||||
|
||||
li.dropdown {
|
||||
color: #2D2D2D;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.editInC9 {
|
||||
font-size: 11px;
|
||||
color: #657383;
|
||||
}
|
||||
|
||||
.editInC9 a {
|
||||
color: #657383;
|
||||
font-weight: normal;
|
||||
position : relative;
|
||||
top : -2px;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
padding-top: 14px;
|
||||
/*border-bottom: 1px solid #848484;*/
|
||||
min-height : 27px;
|
||||
padding-bottom : 5px;
|
||||
}
|
||||
.tabsSansBorder {
|
||||
border: 0;
|
||||
}
|
||||
.tabs, .pills {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.srolledHeader .members .tabs {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
li.dropdown {
|
||||
color: #2D2D2D;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.members .tabs .dropdown a,
|
||||
.members .tabs a.menu:after,
|
||||
.members .tabs .dropdown-toggle:after {
|
||||
margin-right: 0;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.memberLink a {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
.menu-dropdown {
|
||||
min-width : 105px;
|
||||
max-height: 350px;
|
||||
overflow: auto;
|
||||
border-color : rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.topbar div > ul .menu-dropdown li a:hover,
|
||||
.nav .menu-dropdown li a:hover,
|
||||
.topbar div > ul .dropdown-menu li a:hover,
|
||||
.nav .dropdown-menu li a:hover {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.tabs a.menu:after, .tabs .dropdown-toggle:after {
|
||||
margin-top: 13px;
|
||||
line-height: 28px;
|
||||
}
|
||||
.open .menu, .dropdown.open .menu, .open .dropdown-toggle, .dropdown.open .dropdown-toggle {
|
||||
background: transparent;
|
||||
color: black;
|
||||
/* font-weight: bold;*/
|
||||
}
|
||||
#topSection .open .menu, #topSection .dropdown.open .menu, #topSection .open .dropdown-toggle,
|
||||
#topSection .dropdown.open .dropdown-toggle {
|
||||
color: #bfbfbf;
|
||||
}
|
||||
|
||||
.tabs > li {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabs > li > a {
|
||||
border: none;
|
||||
outline: none;
|
||||
line-height: 28px;
|
||||
font-size: 11px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
.tabs > li > a:hover {
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
.tabs > li, .pills > li {
|
||||
float: right;
|
||||
}
|
||||
.topbar .dropdown-menu a, .dropdown-menu a {
|
||||
font-size: 11px;
|
||||
/* padding: 2px 12px;*/
|
||||
line-height: 14px;
|
||||
}
|
||||
.tabs .active > a, .tabs .active > a:hover {
|
||||
color: #000000;
|
||||
border: none;
|
||||
cursor: default;
|
||||
}
|
||||
.tabs .menu-dropdown, .tabs .dropdown-menu {
|
||||
border-radius: 0 0 6px 6px;
|
||||
left: 10px;
|
||||
width: 160px;
|
||||
}
|
||||
.srolled .tabs .menu-dropdown, .srolled .tabs .dropdown-menu {
|
||||
top: 32px;
|
||||
}
|
||||
.dropdown-toggle {
|
||||
color: #6D8CA0;
|
||||
}
|
||||
|
||||
ul.tabs .double ul, ul.tabs .triple ul, ul.tabs .quad ul{
|
||||
width:760px;
|
||||
margin-bottom:20px;
|
||||
overflow:hidden;
|
||||
border-top:1px solid #ccc;
|
||||
}
|
||||
/*ul.tabs .double li, ul.tabs .triple li, ul.tabs .quad li{
|
||||
line-height:1.5em;
|
||||
border-bottom:1px solid #ccc;
|
||||
float:left;
|
||||
display:inline;
|
||||
}*/
|
||||
|
||||
/*
|
||||
Center content (the "real stuff")
|
||||
*/
|
||||
|
||||
#nonFooter {
|
||||
padding-top: 40px;
|
||||
}
|
||||
#wrapper {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.content {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
header.filler {
|
||||
position: relative;
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*
|
||||
.container-fluid .row-fluid {
|
||||
width: 1000px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}*/
|
||||
|
||||
.divider {
|
||||
height: 3px;
|
||||
background-color: #BEDAEA;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
#sidebar h3 a,
|
||||
#sidebar h3 a:hover {
|
||||
color: #404040;
|
||||
}
|
||||
|
||||
#sidebarContainer {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
#mainContent {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
#documentation {
|
||||
padding-top: 35px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
#documentation article.article {
|
||||
border-top: 1px solid #e9e9e9;
|
||||
padding: 16px 10px 2px;
|
||||
-webkit-transition: padding 0.2s;
|
||||
-moz-transition: padding 0.2s;
|
||||
-o-transition: padding 0.2s;
|
||||
}
|
||||
|
||||
#documentation h3.sectionHeader + article.article {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
div#documentation article:last-child {
|
||||
border-bottom: 1px solid #e9e9e9;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
#documentation article.article.methodToggleOpen {
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
font-size: 13px;
|
||||
line-height: 24px;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
|
||||
#documentation article:first-child {
|
||||
border:none;
|
||||
}
|
||||
|
||||
.site_logo {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
/*
|
||||
Edit in Cloud9, sucka
|
||||
*/
|
||||
|
||||
.snippet pre {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.snippet .toolbar {
|
||||
-webkit-border-radius: 0 0 6px 6px;
|
||||
-moz-border-radius: 0 0 6px 6px;
|
||||
border-radius: 0 0 6px 6px;
|
||||
|
||||
text-align: right;
|
||||
padding: 3px 10px;
|
||||
margin-top : -1px;
|
||||
}
|
||||
|
||||
.snippet .filename, .snippet .toolbar {
|
||||
font-family: Ubuntu, sans-serif;
|
||||
font-size: 12px;
|
||||
color: #EEE;
|
||||
}
|
||||
|
||||
.snippet .filename {
|
||||
padding: 0 5px 2px 5px;
|
||||
font-size: 10px;
|
||||
background: rgba(230,230,230,0.5);
|
||||
padding: 0 5px 2px 5px;
|
||||
border-radius: 0 6px 0 6px;
|
||||
margin : 1px;
|
||||
position : absolute;
|
||||
right : 0;
|
||||
top : 0;
|
||||
}
|
||||
|
||||
.snippet .filename span{
|
||||
color : #666;
|
||||
}
|
||||
|
||||
.snippet .toolbar {
|
||||
background-color: rgba(30,30,30,0.5);
|
||||
}
|
||||
|
||||
div.snippet {
|
||||
margin-bottom: 18px;
|
||||
position : relative;
|
||||
}
|
||||
|
||||
div.snippet a, div.toolbar a {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
/*
|
||||
All about signatures
|
||||
*/
|
||||
|
||||
.signatures {
|
||||
/* width: 800px;*/
|
||||
margin-left: 20px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.sideToggler {
|
||||
padding-left: 20px;
|
||||
}
|
||||
ul.signatures ul {
|
||||
list-style: none;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
li.signature {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.signature ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.signature li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.signature ul.argument-types::before {
|
||||
content: '→';
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
.signature li.argument-type::after {
|
||||
content: '|';
|
||||
padding: 0 5px 0 5px;
|
||||
}
|
||||
|
||||
.signature li.argument-type:last-child:after {
|
||||
content: '';
|
||||
padding: 0 5px 0 5px;
|
||||
}
|
||||
|
||||
.member-name {
|
||||
color: #4397cd;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.signature-call {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#documentation .signature-call a {
|
||||
color: #8e487e;
|
||||
}
|
||||
|
||||
.sigClassName {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.eventObjName {
|
||||
font-style: italic;
|
||||
}
|
||||
.eventListenerStart, .eventListenerClose, .eventFunctionOpen, .eventFunctionClose {
|
||||
color: #999999;
|
||||
}
|
||||
.eventMember {
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
.metaInfo {
|
||||
float: right;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.chainable {
|
||||
background-color: #0072bc;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.deprecated {
|
||||
background-color: #f7941d;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.alias {
|
||||
background-color: #6c951e;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.related-to {
|
||||
background-color: #89289a;
|
||||
color: #ffffff;
|
||||
font-size: 10px;
|
||||
padding: 2px 5px 3px;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.undocumented {
|
||||
background-color: #B94A48;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#documentation .alias a, #documentation .related-to a {
|
||||
color: #ffffff;
|
||||
/* text-decoration: underline; */
|
||||
}
|
||||
#documentation .alias a:hover, #documentation .related-to a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.#documentation alias:hover, #documentation .related-to:hover {
|
||||
opacity: 0.8;
|
||||
cursor: pointer;
|
||||
}
|
||||
.memberContent .title {
|
||||
|
||||
}
|
||||
.memberContent .description {
|
||||
position:relative;
|
||||
/*top: -13px;*/
|
||||
display: none;
|
||||
}
|
||||
.snip-container .actions .toggle-plaintext label {
|
||||
margin-top: 1px;
|
||||
padding-top: 0;
|
||||
text-align: left;
|
||||
}
|
||||
.snip-container .actions .toggle-plaintext input {
|
||||
margin-top: 4px !important;
|
||||
}
|
||||
.snip-container label {
|
||||
color: #ffffff;
|
||||
}
|
||||
.description h4 {
|
||||
padding-top: 10px;
|
||||
font-size: 18px;
|
||||
line-height : 18px;
|
||||
}
|
||||
|
||||
.table-striped tbody tr:nth-child(odd) td, .table-striped tbody tr:nth-child(odd) th {
|
||||
background-color: #F9F9F9;
|
||||
}
|
||||
.table-striped tbody tr:nth-child(even) td, .table-striped tbody tr:nth-child(even) th {
|
||||
background-color: #fbfbfb;
|
||||
}
|
||||
|
||||
.argument-list {
|
||||
margin-bottom : 13px;
|
||||
}
|
||||
.argName {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Everyday I'm togglin'
|
||||
*/
|
||||
|
||||
#documentation i.methodToggle {
|
||||
cursor: pointer;
|
||||
color: #9f9f9f;
|
||||
padding-top: 2px;
|
||||
float: left;
|
||||
}
|
||||
#documentation i.methodToggle.methodToggleHover {
|
||||
text-shadow: 0 0 10px #4699d5;
|
||||
color: #4699d5;
|
||||
}
|
||||
#documentation i.methodToggle.active {
|
||||
text-shadow: 0 0 10px #4699d5;
|
||||
color: #4699d5;
|
||||
/* Safari */
|
||||
-webkit-transform: rotate(45deg);
|
||||
|
||||
/* Firefox */
|
||||
-moz-transform: rotate(45deg);
|
||||
|
||||
/* IE */
|
||||
-ms-transform: rotate(45deg);
|
||||
|
||||
/* Opera */
|
||||
-o-transform: rotate(45deg);
|
||||
padding-top: 9px;
|
||||
}
|
||||
|
||||
#documentation h3.sectionHeader {
|
||||
line-height : 24px;
|
||||
}
|
||||
|
||||
div.method {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.methodToggle a {
|
||||
color: #fff;
|
||||
border-bottom: 0px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h3.methodToggle {
|
||||
height : 13px;
|
||||
width : 8px;
|
||||
background-position : 0px 0px;
|
||||
position: absolute;
|
||||
top: -20px;
|
||||
background-image : url(../images/member-sprites.png);
|
||||
background-color : transparent;
|
||||
background-repeat : no-repeat;
|
||||
overflow: hidden;
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
h3.methodToggleHover {
|
||||
/* background-position : 0px -28px; */
|
||||
}
|
||||
|
||||
h3.methodToggle.inactive {
|
||||
top: 4px;
|
||||
}
|
||||
|
||||
h3.methodToggle.active {
|
||||
top: 6px;
|
||||
height : 13px;
|
||||
width : 8px;
|
||||
background-position : 0px -59px;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.hiddenSpan {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ellipsis_description, .short_description {
|
||||
/* width: 800px;*/
|
||||
}
|
||||
.methodToggleOpen .ellipsis_description {
|
||||
display: none;
|
||||
}
|
||||
.sideToggler .short_description,
|
||||
.sideToggler .description{
|
||||
display: none;
|
||||
}
|
||||
.methodToggleOpen .short_description,
|
||||
.methodToggleOpen .description {
|
||||
display: block;
|
||||
}
|
||||
.description td p {
|
||||
margin: 0;
|
||||
}
|
||||
/*
|
||||
Footer? I hardly know her
|
||||
*/
|
||||
|
||||
#footer {
|
||||
width:100%;
|
||||
background: #101010 url(../images/dashed_back.png) repeat 0 0;
|
||||
font-size: 12px;
|
||||
color: white;
|
||||
height: 40px;
|
||||
}
|
||||
#footer .footerInner {
|
||||
padding-left: 300px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
min-height: 40px;
|
||||
}
|
||||
#footer .footer-text {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
float: right;
|
||||
}
|
||||
#footer div.footerInner div.footer-text p {
|
||||
font-size: 12px;
|
||||
font-family: Arial;
|
||||
line-height: 18px;
|
||||
margin: 10px 15px 0px 1px;
|
||||
}
|
||||
|
||||
#footer a, #footer a:hover {
|
||||
color: #8DD0FF;
|
||||
}
|
||||
|
||||
.logoText, .logoImg {
|
||||
/*position: absolute;*/
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.logoImg {
|
||||
top: 40px;
|
||||
}
|
||||
.topbar div > ul .menu-dropdown li a:hover,
|
||||
.nav .menu-dropdown li a:hover,
|
||||
.topbar div > ul .dropdown-menu li a:hover,
|
||||
.nav .dropdown-menu li a:hover {
|
||||
background-color: #191919;
|
||||
background-repeat: repeat-x;
|
||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#292929), to(#191919));
|
||||
background-image: -moz-linear-gradient(top, #292929, #191919);
|
||||
background-image: -ms-linear-gradient(top, #292929, #191919);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929), color-stop(100%, #191919));
|
||||
background-image: -webkit-linear-gradient(top, #292929, #191919);
|
||||
background-image: -o-linear-gradient(top, #292929, #191919);
|
||||
background-image: linear-gradient(top, #292929, #191919);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#191919', GradientType=0);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.alert-message.block-message {
|
||||
background: #fefaca;
|
||||
border-color : #fefaca;
|
||||
padding : 8px 14px 8px 14px;
|
||||
}
|
||||
|
||||
body .dsq-reply{
|
||||
margin-top : 10px;
|
||||
}
|
||||
|
||||
#disqus_thread{
|
||||
border-top : 1px solid #ddd;
|
||||
margin-top : 30px;
|
||||
}
|
||||
|
||||
#disqus_thread h3, body #dsq-content h3 {
|
||||
font-size : 12px;
|
||||
margin : 0 0 20px 0;
|
||||
line-height : 12px;
|
||||
}
|
||||
body #dsq-reply h3{
|
||||
font-size : 18px;
|
||||
line-height : 18px;
|
||||
margin : 15px 0 20px 0;
|
||||
}
|
||||
|
||||
#disqus_thread select{
|
||||
font-size : 11px;
|
||||
height : 20px;
|
||||
color : #444;
|
||||
}
|
||||
|
||||
#dsq-global-toolbar, #dsq-pagination, .dsq-trackback-url{
|
||||
display : none;
|
||||
}
|
||||
BIN
node_modules/ace/api/resources/font/fontawesome-webfont.eot
generated
vendored
Normal file
255
node_modules/ace/api/resources/font/fontawesome-webfont.svg
generated
vendored
Normal file
@ -0,0 +1,255 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata></metadata>
|
||||
<defs>
|
||||
<font id="FontAwesomeRegular" horiz-adv-x="1843" >
|
||||
<font-face units-per-em="2048" ascent="1536" descent="-512" />
|
||||
<missing-glyph horiz-adv-x="512" />
|
||||
<glyph horiz-adv-x="0" />
|
||||
<glyph horiz-adv-x="0" />
|
||||
<glyph unicode="
" horiz-adv-x="512" />
|
||||
<glyph unicode=" " horiz-adv-x="512" />
|
||||
<glyph unicode="	" horiz-adv-x="512" />
|
||||
<glyph unicode=" " horiz-adv-x="512" />
|
||||
<glyph unicode="o" horiz-adv-x="1591" />
|
||||
<glyph unicode="¨" horiz-adv-x="2048" />
|
||||
<glyph unicode="©" horiz-adv-x="2048" />
|
||||
<glyph unicode="®" horiz-adv-x="2048" />
|
||||
<glyph unicode="´" horiz-adv-x="2048" />
|
||||
<glyph unicode="Æ" horiz-adv-x="2048" />
|
||||
<glyph unicode="Í" horiz-adv-x="2048" />
|
||||
<glyph unicode=" " horiz-adv-x="784" />
|
||||
<glyph unicode=" " horiz-adv-x="1569" />
|
||||
<glyph unicode=" " horiz-adv-x="784" />
|
||||
<glyph unicode=" " horiz-adv-x="1569" />
|
||||
<glyph unicode=" " horiz-adv-x="523" />
|
||||
<glyph unicode=" " horiz-adv-x="392" />
|
||||
<glyph unicode=" " horiz-adv-x="261" />
|
||||
<glyph unicode=" " horiz-adv-x="261" />
|
||||
<glyph unicode=" " horiz-adv-x="196" />
|
||||
<glyph unicode=" " horiz-adv-x="313" />
|
||||
<glyph unicode=" " horiz-adv-x="87" />
|
||||
<glyph unicode=" " horiz-adv-x="313" />
|
||||
<glyph unicode="›" horiz-adv-x="2048" />
|
||||
<glyph unicode=" " horiz-adv-x="392" />
|
||||
<glyph unicode="™" horiz-adv-x="2048" />
|
||||
<glyph unicode="∞" horiz-adv-x="2048" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M0 0z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M6 1489q20 47 70 47h1382q51 0 72 -47q20 -47 -17 -84l-610 -610v-641h248q33 0 55.5 -22.5t22.5 -53.5q0 -33 -22.5 -55.5t-55.5 -22.5h-768q-31 0 -53.5 22.5t-22.5 55.5q0 31 22.5 53.5t53.5 22.5h250v641l-610 610q-37 37 -17 84z" />
|
||||
<glyph unicode="" horiz-adv-x="1488" d="M0 213q0 57 27.5 103t72.5 77t98.5 47.5t106.5 16.5q25 0 50.5 -4t50.5 -11v779q0 27 16 48t43 29q23 6 99.5 29t178 52.5t215 62.5t211 60.5t164 46t74.5 18.5q35 0 58.5 -23.5t23.5 -58.5v-1028q0 -59 -27.5 -104.5t-73 -76t-99.5 -47t-105 -16.5t-105.5 16.5t-98.5 47 t-71.5 75.5t-27.5 105q0 57 27.5 103t71.5 77t98.5 47t105.5 16q27 0 52.5 -4t49.5 -10v537l-678 -195v-815q0 -59 -27.5 -104.5t-71.5 -76t-98.5 -47t-105.5 -16.5q-53 0 -106.5 16.5t-98.5 47t-72.5 76t-27.5 104.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 901q0 137 52 258t143.5 212t212 143.5t258.5 52.5q137 0 257.5 -52.5t212 -143.5t143.5 -212t52 -258q0 -98 -28.5 -191.5t-81.5 -174.5l358 -359q18 -18 18 -47q0 -16 -18 -43t-45 -53.5t-53.5 -45t-42.5 -18.5q-29 0 -47 19l-359 358q-82 -53 -175 -81.5t-191 -28.5 q-137 0 -258 52t-212.5 143t-143.5 212t-52 258zM266 901q0 -84 32 -156.5t86 -126t127 -85t155 -31.5t154.5 31.5t126.5 85t86 126t32 156.5q0 82 -32 154.5t-86 127t-126.5 86t-154.5 31.5t-155 -31.5t-127 -86t-86 -127t-32 -154.5zM414 901q0 51 19.5 97t54 81t80 54.5 t98.5 19.5q20 0 34.5 -14.5t14.5 -36.5q0 -20 -14.5 -34.5t-34.5 -14.5q-63 0 -107.5 -44t-44.5 -108q0 -20 -14.5 -34.5t-34.5 -14.5q-23 0 -37 14.5t-14 34.5z" />
|
||||
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h1536v852q-31 -31 -58 -50q-106 -80 -212.5 -159.5t-211.5 -163.5q-61 -49 -131.5 -94t-156.5 -45q-82 0 -153 45t-132 94 q-104 84 -211 164t-213 159q-27 18 -57 50v-852zM154 1317q0 -31 14 -65.5t35.5 -66.5t47 -59.5t50.5 -46.5q100 -76 199.5 -150.5t199.5 -152.5q20 -16 48 -37.5t58 -42t59.5 -35t54.5 -14.5h2h2q25 0 54.5 14.5t59 35t57 42t48.5 37.5q100 78 199.5 153t199.5 150 q25 18 50.5 46t47 60t36 66.5t14.5 65.5v65h-1536v-65z" />
|
||||
<glyph unicode="" horiz-adv-x="1802" d="M0 1073q0 113 34 205t97.5 155.5t153.5 98.5t202 35q59 0 117 -18.5t110 -48.5t99 -68.5t88 -77.5q39 39 87 77.5t100.5 68.5t109 48.5t115.5 18.5q113 0 204 -35t154.5 -98.5t97 -155.5t33.5 -205q0 -66 -18.5 -130t-51 -124.5t-74.5 -115t-87 -99.5l-615 -612 q-23 -23 -55 -23q-31 0 -57 23l-615 614q-45 45 -87 99.5t-73.5 114t-50 124t-18.5 129.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1675" d="M1 959.5q9 27.5 54 33.5l506 74l227 459q20 41 49 41t50 -41l227 -459l506 -74q45 -6 54 -33.5t-23 -60.5l-367 -356l86 -504q8 -45 -15.5 -62.5t-64.5 5.5l-452 237l-453 -237q-41 -23 -64.5 -5.5t-15.5 62.5l86 504l-364 356q-35 33 -26 60.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1675" d="M0 948q0 23 18.5 32t36.5 13l506 74l227 459q6 14 20 27.5t30 13.5q18 0 30.5 -13.5t18.5 -27.5l227 -459l506 -74q18 -4 36.5 -13t18.5 -32q0 -14 -7 -26.5t-17 -22.5l-367 -356l86 -504q0 -4 1 -9t1 -12q0 -20 -9 -34.5t-32 -14.5t-41 13l-452 237l-453 -237 q-18 -12 -39 -13q-23 0 -33 14.5t-10 34.5q0 6 1 11.5t1 9.5l86 504l-364 356q-10 10 -18.5 22.5t-8.5 26.5zM289 866l274 -268l-65 -377l340 178l340 -178l-66 377l274 268l-378 56l-170 344l-170 -344z" />
|
||||
<glyph unicode="" horiz-adv-x="1566" d="M0 57v387q0 37 18.5 82t48 86t65.5 74t71 43q18 6 66 13.5t102.5 14.5t104.5 13t77 10q-92 59 -144.5 153.5t-52.5 205.5q0 88 34 165.5t91.5 136t135 92.5t165.5 34t166 -34t136.5 -92.5t92 -136t33.5 -165.5q0 -109 -52 -204.5t-144 -154.5q27 -4 77 -10t104 -13 t101 -14.5t68 -13.5q35 -10 70.5 -42t65.5 -74t48.5 -87t18.5 -82v-387q-10 -4 -22.5 -14t-27 -19.5t-27.5 -16.5t-22 -7h-1370q-35 0 -53 21.5t-45 35.5z" />
|
||||
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM115 154q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11t11.5 28v153q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11t-11.5 -28v-153zM115 512 q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11.5t11.5 27.5v154q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11.5t-11.5 -27.5v-154zM115 870q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11.5t11.5 27.5v154q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11.5t-11.5 -27.5v-154z M115 1229q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11t11.5 28v153q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11t-11.5 -28v-153zM461 154q0 -16 11 -27.5t28 -11.5h843q16 0 27.5 11t11.5 28v512q0 16 -11 27.5t-28 11.5h-843q-16 0 -27.5 -11.5t-11.5 -27.5v-512z M461 870q0 -16 11 -27.5t28 -11.5h843q16 0 27.5 11.5t11.5 27.5v512q0 16 -11 27.5t-28 11.5h-843q-16 0 -27.5 -11t-11.5 -28v-512zM1497 154q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11t11.5 28v153q0 16 -11.5 27.5t-27.5 11.5h-154q-16 0 -27.5 -11t-11.5 -28v-153 zM1497 512q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11.5t11.5 27.5v154q0 16 -11.5 27.5t-27.5 11.5h-154q-16 0 -27.5 -11.5t-11.5 -27.5v-154zM1497 870q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11.5t11.5 27.5v154q0 16 -11.5 27.5t-27.5 11.5h-154 q-16 0 -27.5 -11.5t-11.5 -27.5v-154zM1497 1229q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11t11.5 28v153q0 16 -11.5 27.5t-27.5 11.5h-154q-16 0 -27.5 -11t-11.5 -28v-153z" />
|
||||
<glyph unicode="" d="M0 78v536q0 33 22.5 55.5t55.5 22.5h690q33 0 55.5 -22.5t22.5 -55.5v-536q0 -33 -22.5 -55.5t-55.5 -22.5h-690q-33 0 -55.5 22.5t-22.5 55.5zM0 922v538q0 31 22.5 53.5t55.5 22.5h690q33 0 55.5 -22.5t22.5 -53.5v-538q0 -33 -22.5 -54.5t-55.5 -21.5h-690 q-33 0 -55.5 21.5t-22.5 54.5zM999 78v536q0 33 21.5 55.5t54.5 22.5h692q31 0 53.5 -22.5t22.5 -55.5v-536q0 -33 -22.5 -55.5t-53.5 -22.5h-692q-33 0 -54.5 22.5t-21.5 55.5zM999 922v538q0 31 21.5 53.5t54.5 22.5h692q31 0 53.5 -22.5t22.5 -53.5v-538 q0 -33 -22.5 -54.5t-53.5 -21.5h-692q-33 0 -54.5 21.5t-21.5 54.5z" />
|
||||
<glyph unicode="" d="M0 78v270q0 33 22.5 54.5t55.5 21.5h358q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5zM0 655v226q0 33 22.5 54t55.5 21h358q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-358q-33 0 -55.5 22.5 t-22.5 54.5zM0 1188v272q0 31 22.5 53.5t55.5 22.5h358q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5zM666 78v270q0 33 22.5 54.5t54.5 21.5h359q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5 h-359q-33 0 -55 22.5t-22 55.5zM666 655v226q0 33 22.5 54t54.5 21h359q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-359q-33 0 -55 22.5t-22 54.5zM666 1188v272q0 31 22.5 53.5t54.5 22.5h359q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5 t-53.5 -22.5h-359q-33 0 -55 22.5t-22 55.5zM1331 78v270q0 33 22.5 54.5t55.5 21.5h358q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5zM1331 655v226q0 33 22.5 54t55.5 21h358q31 0 53.5 -21.5t22.5 -53.5v-226 q0 -33 -22.5 -55t-53.5 -22h-358q-33 0 -55.5 22.5t-22.5 54.5zM1331 1188v272q0 31 22.5 53.5t55.5 22.5h358q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5z" />
|
||||
<glyph unicode="" d="M0 78v270q0 33 22.5 54.5t55.5 21.5h297q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5h-297q-33 0 -55.5 22.5t-22.5 55.5zM0 655v226q0 33 22.5 54t55.5 21h297q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-297q-33 0 -55.5 22.5 t-22.5 54.5zM0 1188v272q0 31 22.5 53.5t55.5 22.5h297q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5t-53.5 -22.5h-297q-33 0 -55.5 22.5t-22.5 55.5zM604 78v270q0 33 22.5 54.5t55.5 21.5h1085q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5 h-1085q-33 0 -55.5 22.5t-22.5 55.5zM604 655v226q0 33 22.5 54t55.5 21h1085q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-1085q-33 0 -55.5 22.5t-22.5 54.5zM604 1188v272q0 31 22.5 53.5t55.5 22.5h1085q31 0 53.5 -22.5t22.5 -53.5v-272 q0 -33 -22.5 -55.5t-53.5 -22.5h-1085q-33 0 -55.5 22.5t-22.5 55.5z" />
|
||||
<glyph unicode="" d="M0 732.5q0 33.5 23 55.5l174 175q23 23 56.5 22.5t55.5 -22.5l365 -365q23 -23 56.5 -23t55.5 23l746 745q23 23 56.5 23t56.5 -23l174 -174q23 -23 22.5 -56.5t-22.5 -55.5l-910 -910q-23 -23 -62.5 -39t-72.5 -16h-88q-35 0 -75 16.5t-62 38.5l-526 529 q-23 23 -23 56.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 192.5q0 38.5 29 67.5l508 510l-508 500q-29 29 -29 67.5t29 67.5l100 100q29 29 68 29t67 -29l504 -504l504 504q29 29 67.5 29t67.5 -29l100 -100q29 -29 29 -68t-29 -67l-508 -510l508 -500q29 -29 29 -66.5t-29 -66.5l-100 -102q-29 -29 -68 -29t-67 29l-504 505 l-506 -505q-29 -29 -66.5 -29t-66.5 29l-100 100q-29 29 -29 67.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 901q0 137 52 258t143.5 212t212 143.5t258.5 52.5q137 0 259 -52.5t212 -143.5t142 -212t52 -258q0 -102 -28.5 -195.5t-81.5 -170.5l358 -359q18 -18 18 -46t-18 -48l-94 -94q-20 -18 -48 -18.5t-46 18.5l-359 358q-78 -53 -171 -81.5t-195 -28.5q-137 0 -258 52 t-212.5 142t-143.5 211t-52 260zM266 901q0 -84 32 -156.5t86 -126t127 -85t155 -31.5t155.5 31.5t126.5 85t85 126t32 156.5q0 82 -32 154.5t-85 127t-126.5 86t-155.5 31.5t-155 -31.5t-127 -86t-86 -127t-32 -154.5zM399 868v66q0 33 33 33h168v168q0 33 33 32h65 q14 0 24.5 -9t10.5 -23v-168h166q33 0 33 -33v-66q0 -14 -9.5 -24t-23.5 -10h-166v-166q0 -14 -10 -23.5t-25 -9.5h-65q-33 0 -33 33v166h-168q-14 0 -23.5 10t-9.5 24z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 901q0 137 52 258t143.5 212t212 143.5t258.5 52.5q137 0 259 -52.5t212 -143.5t142 -212t52 -258q0 -102 -28.5 -195.5t-81.5 -170.5l358 -359q18 -18 18 -46t-18 -48l-94 -94q-20 -18 -48 -18.5t-46 18.5l-359 358q-78 -53 -171 -81.5t-195 -28.5q-137 0 -258 52 t-212.5 142t-143.5 211t-52 260zM266 901q0 -84 32 -156.5t86 -126t127 -85t155 -31.5t155.5 31.5t126.5 85t85 126t32 156.5q0 82 -32 154.5t-85 127t-126.5 86t-155.5 31.5t-155 -31.5t-127 -86t-86 -127t-32 -154.5zM399 868v66q0 33 33 33h467q33 0 33 -33v-66 q0 -14 -9.5 -24t-23.5 -10h-467q-14 0 -23.5 10t-9.5 24z" />
|
||||
<glyph unicode="" horiz-adv-x="1488" d="M0 713q0 186 86 349t240 267q12 10 28 6q18 -4 25 -16l90 -131q10 -12 6 -27.5t-16 -25.5q-106 -72 -164.5 -182.5t-58.5 -239.5q0 -104 39.5 -197.5t108.5 -162t162 -108.5t197 -40t197.5 40t163.5 108.5t109.5 161.5t39.5 198q0 129 -59 239.5t-164 182.5 q-14 10 -16 24q-4 16 6 29l88 131q10 12 25.5 15t29.5 -5q154 -104 240 -267t86 -349q0 -154 -58.5 -289t-160 -236.5t-237.5 -160t-290 -58.5t-289 58.5t-236 160t-159.5 236.5t-58.5 289zM627 793v704q0 16 11 27.5t28 11.5h157q16 0 27.5 -11.5t11.5 -27.5v-704 q0 -16 -11 -27.5t-28 -11.5h-157q-16 0 -27.5 11t-11.5 28z" />
|
||||
<glyph unicode="" d="M0 39v260q0 16 11.5 27.5t27.5 11.5h192q16 0 26.5 -11.5t10.5 -27.5v-260q0 -16 -10 -27.5t-27 -11.5h-192q-39 0 -39 39zM393 39v434q0 16 11.5 27.5t27.5 11.5h193q16 0 26.5 -11.5t10.5 -27.5v-434q0 -16 -10.5 -27.5t-26.5 -11.5h-193q-16 0 -27.5 11.5t-11.5 27.5z M786 39v676q0 16 11.5 27.5t27.5 11.5h193q16 0 27.5 -11.5t11.5 -27.5v-676q0 -16 -11.5 -27.5t-27.5 -11.5h-193q-16 0 -27.5 11.5t-11.5 27.5zM1182 39v995q0 16 10 27.5t27 11.5h192q16 0 27.5 -11t11.5 -28v-995q0 -16 -11.5 -27.5t-27.5 -11.5h-192q-16 0 -26.5 11.5 t-10.5 27.5zM1575 39v1458q0 39 39 39h190q39 0 39 -39v-1458q0 -39 -39 -39h-190q-39 0 -39 39z" />
|
||||
<glyph unicode="" horiz-adv-x="1593" d="M0 651v236q0 12 30.5 21.5t68.5 15.5t74 9t48 5q18 61 49 117q-55 82 -120 157l-7 15q0 8 28 38.5t62.5 65.5t66.5 62.5t40 27.5q2 0 26.5 -18.5t54.5 -41t56.5 -43t32.5 -24.5q29 16 58.5 26.5t60.5 20.5q0 12 3 49t9 75t15.5 69t21.5 31h237q14 0 19 -15 q12 -49 17 -103t14 -106q31 -8 59.5 -19t56.5 -28q8 6 34 26.5t55.5 43t53 40t29.5 17.5t37 -27.5t65 -62.5t61.5 -65.5t27.5 -38.5q0 -4 -17.5 -28.5t-39 -53.5t-42 -55.5t-24.5 -32.5q33 -55 51 -123q49 -10 103.5 -13t101.5 -20q16 -4 16 -18v-236q0 -12 -29.5 -21.5 t-68.5 -15.5t-76 -9t-49 -5q-14 -57 -47 -117q55 -82 121 -157l6 -15q0 -8 -27.5 -38.5t-62.5 -65.5t-66.5 -62.5t-40.5 -27.5q-2 0 -26.5 18.5t-54 41t-56 43t-33.5 24.5q-29 -16 -58.5 -27.5t-59.5 -19.5q-2 -12 -5.5 -49.5t-9.5 -76t-14 -69.5t-21 -31h-237q-14 0 -19 17 q-14 49 -19 103t-11 103q-61 18 -117 50q-41 -31 -81 -60.5t-79 -62.5l-12 -4q-6 0 -37 27.5t-64.5 62.5t-61 65.5t-27.5 38.5q0 2 16 26.5t37.5 53.5t42 55.5t26.5 34.5q-33 55 -51 123q-51 10 -104.5 13t-100.5 20q-16 4 -16 18zM557 768q0 -49 18.5 -93t51 -77t77 -52.5 t93.5 -19.5t93 19.5t75.5 52.5t51 77t19.5 93t-19.5 92t-51 76t-75.5 51.5t-93 18.5t-93.5 -18.5t-77 -51.5t-51 -76t-18.5 -92z" />
|
||||
<glyph unicode="" horiz-adv-x="1304" d="M0 1175.5v34.5v36t2 36q25 14 71 23.5t98 15.5t102.5 9t78.5 5q-8 82 11.5 128t59.5 68.5t98.5 29t131.5 6.5q55 0 109.5 -3t97.5 -20.5t68.5 -54.5t25.5 -105v-24t-2 -25q29 -2 79 -5t102.5 -9t99.5 -15.5t72 -23.5v-72v-69q-37 -20 -123 -32.5t-185.5 -19t-193.5 -7.5 t-150 -1q-55 0 -150 1t-194.5 7.5t-184.5 18.5t-122 33q-2 16 -2 34.5zM133 154v837q123 -16 244 -21t244 -5h32q129 2 258 6t258 20v-837q0 -63 -44 -108.5t-107 -45.5h-731q-63 0 -108.5 45t-45.5 109zM303 199q0 -16 10.5 -26.5t26.5 -10.5h39q16 0 27.5 10t11.5 27v614 q0 16 -11.5 27.5t-27.5 11.5h-39q-16 0 -26.5 -11.5t-10.5 -27.5v-614zM504 1384q0 -10 1 -22t3 -23q144 2 291 0q0 12 2 23.5t0 21.5v15q-35 10 -74 11t-74 1q-37 0 -75.5 -1t-73.5 -11v-15zM596 199q0 -16 10 -26.5t27 -10.5h39q16 0 27.5 10t11.5 27v614q0 16 -11.5 27.5 t-27.5 11.5h-39q-16 0 -26.5 -11.5t-10.5 -27.5v-614zM887 199q0 -16 11 -26.5t28 -10.5h39q16 0 27.5 10t11.5 27v614q0 16 -11.5 27.5t-27.5 11.5h-39q-16 0 -27.5 -11.5t-11.5 -27.5v-614z" />
|
||||
<glyph unicode="" horiz-adv-x="1880" d="M0 809.5q2 15.5 14 26.5l867 710q27 20 59 21q33 0 59 -21l240 -196v102q0 16 11.5 27.5t27.5 11.5h223q16 0 26.5 -11.5t10.5 -27.5v-348l328 -268q12 -10 14 -25.5t-8 -28.5l-45 -53q-10 -14 -29 -14h-65q-16 0 -25 8l-743 608q-25 20 -50 0l-743 -608q-8 -8 -25 -8 h-65q-18 0 -29 14l-45 53q-10 12 -8 27.5zM266 76v622l674 553l674 -553v-622q0 -33 -21.5 -54.5t-54.5 -21.5h-422v498h-352v-498h-422q-33 0 -54.5 21.5t-21.5 54.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1228" d="M0 78v1382q0 31 22.5 53.5t55.5 22.5h614q33 0 71 -16.5t60 -38.5l351 -351q23 -23 39 -60.5t16 -70.5v-921q0 -33 -22.5 -55.5t-53.5 -22.5h-1075q-33 0 -55.5 22.5t-22.5 55.5zM154 154h921v692h-459q-31 0 -53 22.5t-22 55.5v458h-387v-1228zM268 326v116h693v-116 h-693zM268 596v115h693v-115h-693zM694 999h381q0 4 -4 13.5t-6 11.5l-350 348q-2 4 -9.5 6t-11.5 4v-383z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM635 608v465q0 33 23.5 56.5t56.5 23.5h80q35 0 57 -23.5t22 -56.5v-305h201q33 0 56.5 -23.5t23.5 -56.5v-80q0 -33 -23.5 -56.5t-56.5 -23.5h-360q-33 0 -56.5 23.5 t-23.5 56.5z" />
|
||||
<glyph unicode="" d="M2 35l594 1466q6 14 21.5 24.5t31.5 10.5h195l-8 -170h172l-9 170h195q16 0 31.5 -10t21.5 -25l594 -1466q6 -14 -1 -24.5t-23 -10.5h-740l-26 512h-258l-27 -512h-739q-16 0 -23.5 10t-1.5 25zM807 797h229l-20 413h-189z" />
|
||||
<glyph unicode="" d="M0 39v614q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-346h1229v346q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-614q0 -39 -39 -39h-1765q-39 0 -39 39zM345.5 944.5q6.5 16.5 39.5 16.5h307v499q0 31 21.5 53.5t54.5 22.5h307q33 0 55.5 -22.5 t22.5 -53.5v-499h307q31 0 37 -16.5t-16 -39.5l-504 -506q-23 -23 -55.5 -22.5t-55.5 22.5l-504 506q-23 23 -16.5 39.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM414 743q10 25 37 25h208v358q0 16 11.5 28.5t27.5 12.5h201q16 0 27.5 -12t11.5 -29v-358h209q27 0 37 -25t-10 -43l-347 -346q-14 -10 -28 -10t-29 10l-346 346 q-20 18 -10 43z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177 120t-218 44t-218.5 -44t-177 -120t-119.5 -177t-44 -218zM414 793q-10 25 10 43l346 346q14 10 29 10q14 0 28 -10l347 -346q20 -18 10 -43t-37 -25h-209v-360q0 -16 -11.5 -27.5t-27.5 -11.5h-201q-16 0 -27.5 11t-11.5 28v360h-208 q-27 0 -37 25z" />
|
||||
<glyph unicode="" d="M0 78v577q0 33 9 76t22 72l284 663q12 29 44 49.5t63 20.5h999q31 0 63 -20.5t44 -49.5l284 -663q12 -29 21.5 -72t9.5 -76v-577q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM238 694h387l114 -231h383l117 231h367q-2 4 -2 9.5t-2 9.5l-256 594 h-848l-256 -596q-2 -2 -2 -7.5t-2 -9.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM582 453v628q0 18 16 29q20 8 31 0l545 -315q16 -6 16 -27q0 -20 -16 -27l-545 -315q-8 -4 -15 -4q-8 0 -16 4q-16 10 -16 27z" />
|
||||
<glyph unicode="" horiz-adv-x="1591" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5q141 0 271 -48.5t239 -140.5l161 162q35 35 58.5 24.5t23.5 -57.5v-463q0 -33 -22 -55q-10 -10 -23.5 -16t-29.5 -6h-463q-47 0 -58.5 23.5t23.5 58.5l160 159q-72 57 -159 88t-181 31q-117 0 -218.5 -44t-177 -120 t-119.5 -177t-44 -218t44 -218t119.5 -177t177 -120t218.5 -44q104 0 198.5 37t169 101.5t123.5 153.5t64 191q0 16 14 27q14 10 31 8l157 -20q16 -4 26.5 -16.5t8.5 -28.5q-20 -147 -89.5 -274.5t-176 -220.5t-242 -145.5t-284.5 -52.5q-166 0 -311.5 62.5t-254 171 t-171 254t-62.5 311.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M6 311l150 437q10 33 39 45t59 4l438 -150q45 -16 46 -40.5t-42 -47.5l-202 -100q53 -78 123.5 -134.5t160.5 -86.5q111 -37 221.5 -28t207 56t170 129t110.5 193q6 16 20.5 22t30.5 2l152 -51q16 -6 23 -20.5t1 -30.5q-53 -158 -159.5 -274.5t-243.5 -184t-296 -81 t-315 39.5q-135 47 -241.5 134t-179.5 208l-205 -100q-43 -23 -63.5 -5.5t-4.5 64.5zM203 1024q53 156 159.5 273.5t243.5 185t295 81t316 -39.5q133 -47 240.5 -134t180.5 -208l205 100q43 23 63.5 5.5t4.5 -62.5l-150 -439q-10 -33 -39 -45t-59 -4l-438 150 q-45 16 -46 40.5t40 47.5l202 100q-51 78 -122.5 134.5t-159.5 86.5q-111 37 -221.5 28t-207 -56t-170 -129t-110.5 -193q-6 -16 -20.5 -22t-30.5 -2l-152 51q-16 6 -23 20.5t-1 30.5z" />
|
||||
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h1536v1075h-1536v-1075zM307 346v76q0 39 39 39h154q16 0 27.5 -11.5t11.5 -27.5v-76q0 -16 -11.5 -27.5t-27.5 -11.5h-154q-39 0 -39 39 zM307 653v76q0 39 39 39h154q16 0 27.5 -11.5t11.5 -27.5v-76q0 -16 -11.5 -27.5t-27.5 -11.5h-154q-39 0 -39 39zM307 961v75q0 39 39 39h154q16 0 27.5 -11t11.5 -28v-75q0 -16 -11.5 -27.5t-27.5 -11.5h-154q-39 0 -39 39zM692 346v76q0 16 10.5 27.5t26.5 11.5h768 q39 0 39 -39v-76q0 -39 -39 -39h-768q-16 0 -26.5 11.5t-10.5 27.5zM692 653v76q0 16 10.5 27.5t26.5 11.5h768q39 0 39 -39v-76q0 -39 -39 -39h-768q-16 0 -26.5 11.5t-10.5 27.5zM692 961v75q0 16 10.5 27.5t26.5 11.5h768q39 0 39 -39v-75q0 -39 -39 -39h-768 q-16 0 -26.5 11t-10.5 28z" />
|
||||
<glyph unicode="" horiz-adv-x="1253" d="M0 117v626q0 39 21.5 69t56.5 42v164q0 113 43 213t117.5 175t175 118t213.5 43t213 -43t175 -118t118 -175.5t43 -212.5v-164q35 -12 56 -42t21 -69v-626q0 -47 -34.5 -82t-81.5 -35h-1020q-47 0 -82 35t-35 82zM313 862h627v156q0 66 -24.5 123t-67.5 99t-100.5 66.5 t-120.5 24.5q-66 0 -122 -24.5t-99.5 -66.5t-68 -99.5t-24.5 -122.5v-156zM494 164h266l-66 285q29 18 47.5 48.5t18.5 65.5q0 55 -39 95t-94 40t-94 -40t-39 -95q0 -35 18 -65.5t47 -46.5z" />
|
||||
<glyph unicode="" d="M0 1382q0 63 45 108.5t109 45.5q63 0 108 -45.5t45 -108.5q0 -41 -20.5 -74.5t-55.5 -56.5v-1212q0 -16 -11 -27.5t-27 -11.5h-78q-16 0 -26.5 11.5t-10.5 27.5v1212q-35 23 -56.5 56.5t-21.5 74.5zM307 416v745q0 33 19.5 66t48.5 49q104 55 188 86t144 45q70 16 124 18 q68 0 124.5 -11t107.5 -29.5t99 -43t100 -51.5q63 -29 145 -33q70 -4 164 15.5t207 87.5q29 16 47 6t18 -43v-748q0 -31 -18.5 -64.5t-46.5 -49.5q-113 -68 -207 -87.5t-164 -15.5q-82 4 -145 33q-51 27 -99.5 51.5t-99.5 43t-107.5 29.5t-124.5 11q-55 -2 -124 -18 q-59 -14 -143.5 -45t-188.5 -88q-29 -16 -48.5 -4t-19.5 45z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 729q0 172 85 324.5t221 266.5t307 180.5t345 66.5t345.5 -66.5t307.5 -180.5t221 -266.5t85 -326.5q0 -182 -78 -350l-27 -60l-174 -26q-27 -104 -110.5 -173t-196.5 -69v-41q0 -16 -12 -27.5t-29 -11.5h-80q-16 0 -27.5 11.5t-11.5 27.5v719q0 16 11.5 28.5 t27.5 12.5h80q16 0 28.5 -12.5t12.5 -28.5v-39q88 0 161 -44t114 -116l39 7q33 90 32 192q0 125 -65.5 233.5t-170 190.5t-232.5 129t-251 47t-250.5 -47t-232 -128t-170 -190.5t-65.5 -232.5q0 -104 32 -194l39 -7q41 72 114 116t161 44v39q0 16 12 28.5t29 12.5h80 q16 0 27 -12.5t11 -28.5v-719q0 -16 -11 -27.5t-27 -11.5h-80q-16 0 -28.5 11.5t-12.5 27.5v41q-55 0 -106.5 18.5t-91.5 50.5t-68.5 76t-40.5 97l-175 26l-26 60q-78 168 -78 352z" />
|
||||
<glyph unicode="" horiz-adv-x="905" d="M0 578v380q0 16 11.5 27.5t27.5 11.5h420l325 326q49 51 84 37t35 -86v-1012q0 -72 -34.5 -86t-84.5 37l-325 326h-420q-16 0 -27.5 11t-11.5 28z" />
|
||||
<glyph unicode="" horiz-adv-x="1277" d="M0 578v380q0 16 11.5 27.5t27.5 11.5h420l325 326q49 51 84 37t35 -86v-1012q0 -72 -34.5 -86t-84.5 37l-325 326h-420q-16 0 -27.5 11t-11.5 28zM1027 406q-9 32 7 61q84 145 84 301t-84 301q-16 29 -7 61t38 48t60.5 8t48.5 -37q104 -182 104 -381q0 -201 -104 -381 q-23 -41 -70 -41q-20 0 -39 12q-29 16 -38 48z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 578v380q0 16 11.5 27.5t27.5 11.5h420l325 326q49 51 84 37t35 -86v-1012q0 -72 -34.5 -86t-84.5 37l-325 326h-420q-16 0 -27.5 11t-11.5 28zM1027 406q-9 32 7 61q84 145 84 301t-84 301q-16 29 -7 61t38 48t60.5 8t48.5 -37q104 -182 104 -381q0 -201 -104 -381 q-23 -41 -70 -41q-20 0 -39 12q-29 16 -38 48zM1285 219q-7 33 11 62q141 225 142 487q0 262 -142 487q-18 29 -11 62t36 49q29 18 61 11t50 -36q82 -131 123.5 -275t41.5 -298q0 -309 -167 -573q-10 -18 -29 -27.5t-37 -9.5q-25 0 -43 12q-29 16 -36 49zM1540 33 q-6 33 12 59q100 154 152.5 325t52.5 351t-52 351t-153 323q-18 29 -12 61.5t35 50.5q29 16 61 10.5t50 -32.5q115 -174 173 -366.5t58 -397.5t-58.5 -397.5t-172.5 -364.5q-10 -18 -29 -27.5t-37 -9.5q-25 0 -45 13q-29 18 -35 51z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 0v698h698v-698h-698zM0 838v698h698v-698h-698zM139 139h420v420h-420v-420zM139 977h420v420h-420v-420zM279 279v141h141v-141h-141zM279 1116v139h141v-139h-141zM838 0v698h417v-139h142v139h139v-419h-420v139h-139v-418h-139zM838 838v698h698v-698h-698z M977 977h420v420h-420v-420zM1116 0v139h139v-139h-139zM1116 1116v139h139v-139h-139zM1397 0v139h139v-139h-139z" />
|
||||
<glyph unicode="" d="M0 0v1536h154v-1536h-154zM227 0v1536h37v-1536h-37zM356 0v1536h117v-1536h-117zM545 0v1536h78v-1536h-78zM715 0v1536h76v-1536h-76zM903 0v1536h37v-1536h-37zM1014 0v1536h153v-1536h-153zM1221 0v1536h77v-1536h-77zM1409 0v1536h39v-1536h-39zM1579 0v1536h37 v-1536h-37zM1690 0v1536h153v-1536h-153z" />
|
||||
<glyph unicode="" horiz-adv-x="1488" d="M0 961v454q0 49 35 85t86 36h454q51 0 113 -24.5t94 -61.5l672 -748q33 -39 34 -88t-34 -84l-526 -526q-35 -35 -86 -36t-86 36l-670 750q-35 37 -60.5 96t-25.5 111zM197 1223q0 -49 33.5 -83t82.5 -34t83 34t34 83t-34 82.5t-83 33.5t-82.5 -33.5t-33.5 -82.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1875" d="M0 961v454q0 49 35 85t86 36h454q25 0 53.5 -6t57.5 -18.5t54.5 -28t41.5 -33.5l670 -748q33 -37 34 -86t-34 -84l-526 -524q-35 -35 -86.5 -37t-83.5 37l-670 746q-35 39 -60.5 98t-25.5 109zM195 1223q0 -47 34.5 -82t83.5 -35q47 0 82 35t35 82q0 49 -35 83.5 t-82 34.5q-49 0 -83.5 -34.5t-34.5 -83.5zM791 1534h174q51 0 112.5 -24.5t93.5 -61.5l670 -748q35 -37 35 -87t-35 -85l-524 -524q-35 -35 -86 -36t-86 36l-12 14l514 514q35 35 34.5 84.5t-34.5 85.5l-670 748q-31 35 -84 56.5t-102 27.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1710" d="M10 311q2 16 4 31.5t4 34.5q0 10 -4 20.5t-2 20.5q2 16 15.5 31.5t25.5 35.5q23 37 45.5 90.5t32.5 92.5q4 16 -1 30.5t-1 26.5q4 16 16.5 27.5t20.5 23.5q10 18 21.5 42t21.5 49.5t16 50t8 40.5t-2 33t0 29q6 16 20.5 26.5t24.5 24.5q10 12 21.5 34.5t23 49.5t19.5 52.5 t10 45.5q2 12 -4 24.5t-2 27.5q4 14 18.5 29.5t26.5 31.5q16 25 28.5 58.5t30 61t46 43t77.5 1.5l-2 -4q31 10 54 10h780q78 0 119 -57q41 -53 18 -129l-283 -906q-18 -63 -77.5 -107t-126.5 -44h-893q-10 0 -20.5 -2t-18.5 -12q-12 -20 0 -56q16 -43 60 -75.5t87 -32.5h946 q29 0 57.5 21.5t37.5 47.5l309 987q4 16 5 29.5t-1 28.5q41 -14 61 -43q41 -53 19 -129l-283 -905q-18 -66 -77.5 -109t-127.5 -43h-946q-41 0 -79.5 14.5t-73.5 39t-61.5 58t-41.5 72.5q-25 68 -2 127zM500 961q-10 -39 26 -39h615q16 0 30.5 11t18.5 28l24 75 q4 16 -3 27.5t-23 11.5h-615q-16 0 -31.5 -11t-19.5 -28zM569 1190q-4 -16 3.5 -26.5t23.5 -10.5h614q16 0 30.5 10.5t21.5 26.5l22 78q4 16 -3 27.5t-24 11.5h-614q-16 0 -30.5 -11.5t-20.5 -27.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1253" d="M0 84v1337q0 47 34 81t81 34h1024q47 0 80.5 -34t33.5 -81v-1337q0 -47 -33.5 -81t-80.5 -34t-80 33l-432 432l-432 -432q-33 -33 -80 -33t-81 34t-34 81z" />
|
||||
<glyph unicode="" d="M0 39v346q0 47 18.5 89t50 73t73.5 49t89 18h1383q47 0 89 -18t72.5 -49t49 -73t18.5 -89v-346q0 -39 -39 -39h-1765q-39 0 -39 39zM268 193q0 -16 11.5 -26.5t27.5 -10.5h1229q16 0 27.5 10t11.5 27v38q0 16 -11.5 27.5t-27.5 11.5h-1229q-16 0 -27.5 -11t-11.5 -28v-38 zM307 729v731q0 31 22.5 53.5t55.5 22.5h651v-383q0 -49 34 -83t81 -34h385v-307h-1229zM1151 1153v383l385 -383h-385z" />
|
||||
<glyph unicode="" d="M0 115v1075q0 47 34 82t81 35h366l58 125q18 43 66 73.5t95 30.5h443q47 0 95 -30.5t67 -73.5l57 -125h367q47 0 80.5 -35t33.5 -82v-1075q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM442 653q0 -100 38 -187t102.5 -152.5t153 -103.5t186.5 -38t186 38 t152.5 103.5t102.5 152.5t38 187q0 98 -38 186.5t-102.5 153t-152.5 102.5t-186 38t-186.5 -38t-153 -102.5t-102.5 -152.5t-38 -187zM596 653q0 68 25.5 127.5t69.5 103.5t103.5 69.5t127.5 25.5t127 -25.5t103 -69.5t69.5 -103.5t25.5 -127.5t-25.5 -127t-69.5 -104 t-103.5 -70.5t-126.5 -25.5q-68 0 -127.5 25.5t-103.5 70.5t-69.5 104.5t-25.5 126.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1644" d="M0 0l2 80q10 4 29.5 8t48.5 8q92 18 108 33q16 10 50 68l233 614l277 725h73h53l11 -20l202 -482q33 -78 64 -151.5t59 -145.5q29 -72 52.5 -130t42.5 -103q12 -29 28.5 -70t36.5 -94q23 -66 64 -150q25 -49 34 -57q20 -18 68 -24q25 -2 49.5 -9.5t52.5 -17.5 q6 -37 7 -55v-10.5t-3 -16.5q-43 0 -90 2t-98 6q-53 4 -99 6t-87 2h-80t-53 -2l-199 -10l-57 -2q0 20 1 39.5t3 38.5l129 26q57 14 67 25q12 8 13 27q0 14 -7 30l-47 115l-90 227l-446 2q-12 -29 -37 -96t-66 -178q-23 -63 -22 -84q0 -27 16 -43q14 -10 40 -17.5t63 -13.5 q14 -4 84 -12v-59q0 -16 -2 -27q-35 0 -121 5t-224 16l-49 -9q-43 -8 -83 -11t-81 -3h-20zM549 655q135 -2 216 -4t105 0l29 2q-18 51 -40.5 111.5t-51.5 130.5t-51.5 122t-38.5 87z" />
|
||||
<glyph unicode="" horiz-adv-x="1419" d="M0 0l2 94q27 6 68 12q39 6 69.5 13.5t55.5 17.5q8 14 13 26.5t7 24.5q6 33 8 81t2 112l-2 498q-2 39 -3 139t-5 266q-4 88 -12 109q-4 8 -13 10q-20 14 -69 16q-23 0 -115 13l-4 84l262 6l383 12h45q8 2 15.5 2h13.5t21.5 -1t39.5 -1h76q92 0 193 -27q18 -4 42.5 -13 t53.5 -26q63 -31 104 -75q45 -47 66 -105q10 -29 15 -58.5t5 -62.5q0 -72 -32 -129q-31 -57 -95 -104q-16 -12 -54 -30.5t-97 -47.5q178 -41 268 -145q92 -104 92 -236q0 -72 -28 -162q-23 -66 -72 -116q-66 -72 -141 -109q-78 -35 -205 -59q-70 -12 -199 -11l-199 5 q-63 2 -138 -2.5t-163 -10.5q-25 -2 -93 -4t-181 -6zM537 1419q0 -12 1 -31.5t3 -44.5q2 -51 4 -119.5t0 -158.5v-98v-78q25 -4 52.5 -6t57.5 -2q176 0 267 65q90 66 90 225q0 113 -86 187q-84 76 -258 76q-53 0 -131 -15zM545 457l4 -271q0 -16 10 -43q74 -33 141 -32 q131 0 220 41q82 39 122 112q18 37 28.5 82t10.5 100q0 113 -43 181q-59 94 -141 125q-80 33 -250 32q-37 0 -61.5 -3t-40.5 -7v-143v-174z" />
|
||||
<glyph unicode="" horiz-adv-x="1054" d="M0 0l18 84q12 4 32 9t46 11q41 10 71 19.5t50 19.5q29 39 41 103l29 137l57 268l12 64q23 119 41.5 178t18.5 63l30 156l17 64l22 135l9 49v39q-45 23 -148 28q-14 0 -23.5 1.5t-17.5 1.5l21 104l325 -14q31 -2 49.5 -2h26.5q35 0 89 2t132 6q41 4 68.5 6t38.5 2 q-2 -10 -3 -19.5t-3 -19.5q-4 -10 -7.5 -22.5t-7.5 -28.5q-49 -16 -110 -31q-66 -16 -105 -31q-12 -33 -24 -88q-6 -25 -9.5 -45t-5.5 -37q-23 -100 -40 -175.5t-27 -129.5l-64 -311l-39 -158l-43 -235l-14 -45v-10.5t2 -16.5q35 -8 64.5 -13t58.5 -9q4 0 21.5 -2.5 l45.5 -6.5q-2 -18 -3 -32.5t-3 -26.5q-2 -6 -4 -16.5t-6 -22.5q-8 0 -14 -1t-10 -1q-18 -2 -28.5 -2h-14.5h-11.5t-17.5 4q-8 0 -45 4t-105 12l-202 2q-61 0 -181 -12q-39 -4 -63.5 -6t-36.5 -2z" />
|
||||
<glyph unicode="" d="M0 1151q14 37 34.5 110.5t45.5 184.5q8 33 13 54.5t9 31.5h58q4 -6 6 -10t4 -9q29 -57 41 -71q16 -4 129 -4q35 0 66.5 1t60.5 1l20 2l113 2l213 -2h289l55 10q10 8 27 53q2 6 4 12.5t6 16.5l43 2h10.5t16.5 -2q2 -39 1 -97.5t1 -138.5v-100v-57q0 -14 -1 -27.5t-3 -23.5 q-20 -8 -37 -11.5t-31 -7.5q-27 51 -53 129q-29 82 -37 92q-12 14 -27 21q-10 4 -60 4h-138h-31t-35 -4q-6 -43 -6 -72l2 -151v-334l2 -359v-147q0 -72 10 -117q8 -4 21.5 -8t34.5 -8q4 0 21 -4t50 -13q27 -10 49 -18q4 -20 4 -33.5v-17.5v-11.5t-2 -17.5h-34q-47 0 -88 2 t-76 6t-95.5 6t-148.5 2q-16 0 -57 -4t-109 -10q-29 -2 -45 -3t-24 -1q0 10 -1.5 16.5t-1.5 10.5l-2 24v10q18 31 80 50q94 27 135 49q4 10 6.5 25.5t4.5 31.5q4 68 6 176.5t0 255.5l-4 428q-2 90 -2 142.5t-4 72.5q0 8 -7 15q-4 6 -12 6q-16 4 -63 4h-127q-90 0 -119 -21 q-41 -29 -121 -153q-23 -35 -35 -35q-23 12 -36 23.5t-19 19.5zM1383 1305.5q-5 13.5 14 33.5l184 185q14 12 33 12q14 0 31 -12l184 -185q18 -20 13 -33.5t-34 -13.5h-118v-1048h118q29 0 34 -13.5t-13 -31.5l-184 -187q-16 -12 -33 -12q-16 0 -31 12l-184 187 q-18 18 -13 31.5t31 13.5h121v1048h-121q-27 0 -32 13.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 233q0 18 12 31l187 185q18 20 31.5 14t13.5 -33v-121h1048v121q0 27 13.5 33t33.5 -14l185 -185q12 -12 12 -31q0 -18 -12 -30l-185 -187q-20 -18 -33.5 -13t-13.5 34v119h-1048v-119q0 -29 -13.5 -34t-31.5 13l-187 187q-12 12 -12 30zM0 1233q14 29 33.5 87 t44.5 146q6 27 11 43.5t9 26.5h56q8 -12 10 -14q27 -47 37 -58q2 0 35.5 -1t77.5 -1h90.5h74.5h123l19 2h108h203h416l53 6q12 10 24 46l4.5 9l6.5 13h39h28v-188v-80v-45q0 -12 -1 -21.5t-3 -19.5q-33 -10 -63 -15q-25 37 -52 103q-27 59 -34 74q-12 10 -27 14q-6 2 -42 3 t-85 1h-103.5h-97.5h-28.5t-34.5 -2q-2 -18 -3 -32.5t-1 -24.5l4 -445l-2 -119q0 -61 12 -92q12 -6 53 -12q4 0 20.5 -4t45.5 -10q14 -4 26.5 -7.5t22.5 -7.5q2 -16 3 -25.5t1 -13.5t-1 -10t-1 -14h-33q-94 0 -157 6q-66 6 -236 6q-14 0 -53 -3t-105 -7q-27 -2 -43 -3 t-24 -1q0 16 -2 20v21v8q20 27 73 39q90 20 132 41q4 8 6 19t4 26q0 18 1 70.5t1 120t-1 142t-2 139t-2 107.5t-1 47q0 8 -6 13q-2 2 -13 6q-14 2 -59 2h-123q-20 0 -62 -1t-85 -2t-78 -4t-41 -7q-41 -25 -117 -123q-20 -29 -33 -29q-23 10 -35 19.5t-18 15.5z" />
|
||||
<glyph unicode="" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t55.5 22.5h1075q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1075 q-33 0 -55.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t55.5 22.5h1536q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1536q-33 0 -55.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t55.5 22.5h921q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-921q-33 0 -55.5 22.5t-22.5 52.5z" />
|
||||
<glyph unicode="" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM78 922v114q0 33 21.5 55.5t54.5 22.5h1536q33 0 55 -22.5t22 -55.5v-114q0 -33 -22.5 -54.5t-54.5 -21.5h-1536 q-33 0 -54.5 21.5t-21.5 54.5zM307 500v114q0 33 22.5 55.5t55.5 22.5h1075q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1075q-33 0 -55.5 22.5t-22.5 55.5zM385 1343v117q0 31 21.5 53.5t54.5 22.5h921q33 0 55.5 -22.5t22.5 -53.5v-117 q0 -31 -22.5 -53t-55.5 -22h-921q-33 0 -54.5 22.5t-21.5 52.5z" />
|
||||
<glyph unicode="" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM154 922v114q0 33 22.5 55.5t54.5 22.5h1536q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1536 q-33 0 -55 21.5t-22 54.5zM614 500v114q0 33 22.5 55.5t55.5 22.5h1075q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1075q-33 0 -55.5 22.5t-22.5 55.5zM768 1343v117q0 31 22.5 53.5t55.5 22.5h921q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-921q-33 0 -55.5 22.5t-22.5 52.5z" />
|
||||
<glyph unicode="" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1689 q-33 0 -55.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1689q-33 0 -55.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-117 q0 -31 -22.5 -53t-53.5 -22h-1689q-33 0 -55.5 22.5t-22.5 52.5z" />
|
||||
<glyph unicode="" d="M0 78v115q0 31 22.5 53t55.5 22h153q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-153q-33 0 -55.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t55.5 22.5h153q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-153 q-33 0 -55.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t55.5 22.5h153q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-153q-33 0 -55.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t55.5 22.5h153q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-153q-33 0 -55.5 22.5t-22.5 52.5zM461 78v115q0 31 22.5 53t55.5 22h1228q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1228q-33 0 -55.5 22.5t-22.5 55.5zM461 500v114q0 33 22.5 55.5t55.5 22.5h1228q31 0 53.5 -22.5t22.5 -55.5v-114 q0 -33 -22.5 -55.5t-53.5 -22.5h-1228q-33 0 -55.5 22.5t-22.5 55.5zM461 922v114q0 33 22.5 55.5t55.5 22.5h1228q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1228q-33 0 -55.5 21.5t-22.5 54.5zM461 1343v117q0 31 22.5 53.5t55.5 22.5h1228 q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53t-53.5 -22h-1228q-33 0 -55.5 22.5t-22.5 52.5z" />
|
||||
<glyph unicode="" d="M0 756v75q0 39 39 39h213v154q0 31 16.5 37t38.5 -17l215 -215q16 -16 17 -36q0 -18 -17 -35l-215 -215q-23 -23 -39 -17t-16 39v152h-213q-39 0 -39 39zM614 39v1458q0 39 39 39h76q39 0 39 -39v-1458q0 -39 -39 -39h-76q-39 0 -39 39zM922 78v115q0 31 22.5 53t54.5 22 h768q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-768q-33 0 -55 22.5t-22 55.5zM922 500v114q0 33 22.5 55.5t54.5 22.5h615q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-615q-33 0 -55 22.5t-22 55.5zM922 922v114 q0 33 22.5 55.5t54.5 22.5h691q33 0 55 -22.5t22 -55.5v-114q0 -33 -22.5 -54.5t-54.5 -21.5h-691q-33 0 -55 21.5t-22 54.5zM922 1343v117q0 31 22.5 53.5t54.5 22.5h537q33 0 55.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53t-55.5 -22h-537q-33 0 -55 22.5t-22 52.5z" />
|
||||
<glyph unicode="" d="M0 78v115q0 31 22.5 53t53.5 22h768q33 0 55.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-55.5 -22.5h-768q-31 0 -53.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t53.5 22.5h614q33 0 55.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-55.5 -22.5h-614 q-31 0 -53.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t53.5 22.5h692q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-692q-31 0 -53.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t53.5 22.5h538q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-538q-31 0 -53.5 22.5t-22.5 52.5zM1075 39v1458q0 39 39 39h76q16 0 27.5 -11.5t11.5 -27.5v-1458q0 -16 -11.5 -27.5t-27.5 -11.5h-76q-39 0 -39 39zM1305 743q0 16 14 35l217 215q23 23 38 17t15 -39v-152h215q16 0 27.5 -11t11.5 -28v-75q0 -16 -11 -27.5 t-28 -11.5h-215v-154q0 -31 -15 -38t-38 15l-217 218q-14 18 -14 36z" />
|
||||
<glyph unicode="" d="M0 324v768q0 47 18.5 89t50 72.5t73.5 49t89 18.5h768q47 0 89 -18.5t73 -49t49.5 -72.5t18.5 -89v-240l483 471q23 23 55 23q13 -1 29 -7q47 -20 47 -69v-1127q0 -49 -47 -69q-16 -6 -29 -6q-33 0 -55 22l-483 471v-237q0 -47 -18.5 -89t-49.5 -74t-72.5 -50.5 t-89.5 -18.5h-768q-47 0 -89 18.5t-73.5 50.5t-50 73.5t-18.5 89.5z" />
|
||||
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h1536v1228h-1536v-1228zM307 307v105l277 360l188 -156l354 537l410 -424v-422h-1229zM307 1073q0 66 45 111t111 45q63 0 108 -45 t45 -111q0 -63 -45 -108t-108 -45q-66 0 -111 45t-45 108z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 0l137 418l867 866l280 -280l-866 -867zM287 407.5q0 -12.5 10 -22.5q8 -8 22 -8q12 0 21 8l690 690q20 20 0 43q-10 10 -22.5 10t-20.5 -10l-690 -688q-10 -10 -10 -22.5zM1102 1382l119 119q35 35 84 35t84 -35l57 -55l55 -57q35 -35 35 -84.5t-35 -83.5l-119 -119z " />
|
||||
<glyph unicode="" horiz-adv-x="1128" d="M0 1001q0 117 44 220.5t121 180.5t180.5 121t219.5 44q117 0 219.5 -44t179 -121t120.5 -180.5t44 -220.5q0 -84 -24.5 -159.5t-65.5 -143.5l-379 -661q-41 -68 -95 -68t-93 68l-381 663q-41 68 -65.5 143t-24.5 158zM285 1001q0 -57 21.5 -108t60.5 -89t89 -59.5 t109 -21.5q57 0 108.5 21.5t89.5 59.5t59.5 89t21.5 108t-21.5 108.5t-59.5 90.5t-89 60.5t-109 21.5q-59 0 -109 -21.5t-89 -60.5t-60.5 -90t-21.5 -109z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44v1118q-117 0 -218.5 -44 t-177 -120t-119.5 -177t-44 -218z" />
|
||||
<glyph unicode="" horiz-adv-x="1130" d="M0 535q0 86 23.5 161.5t66.5 141.5q20 33 69.5 99.5t108 154.5t113.5 193.5t90 217.5q10 35 37 51.5t57 12.5q31 4 57.5 -12.5t36.5 -51.5q33 -113 89.5 -218t115 -193t107.5 -154.5t69 -99.5q43 -66 66.5 -141.5t23.5 -161.5q0 -117 -44 -220.5t-120.5 -180.5t-180 -121 t-220.5 -44t-220 44t-180 121t-121 180.5t-44 220.5zM248 410q0 -59 41 -100.5t100 -41.5t100 41t41 101q0 43 -22 75q-6 8 -18.5 24.5t-26.5 39t-28.5 48.5t-22.5 54q-4 20 -23 17q-18 4 -24 -17q-8 -29 -21.5 -54.5t-28 -48t-27 -38.5t-18.5 -25q-23 -33 -22 -75z" />
|
||||
<glyph unicode="" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h1075q4 0 10.5 -1t10.5 -1l-191 -191h-905q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v445l193 192v-637q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5 h-1075q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM631 324l108 329l652 652l221 -222l-651 -651zM866 629q6 -8 17 -8q10 0 16 8l512 510q18 18 0 35q-18 16 -35 0l-510 -510q-18 -18 0 -35zM1501 1415l92 94q29 29 68 29t65 -29l46 -45l45 -45 q27 -29 27.5 -66.5t-27.5 -66.5l-95 -92z" />
|
||||
<glyph unicode="" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h836q-6 -31 -6 -63v-52q-164 -20 -310 -78h-520q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v111q16 10 31.5 21.5t32.5 27.5l129 127v-287q0 -63 -25 -118.5 t-67 -97.5t-97 -66.5t-119 -24.5h-1075q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM385 388.5v37.5q0 166 56.5 312.5t173 256t293.5 173t419 65.5v231q0 57 28.5 69.5t69.5 -28.5l392 -391q27 -25 26 -65q0 -39 -26 -64l-392 -391q-41 -41 -69.5 -28.5 t-28.5 69.5v260q-207 0 -364.5 -43t-266 -116.5t-170 -174t-77.5 -215.5q-4 -27 -31 -27q-25 0 -29 27q-4 23 -4 42.5z" />
|
||||
<glyph unicode="" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h1075q27 0 52 -6l-187 -187h-940q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v326l193 192v-518q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5h-1075 q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM385 966.5q0 32.5 23 55.5l98 98q23 23 55.5 23t54.5 -23l340 -340l654 656q23 23 56.5 22.5t55.5 -22.5l99 -99q23 -23 22.5 -55.5t-22.5 -54.5l-711 -711l-98 -98q-23 -23 -55.5 -23t-55.5 23l-100 98l-393 395 q-23 23 -23 55.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 25 18 43l256 256q27 27 45.5 19.5t18.5 -46.5v-170h360v359h-172q-37 0 -45 18.5t19 44.5l256 256q18 18 43 19q25 0 43 -19l256 -256q27 -27 19.5 -45t-46.5 -18h-172v-359h361v170q0 39 18 46.5t45 -19.5l256 -256q18 -18 18 -43t-18 -43l-256 -256 q-27 -27 -45 -19.5t-18 46.5v176h-361v-365h172q39 0 47 -18.5t-20 -44.5l-256 -256q-18 -18 -43 -19q-25 0 -43 19l-256 256q-27 27 -20 45t46 18h172v365h-360v-176q0 -39 -18.5 -46.5t-45.5 19.5l-256 256q-18 18 -18 43z" />
|
||||
<glyph unicode="" horiz-adv-x="1075" d="M0 76q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5v-1382zM307.5 768q-0.5 27 16.5 43l653 707q14 18 41 18q6 0 22 -4q35 -18 35 -59v-1412q0 -41 -35 -57q-39 -14 -63 14l-653 705 q-16 18 -16.5 45z" />
|
||||
<glyph unicode="" d="M0 76q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5v-1382zM307.5 768q-0.5 27 16.5 43l653 707q14 18 41 18q6 0 22 -4q35 -18 35 -59v-1412q0 -41 -35 -57q-39 -14 -63 14l-653 705 q-16 18 -16.5 45zM1075.5 768q-0.5 27 16.5 43l653 707q14 18 41 18q6 0 22 -4q35 -18 35 -59v-1412q0 -41 -35 -57q-39 -14 -63 14l-653 705q-16 18 -16.5 45z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 767q0 26 16 44l654 707q14 18 41 18q10 0 22 -6q35 -14 35 -57v-1412q0 -41 -35 -57q-37 -16 -63 14l-654 705q-16 18 -16 44zM768 767q0 26 16 44l654 707q14 18 41 18q10 0 22 -6q35 -14 35 -57v-1412q0 -41 -35 -57q-37 -16 -63 14l-654 705q-16 18 -16 44z" />
|
||||
<glyph unicode="" horiz-adv-x="1349" d="M0 70v1396q0 39 35 60q37 23 69 0l1211 -697q35 -25 35 -61q0 -37 -35 -61l-1211 -697q-16 -10 -34 -10t-35 10q-35 20 -35 60z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 70v1396q0 29 20.5 49.5t49.5 20.5h489q29 0 49.5 -20.5t20.5 -49.5v-1396q0 -29 -20.5 -49.5t-49.5 -20.5h-489q-29 0 -49.5 20.5t-20.5 49.5zM907 70v1396q0 29 20.5 49.5t49.5 20.5h489q29 0 49.5 -20.5t20.5 -49.5v-1396q0 -29 -20.5 -49.5t-49.5 -20.5h-489 q-29 0 -49.5 20.5t-20.5 49.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 70v1396q0 29 20.5 49.5t49.5 20.5h1396q29 0 49.5 -20.5t20.5 -49.5v-1396q0 -29 -20.5 -49.5t-49.5 -20.5h-1396q-29 0 -49.5 20.5t-20.5 49.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM768 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57z" />
|
||||
<glyph unicode="" d="M0 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM768 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM1536 76 q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5v-1382z" />
|
||||
<glyph unicode="" horiz-adv-x="1075" d="M0 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM768 76q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5 v-1382z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 70v198q0 29 20.5 49.5t49.5 20.5h1396q29 0 49.5 -20.5t20.5 -49.5v-198q0 -29 -20.5 -49.5t-49.5 -20.5h-1396q-29 0 -49.5 20.5t-20.5 49.5zM6 594q-18 43 14 76l699 698q20 20 49 20.5t49 -20.5l699 -698q33 -33 14 -76q-16 -43 -64 -43h-1396q-47 0 -64 43z" />
|
||||
<glyph unicode="" horiz-adv-x="964" d="M0 765q0 38 29 66l671 674q29 29 68 29t68 -29l100 -100q29 -29 29 -68t-29 -67l-508 -510l508 -500q29 -29 29 -66.5t-29 -66.5l-100 -102q-29 -29 -68 -29t-68 29l-671 673q-29 29 -29 67z" />
|
||||
<glyph unicode="" horiz-adv-x="964" d="M0 194.5q0 38.5 29 67.5l508 508l-508 502q-29 29 -29 66.5t29 66.5l100 102q29 29 68 29t67 -29l672 -673q29 -29 29 -68t-29 -68l-672 -671q-29 -29 -67.5 -29t-67.5 29l-100 100q-29 29 -29 67.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM338 688q0 -33 33 -33h313v-344q0 -33 33 -32h164q33 0 32 32v344h314 q12 0 22.5 9.5t10.5 23.5v158q0 14 -10.5 23.5t-22.5 9.5h-314v346q0 33 -32 32h-164q-33 0 -33 -32v-346h-313q-33 0 -33 -33v-158z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM338 688q0 -33 33 -33h856q12 0 22.5 9.5t10.5 23.5v158q0 14 -10.5 23.5 t-22.5 9.5h-856q-33 0 -33 -33v-158z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 770q0 154 58.5 301.5t174.5 263.5q117 117 264.5 175.5t301 58.5t301 -58.5t264.5 -175.5t175 -264t58 -301t-58 -301t-175 -264t-264.5 -175.5t-301 -58.5t-301 58.5t-264.5 175.5t-175 264t-58 301zM385 505q0 -13 10 -24l115 -116q10 -10 23.5 -10.5t23.5 10.5 l244 243l219 -221q10 -10 23.5 -10t23.5 10l113 113q23 23 0 47l-222 219l246 246q23 23 0 47l-117 115q-25 25 -47 0l-243 -244l-222 221q-10 10 -23 10t-24 -10l-110 -113q-25 -23 0 -47l219 -219l-242 -244q-10 -10 -10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 718q0 -20 14 -34l319 -319q14 -14 38 -24.5t44 -10.5h56q20 0 43.5 10 t38.5 25l550 550q14 14 14.5 34t-14.5 34l-104 107q-16 14 -35.5 14t-34.5 -14l-452 -453q-14 -14 -33.5 -14t-34.5 14l-221 221q-14 14 -33.5 14t-36.5 -14l-104 -106q-14 -14 -14 -34z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM532 1100l95 -115q4 -8 20 -12q12 0 23 6l10 8t27.5 17.5t39 16.5t46.5 7 q41 0 69.5 -22.5t28.5 -57.5q0 -37 -24.5 -64.5t-61.5 -60.5q-23 -18 -46.5 -40.5t-43 -51.5t-31.5 -63.5t-12 -79.5v-64q0 -12 9 -21t21 -9h164q12 0 20.5 9t8.5 21v51q0 39 25.5 66.5t62.5 60.5q25 20 49.5 46t46 57t34.5 69.5t13 90.5q0 68 -27.5 121t-73.5 87.5 t-103.5 53t-114.5 18.5q-63 0 -113.5 -16.5t-85.5 -35.5t-53 -35.5t-20 -18.5q-16 -16 -3 -39zM672 252q0 -12 9 -21.5t21 -9.5h164q12 0 20.5 9.5t8.5 21.5v156q0 12 -8 21t-21 9h-164q-12 0 -21 -9t-9 -21v-156z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM573 858q0 -29 29 -29h86v-409h-78q-12 0 -21 -8.5t-9 -20.5v-139q0 -12 9 -21.5 t21 -9.5h402q12 0 20 9.5t8 21.5v139q0 29 -28 29h-78v577q0 12 -8 21.5t-21 9.5h-303q-12 0 -20.5 -9t-8.5 -22v-139zM686 1151q0 -12 9.5 -21.5t21.5 -9.5h188q12 0 20.5 9.5t8.5 21.5v166q0 29 -29 29h-188q-12 0 -21.5 -8.5t-9.5 -20.5v-166z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 692v154q0 16 11.5 26.5t27.5 10.5h164q18 84 59 158.5t99.5 133t133 99.5t158.5 59v164q0 39 39 39h154q16 0 26.5 -11.5t10.5 -27.5v-164q84 -18 158.5 -59t133 -99.5t99.5 -133t59 -158.5h164q16 0 27.5 -10.5t11.5 -26.5v-154q0 -39 -39 -39h-164 q-18 -84 -59 -158.5t-99.5 -133t-133 -99.5t-158.5 -59v-164q0 -16 -10.5 -27.5t-26.5 -11.5h-154q-39 0 -39 39v164q-84 18 -158.5 59t-133 99.5t-99.5 133t-59 158.5h-164q-39 0 -39 39zM365 653q29 -106 105.5 -183t182.5 -105v174q0 16 11.5 26t27.5 10h154 q16 0 26.5 -10t10.5 -26v-174q106 29 183 105.5t105 182.5h-172q-39 0 -38 39v154q0 16 11 26.5t27 10.5h172q-29 106 -105.5 183t-182.5 105v-172q0 -16 -10.5 -27t-26.5 -11h-154q-39 0 -39 38v172q-106 -29 -183 -105.5t-105 -182.5h174q16 0 26 -10.5t10 -26.5v-154 q0 -16 -10 -27.5t-26 -11.5h-174z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM451 573.5q0 16.5 12 28.5l166 166l-166 166q-12 12 -12 28.5t12 28.5l112 113q29 29 58 0l166 -166l166 166q29 29 57 0l113 -113q29 -29 0 -57l-166 -166l166 -166 q29 -29 0 -57l-113 -113q-12 -12 -28.5 -12t-28.5 12l-166 166l-166 -166q-12 -12 -28.5 -12t-29.5 12l-112 113q-12 12 -12 28.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM332 717.5q0 17.5 10 27.5l115 115q10 10 27.5 10t27.5 -10l178 -180q29 -25 58 0l337 340q10 10 27.5 10t28.5 -10l114 -115q10 -10 10.5 -27.5t-10.5 -27.5l-409 -410 q-12 -12 -32.5 -20t-37.5 -8h-114q-16 0 -37 8t-33 20l-250 250q-10 10 -10 27.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -84 23.5 -160t66.5 -141l770 770q-66 43 -141.5 66.5t-159.5 23.5 q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM498 297q66 -41 141.5 -64.5t159.5 -23.5q117 0 218 44t177 120t120 177t44 218q0 84 -23.5 160t-64.5 141z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 768q0 39 29 68l671 673q29 29 68 29t68 -29l100 -100q29 -29 29 -67.5t-29 -67.5l-338 -338h842q41 0 68.5 -27.5t27.5 -68.5v-144q0 -39 -27.5 -66.5t-66.5 -27.5h-844l338 -338q29 -29 29 -67.5t-29 -67.5l-100 -100q-29 -29 -68 -29t-68 29l-671 671q-29 29 -29 68 z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 698v144q0 39 27.5 66.5t66.5 27.5h844l-338 338q-29 29 -29 67.5t29 67.5l100 100q29 29 68 29t68 -29l671 -673q29 -29 29 -67t-29 -67l-671 -673q-29 -29 -68 -29t-68 29l-100 100q-29 29 -29 68t29 67l338 338h-844q-39 0 -66.5 27.5t-27.5 68.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M-1 768q-1 39 28 68l673 671q29 29 68 29t68 -29l671 -671q29 -29 29 -68t-29 -68l-100 -100q-29 -29 -66.5 -29t-66.5 29l-340 338v-844q0 -39 -27.5 -66.5t-66.5 -27.5h-144q-41 0 -67.5 27.5t-26.5 66.5v844l-338 -338q-29 -29 -67.5 -29t-67.5 29l-100 100 q-29 29 -30 68z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 766q0 39 29 68l100 100q29 29 68 29t67 -29l338 -338v844q0 39 27.5 66.5t66.5 27.5h144q41 0 67.5 -27.5t26.5 -66.5v-844l340 338q29 29 66.5 29t66.5 -29l102 -100q29 -29 29 -68t-29 -68l-673 -671q-29 -29 -68 -29t-68 29l-671 671q-29 29 -29 68z" />
|
||||
<glyph unicode="" d="M0 135q0 209 71.5 393.5t218 322.5t371 219t531.5 83v293q0 72 36 87t89 -36l491 -493q35 -33 35 -82q0 -47 -35 -82l-491 -494q-51 -51 -88 -35.5t-37 86.5v330q-262 -2 -461 -56.5t-336 -147.5t-215 -219t-98 -271q-4 -33 -37 -33h-2q-33 0 -37 33q-6 51 -6 102z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 86v522q0 53 26.5 64.5t65.5 -25.5l166 -166l274 275q12 12 31 12t33 -12l160 -160q12 -14 12 -32.5t-12 -31.5l-275 -274l166 -166q39 -39 27 -65.5t-66 -26.5h-520q-37 0 -61 25q-27 27 -27 61zM768 972.5q0 18.5 12 31.5l275 274l-166 166q-39 39 -27 65.5t66 26.5 h520q37 0 61 -25q27 -27 27 -61v-522q0 -53 -26.5 -64.5t-65.5 25.5l-166 166l-274 -273q-12 -14 -31 -14t-33 14l-160 158q-12 14 -12 32.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 202.5q0 18.5 12 33.5l275 272l-166 166q-39 39 -27 65.5t66 26.5h520q38 0 61 -25q27 -27 27 -61v-522q0 -53 -26.5 -64.5t-65.5 27.5l-166 166l-274 -275q-12 -14 -31 -14t-33 14l-160 160q-12 12 -12 30.5zM768 854v522q0 53 26.5 64.5t65.5 -27.5l166 -166l274 275 q12 14 31 14t33 -14l160 -160q12 -12 12 -30.5t-12 -33.5l-275 -272l166 -166q39 -39 27 -65.5t-66 -26.5h-520q-41 0 -61 25q-27 27 -27 61z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 696v144q0 39 27.5 66.5t66.5 27.5h508v506q0 41 26.5 68.5t67.5 27.5h144q39 0 66.5 -27.5t27.5 -66.5v-508h508q39 0 66.5 -27.5t27.5 -66.5v-144q0 -39 -27.5 -66.5t-66.5 -27.5h-508v-506q0 -41 -27.5 -68.5t-66.5 -27.5h-144q-39 0 -66.5 27.5t-27.5 66.5v508 h-506q-41 0 -68.5 26.5t-27.5 67.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 696v144q0 39 27.5 66.5t66.5 27.5h1348q39 0 66.5 -27.5t27.5 -66.5v-144q0 -39 -27.5 -66.5t-66.5 -27.5h-1346q-41 0 -68.5 26.5t-27.5 67.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1427" d="M2 1018q-10 37 10 72l72 124q20 35 58 44.5t73 -9.5l332 -192v383q0 41 27.5 68.5t68.5 27.5h141q41 0 69 -27.5t28 -66.5v-385l331 192q35 18 73 9t58 -44l70 -124q20 -35 11 -72t-44 -57l-333 -193l333 -193q35 -20 44.5 -57t-9.5 -72l-72 -124q-20 -35 -58 -44.5 t-73 9.5l-331 192v-383q0 -41 -28 -68.5t-69 -27.5h-141q-41 0 -68.5 27.5t-27.5 66.5v385l-332 -192q-35 -20 -73 -10t-58 45l-72 124q-18 35 -9 72t44 57l334 193l-334 193q-35 20 -45 57z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM672 1274l14 -739q4 -29 31 -29h162q12 0 21 8t9 21l17 739q0 10 -8 22q-8 8 -23 9 h-193q-14 0 -22 -9q-8 -12 -8 -22zM680 236q0 -12 8 -21.5t21 -9.5h180q12 0 21.5 9t9.5 22v174q0 12 -9.5 21t-21.5 9h-180q-12 0 -20.5 -9t-8.5 -21v-174z" />
|
||||
<glyph unicode="" horiz-adv-x="1880" d="M0 588v391q0 16 11.5 27.5t27.5 11.5h539q-57 0 -107.5 21.5t-87.5 58.5t-58.5 87t-21.5 107t21.5 107.5t58.5 87.5t87 58.5t108 21.5q61 0 115.5 -24.5t88.5 -69.5l158 -203l158 203q35 45 89 69.5t116 24.5q57 0 107 -21.5t87 -58.5t58.5 -87t21.5 -108 q0 -57 -21.5 -107t-58.5 -87t-87 -58.5t-107 -21.5h538q16 0 27.5 -11.5t11.5 -27.5v-391q0 -16 -11 -27.5t-28 -11.5h-117v-432q0 -47 -34.5 -82t-83.5 -35h-1332q-49 0 -82.5 35t-33.5 82v432h-119q-16 0 -27.5 11t-11.5 28zM461 1292q0 -49 33.5 -82.5t83.5 -33.5h237 l-151 196q-10 10 -32 24.5t-54 14.5q-49 0 -83 -35t-34 -84zM743 221q0 -33 24 -56.5t56 -23.5h234q33 0 56.5 23.5t23.5 56.5v797h-394v-797zM1065 1176h238q49 0 82.5 33.5t33.5 82.5t-33.5 84t-82.5 35q-33 0 -54.5 -14.5t-31.5 -24.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M6 135q20 53 56 89t71 65q29 23 50.5 43t27.5 43q2 6 0 12t-10 25q-6 12 -11.5 27.5t-9.5 35.5q-25 160 13 295t120 242.5t195 185.5t235 121q82 29 179.5 34t203.5 7q61 0 127 2t127.5 11t113.5 28.5t85 54.5q20 20 38.5 41t38 36t43 24.5t58.5 9.5q23 0 42.5 -11.5 t29.5 -31.5q66 -133 83 -281.5t-18 -322.5q-90 -487 -579 -740q-231 -123 -467 -123q-154 0 -307 54q-23 8 -45.5 20t-44.5 25q-29 16 -57.5 30.5t-49.5 14.5q-10 -2 -23.5 -17.5t-27.5 -35t-26.5 -41t-20.5 -33.5q-14 -23 -26.5 -41.5t-22.5 -32.5q-25 -31 -64 -31h-4 q-29 2 -49.5 12.5t-33.5 24.5t-20.5 28.5t-9.5 22.5q-27 37 -10 78zM401 507.5q2 -32.5 29 -54.5q20 -18 51 -19q37 0 62 27q90 102 181 175t191.5 117t212 62t242.5 14q33 -4 57.5 19.5t26.5 56.5q2 35 -20.5 58.5t-57.5 25.5q-147 6 -277 -16.5t-247 -73.5t-223.5 -133 t-206.5 -199q-23 -27 -21 -59.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1445" d="M0 442q0 123 63.5 254t174.5 238q10 16 33.5 13t31.5 -21q4 -16 0 -29q-8 -35 -14 -84t-4 -101.5t13 -101.5t38 -84q31 -37 78 -49q-49 154 -40 293t49 259t101.5 217t118.5 167t98 106.5t43 39.5q25 18 47 0q10 -8 13.5 -21.5t-0.5 -24.5q0 -2 -15.5 -42.5t-21.5 -102 t7 -134.5t71 -136q37 -43 67.5 -85t52 -93.5t34 -120t12.5 -162.5q0 -33 -31 -39q-12 -2 -24.5 4t-16.5 19q-14 31 -42 49t-63 18q-47 0 -79.5 -33.5t-32.5 -81.5q0 -121 156 -120q98 0 153 63q37 43 53.5 101.5t20.5 114.5t2 102.5t-4 62.5q-6 12 0 29q8 18 31.5 21 t35.5 -13q111 -106 173.5 -237.5t62.5 -254.5q0 -109 -51.5 -195.5t-145.5 -148t-228 -95.5t-298 -34t-298 34t-228.5 95.5t-145.5 148.5t-51 195z" />
|
||||
<glyph unicode="" d="M0 722q0 44 25 83q78 125 178 224t216 168t242.5 104.5t260.5 35.5q135 0 262 -35.5t241.5 -103.5t215 -167t180.5 -226q23 -39 22.5 -83t-22.5 -81q-80 -127 -180.5 -226.5t-215 -167t-241.5 -103t-262 -35.5q-133 0 -260 35.5t-243 104t-216.5 168t-177.5 224.5 q-25 37 -25 81zM154 723q66 -104 149.5 -190.5t182 -145.5t208 -92t228.5 -33t228.5 33t207.5 92t182 145t150 191q-80 129 -187.5 226.5t-236.5 156.5q51 -59 79.5 -133t28.5 -160q0 -96 -35.5 -179t-99 -146.5t-147.5 -99.5t-179 -36q-96 0 -179 36t-146.5 99.5t-99 146.5 t-35.5 179q0 78 25.5 148.5t68.5 128.5q-117 -59 -217.5 -152.5t-175.5 -214.5zM614 813q0 -23 16.5 -40t41.5 -17t41 17.5t16 39.5q0 78 53.5 131t130.5 53q25 0 41.5 17.5t16.5 40.5q0 25 -16.5 41t-41.5 16q-61 0 -116.5 -23.5t-95 -63.5t-63.5 -95.5t-24 -116.5z" />
|
||||
<glyph unicode="" d="M0 767q0 44 25 83q78 125 178 224.5t216 168t242.5 104t260.5 35.5q53 0 105 -7t103 -17l89 158q8 14 24 18q12 6 29 -2l133 -76q14 -8 19.5 -23.5t-3.5 -29.5l-774 -1383q-6 -14 -22 -18q-4 -2 -11 -2q-6 0 -18 4l-135 76q-14 8 -18.5 23.5t3.5 29.5l66 115 q-145 68 -269 178.5t-218 259.5q-25 37 -25 81zM154 768q82 -131 191.5 -229.5t240.5 -157.5l57 104q-86 63 -138 159.5t-52 213.5q0 78 25.5 148.5t68.5 130.5q-117 -61 -217.5 -153.5t-175.5 -215.5zM614 858q0 -23 16.5 -40t41.5 -17t41 17.5t16 39.5q0 78 53.5 131 t130.5 53q25 0 41.5 17.5t16.5 40.5q0 25 -16.5 41t-41.5 16q-61 0 -116.5 -23.5t-95 -63.5t-63.5 -95.5t-24 -116.5zM928 154l88 159q209 25 382 145t292 310q-109 170 -263 283l76 137q92 -66 172 -150t146 -188q23 -39 22.5 -83t-22.5 -81q-160 -254 -392.5 -392 t-500.5 -140zM1081 430l285 510q4 -20 6 -39.5t2 -42.5q0 -74 -21.5 -140.5t-60.5 -121.5t-93 -98t-118 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="1775" d="M0 92q0 20 6 39t17 35l768 1331q16 27 39.5 48.5t56.5 21.5t56.5 -21.5t39.5 -48.5l770 -1331q10 -16 16.5 -34.5t6.5 -39.5q0 -49 -38 -70.5t-81 -21.5h-1538q-43 0 -81 21.5t-38 70.5zM770 1114l12 -633q0 -14 10.5 -24.5t24.5 -10.5h139q14 0 24.5 10.5t10.5 24.5 l15 633q0 14 -10.5 24.5t-24.5 10.5h-166q-16 0 -25.5 -10.5t-9.5 -24.5zM776 168q0 -16 10.5 -25.5t24.5 -9.5h154q35 0 34 35v147q0 16 -9 26.5t-25 10.5h-154q-14 0 -24.5 -10t-10.5 -27v-147z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 541v4q0 31 23 57l30 29q20 25 56 24q8 0 10 -2l280 -32q39 63 93.5 134.5t125.5 151.5l-583 457q-31 25 -31 59v4q0 31 23 58l57 57q27 23 57 23h13.5t13.5 -4l803 -293l151 149q70 70 161 110t167 40q72 0 109 -37q20 -18 28 -46t8 -63q0 -76 -38.5 -167t-110.5 -160 l-150 -152l293 -803q6 -12 6 -26q0 -33 -24 -58l-58 -57q-23 -25 -57 -25h-4q-35 4 -59 31l-455 586q-82 -72 -153.5 -126t-135.5 -93l35 -281v-10q0 -33 -22 -55l-31 -31q-23 -23 -58 -23h-4q-39 4 -59 31l-205 272l-274 207q-29 25 -31 60z" />
|
||||
<glyph unicode="" horiz-adv-x="1566" d="M0 117v1147q0 47 35 81.5t82 34.5h39v13q0 31 10 62.5t32.5 56t59.5 40t90 15.5t90 -15.5t59.5 -40t33 -56.5t10.5 -62v-13h49v13q0 31 10 62.5t32.5 56t59.5 40t90 15.5t90 -15.5t60.5 -40t34 -56.5t10.5 -62v-13h49v13q0 31 10.5 62.5t33 56t59 40t90.5 15.5 q53 0 90 -15.5t59.5 -40t32.5 -56.5t10 -62v-13h39q47 0 82 -34.5t35 -81.5v-1147q0 -47 -35 -82t-82 -35h-1333q-47 0 -82 35t-35 82zM158 158h282v250h-282v-250zM158 446h282v252h-282v-252zM158 737h282v252h-282v-252zM272 1165q0 -57 76 -57t76 57v228q0 57 -76 57 t-76 -57v-228zM479 158h285v250h-285v-250zM479 446h285v252h-285v-252zM479 737h285v252h-285v-252zM709 1165q0 -31 16 -44t57 -13t58.5 13.5t17.5 43.5v228q0 29 -17.5 43t-58.5 14t-57 -14.5t-16 -42.5v-228zM803 158h284v250h-284v-250zM803 446h284v252h-284v-252z M803 737h284v252h-284v-252zM1126 158h283v250h-283v-250zM1126 446h283v252h-283v-252zM1126 737h283v252h-283v-252zM1143 1165q0 -57 76 -57t75 57v228q0 57 -75 57q-76 0 -76 -57v-228z" />
|
||||
<glyph unicode="" d="M0 252v154q0 16 11.5 27t27.5 11h219q51 0 99.5 31t93.5 83t90 119.5t90 139.5q55 88 114.5 175t127 156t147.5 110.5t180 41.5h203v185q0 41 24.5 49t59.5 -21l334 -278q23 -18 22 -45q0 -29 -22 -47l-334 -277q-35 -29 -59.5 -20.5t-24.5 49.5v174h-203 q-53 0 -100 -31.5t-93 -84t-91.5 -120t-90.5 -139.5q-55 -88 -113.5 -174t-126 -154.5t-148.5 -110.5t-179 -42h-219q-16 0 -27.5 11.5t-11.5 27.5zM0 1108v154q0 39 39 38h219q68 0 127 -20t111.5 -56t97.5 -84t88 -104q-61 -90 -117 -178q-4 -8 -9 -14t-9 -15 q-70 102 -139.5 172t-149.5 70h-219q-16 0 -27.5 10.5t-11.5 26.5zM778 481q29 41 56.5 85t56.5 87q4 10 10 17.5t10 17.5q70 -102 139.5 -170.5t149.5 -68.5h203v190q0 41 24.5 49t59.5 -20l334 -277q23 -18 22 -47q0 -27 -22 -45l-334 -279q-35 -29 -59.5 -20.5 t-24.5 49.5v168h-203q-68 0 -127 20.5t-110.5 56.5t-97.5 84t-87 103z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 866q0 145 76 272.5t206 222.5t303.5 150.5t372.5 55.5t373 -55.5t304 -150.5t206 -222t76 -273q0 -145 -76 -272t-206 -222.5t-304 -150.5t-373 -55q-92 0 -180 12q-176 -139 -411 -192q-25 -4 -50.5 -8.5t-54.5 -8.5q-16 -2 -27.5 6.5t-15.5 24.5t5 26.5t20 20.5 q23 23 43 44.5t36.5 51t30 69.5t23.5 97q-174 98 -275.5 241.5t-101.5 315.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1566" d="M0 621v288q0 16 11.5 27.5t27.5 11.5h391q16 0 28.5 -11t12.5 -28v-288q0 -29 22.5 -60t63.5 -58.5t98.5 -45t128.5 -17.5q70 0 128.5 17.5t99.5 45t63.5 58.5t22.5 60v288q0 39 39 39h391q16 0 27.5 -11t11.5 -28v-288q0 -135 -61.5 -254t-168 -207t-249 -139.5 t-304.5 -51.5q-164 0 -306 51.5t-248.5 139.5t-168 206.5t-61.5 254.5zM0 1106v391q0 16 11.5 27.5t27.5 11.5h391q16 0 28.5 -11.5t12.5 -27.5v-391q0 -16 -12.5 -27.5t-28.5 -11.5h-391q-16 0 -27.5 11.5t-11.5 27.5zM1098 1106v391q0 16 11 27.5t28 11.5h391 q16 0 27.5 -11.5t11.5 -27.5v-391q0 -16 -11.5 -27.5t-27.5 -11.5h-391q-39 0 -39 39z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M-1 355.5q-1 37.5 28 66.5l673 674q29 29 68 28.5t68 -28.5l671 -674q29 -29 29 -67t-29 -66l-100 -103q-29 -29 -68 -28.5t-67 28.5l-508 510l-500 -510q-29 -29 -67.5 -28.5t-67.5 28.5l-100 103q-29 29 -30 66.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 918.5q0 37.5 29 66.5l100 102q29 29 68 29t67 -29l508 -509l500 509q29 29 67.5 29t67.5 -29l100 -102q29 -29 30 -66.5t-28 -66.5l-673 -674q-29 -29 -68 -28.5t-68 28.5l-671 674q-29 29 -29 66.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M2.5 1038.5q-12.5 30.5 28.5 75.5l385 424q25 29 63 29q39 0 64 -29l385 -424q41 -45 28.5 -75.5t-67.5 -30.5h-250v-680h174q6 -10 12 -19.5t17 -19.5l252 -281h-695q-33 0 -56.5 23.5t-23.5 56.5v920h-249q-55 0 -67.5 30.5zM823 1526h695q33 0 56 -22.5t23 -57.5v-918 h250q55 0 67.5 -30.5t-28.5 -75.5l-385 -424q-25 -29 -63 -29q-39 0 -64 29l-385 424q-41 45 -28.5 75.5t67.5 30.5h250v678h-174q-6 10 -12.5 20.5t-14.5 20.5z" />
|
||||
<glyph unicode="" d="M0 1421v76q0 39 39 39h231q16 0 38 -4t36 -8q6 -4 14.5 -14.5t15.5 -23.5t12 -26.5t7 -21.5l27 -125h1347q35 0 58 -27t16 -59l-108 -578q-6 -25 -26.5 -42t-49.5 -17h-1084l35 -168q4 -16 17.5 -26.5t29.5 -10.5h856q16 0 27.5 -11.5t11.5 -27.5v-78q0 -16 -11 -26.5 t-28 -10.5h-163h-652h-104q-16 0 -36.5 3.5t-35.5 9.5q-6 2 -14 13t-15.5 24.5t-12.5 27t-7 21.5l-215 1016q-4 16 -17.5 26t-29.5 10h-170q-39 0 -39 39zM582 115q0 47 33.5 81.5t80.5 34.5q49 0 83 -34.5t34 -81.5t-34 -81t-83 -34q-47 0 -80.5 34t-33.5 81zM1233 115 q0 47 33.5 81.5t81.5 34.5q47 0 80.5 -34.5t33.5 -81.5t-33.5 -81t-80.5 -34t-81 34t-34 81z" />
|
||||
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h692q47 0 81 -34t34 -81t33.5 -80.5t80.5 -33.5h693q47 0 80.5 -35t33.5 -82v-1075q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81z" />
|
||||
<glyph unicode="" d="M0 379v1042q0 47 34 81t81 34h692q47 0 81 -34t34 -81t33.5 -80.5t80.5 -33.5h443q47 0 80.5 -35t33.5 -82v-221h-1228q-37 0 -72 -12.5t-65.5 -34t-53 -51t-35.5 -64.5zM43 0l246 760q6 23 30.5 39t47.5 16h1476l-260 -758q-6 -23 -30.5 -40t-47.5 -17h-1462z" />
|
||||
<glyph unicode="" horiz-adv-x="798" d="M2 368.5q10 22.5 57 22.5h203v754h-203q-47 0 -57 22.5t25 57.5l319 319q23 23 53 23q31 0 54 -23l321 -319q33 -35 22.5 -57.5t-57.5 -22.5h-202v-754h202q47 0 57.5 -22.5t-24.5 -57.5l-319 -319q-23 -23 -54 -23t-53 23l-321 319q-33 35 -23 57.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 729q0 31 23 53l319 322q35 33 57.5 23.5t22.5 -56.5v-205h754v203q0 47 22.5 57.5t56.5 -22.5l320 -322q23 -23 22 -53q0 -31 -22 -53l-320 -322q-35 -33 -57 -22.5t-22 57.5v203h-754v-203q0 -47 -22.5 -57t-57.5 24l-319 320q-23 23 -23 53z" />
|
||||
<glyph unicode="" d="M0 115v1306q0 47 35 81t82 34h1612q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1612q-47 0 -82 34t-35 81zM154 154h1536v1228h-1536v-1228zM307 264v363h203v-363h-203zM649 264v776h201v-776h-201zM993 264v592h203v-592h-203zM1333 264v922h203v-922 h-203z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t73 15.5h1153q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1153q-39 0 -73.5 15.5t-60 41t-41 60.5t-15.5 76zM201 559q80 -111 198.5 -169t259.5 -58q96 0 184.5 26.5t160 73.5 t124 112.5t76.5 143.5q82 6 129 57q14 14 4 33q-8 18 -30 15h-4q23 23 30 45q8 20 -8 32q-14 14 -33 2q-8 -4 -29.5 -10t-45.5 -6q-4 0 -7.5 1t-7.5 1q0 2 -1 4t-1 4q-16 61 -57 110.5t-94 72.5q4 4 6 8t6 8q6 16 0 33q-2 6 -12.5 16t-34.5 8q-2 4 -6 8q-12 12 -25 9 q-25 -4 -49 -13l-2 2q-14 8 -31 -2q-59 -37 -98 -100t-68 -135q-35 31 -57 41q-61 35 -129 63.5t-154 61.5q-14 4 -24 -4q-10 -6 -15 -21q-2 -27 8.5 -58.5t38.5 -62.5q-25 -6 -20 -32q12 -68 68 -101l-13 -12q-14 -14 -4 -33q4 -12 26.5 -37.5t65.5 -38.5q-6 -12 -6 -22 t2 -14q6 -33 39 -50q-37 -25 -79 -34t-85 -5.5t-83 20.5t-70 46q-8 8 -19.5 8t-19.5 -8q-23 -18 -4 -39z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M2 193v1150q0 39 15.5 75t41 61.5t60.5 41t74 15.5h1153q80 0 136 -56.5t56 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-74 -15.5h-486v643h172q12 0 21.5 8t9.5 21l12 168q0 14 -8 24q-10 10 -23 10h-184v74q0 41 10.5 54.5t53.5 13.5q25 0 55.5 -4t58.5 -11 q6 0 13.5 1.5t11.5 5.5q10 6 14 22l23 162q4 29 -25 35q-90 25 -188 24q-301 0 -301 -293v-84h-103q-33 0 -32 -32v-168q0 -12 9 -21.5t23 -9.5h103v-643h-393q-39 0 -74 15.5t-60.5 41t-41 60.5t-15.5 76z" />
|
||||
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 160h1536v114h-1536v-114zM154 1145h1536v231h-957l-14 -92h-565v-139zM266 1341h316v93h-316v-93zM557 709q0 -76 28.5 -142.5t78 -116 t116 -78t142.5 -28.5t142 28.5t115.5 78t78 116t28.5 142.5t-28.5 142.5t-78 115.5t-116 77.5t-141.5 28.5q-76 0 -142.5 -28.5t-116 -77.5t-78 -115.5t-28.5 -142.5zM672 709q0 51 19.5 97t53 80t79.5 53t98 19q51 0 97 -19t80 -53t53 -80t19 -97t-19 -97.5t-53 -80 t-80 -53t-97 -19.5t-97.5 19.5t-80 53t-53 79.5t-19.5 98zM743 709q0 -16 12.5 -28.5t28.5 -12.5q18 0 30.5 12.5t12.5 28.5q0 41 28 67.5t67 26.5v2q18 0 30.5 12t12.5 29q0 18 -12.5 30.5t-30.5 12.5q-74 0 -126.5 -53.5t-52.5 -126.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 803.5q-6 111.5 30 230.5t113 228q78 109 179.5 180t209 102t213 17.5t191.5 -74.5q76 -53 121 -134t59 -176.5t-4 -199t-68 -203.5l414 -297l101 139l-105 74q-14 10 -17 27.5t7 32.5l51 69q10 14 26.5 17.5t32.5 -7.5l344 -247q16 -10 18.5 -27.5t-7.5 -32.5l-49 -69 q-10 -14 -27.5 -17.5t-32.5 6.5l-102 76l-101 -139l248 -178q43 -31 52.5 -83t-21.5 -95q-33 -43 -84 -51.5t-94 22.5l-803 573q-78 -80 -170 -130t-186.5 -68.5t-185.5 -2t-167 71.5q-86 61 -133 157.5t-53 208zM230.5 766q7.5 -41 30 -78t58.5 -63q37 -27 79 -36t83 -2 t78 29.5t64 59.5q39 53 41 114.5t-27 114.5q59 -10 116.5 11.5t96.5 74.5q27 37 36 79t2 84t-29.5 79t-59.5 63q-37 27 -79 36t-84 2t-79 -29.5t-63 -59.5q-37 -53 -39 -114.5t26 -114.5q-59 10 -116.5 -12.5t-96.5 -75.5q-27 -37 -36 -79t-1.5 -83z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 801v180q0 8 22.5 15.5t52 11.5t56.5 7t37 3q12 49 37 88q-23 31 -45.5 61.5t-46.5 59.5l-4 10q0 6 20.5 29.5t47 50t50 47t29.5 20.5q2 0 20.5 -13t41 -30.5t43 -34t24.5 -20.5q43 25 90 37q0 8 3 37t7 57.5t10.5 52t16.5 23.5h178q8 0 15.5 -23.5t11.5 -52t7 -57.5 t5 -37q45 -12 86 -35q31 23 62.5 45.5t60.5 46.5l8 4q4 0 27.5 -21.5t49.5 -47t47.5 -49t21.5 -29.5q0 -4 -13.5 -22.5t-30 -40t-32 -41t-19.5 -25.5q23 -39 39 -92q10 -2 37 -5t55.5 -8.5t51 -11.5t22.5 -14v-178q0 -10 -22.5 -16.5t-51 -11.5t-56.5 -7t-36 -4 q-14 -43 -37 -88q23 -31 44.5 -60.5t48.5 -58.5l2 -10q0 -6 -20.5 -30t-47.5 -50.5t-50.5 -47t-29.5 -20.5q-2 0 -20.5 13.5t-41 31t-42 32.5t-25.5 20q-45 -23 -88 -37q0 -10 -3 -37t-8 -56.5t-12.5 -52t-15.5 -22.5h-178q-8 0 -15.5 22.5t-11.5 52t-7 56t-3 37.5 q-45 12 -88 37q-31 -23 -61.5 -46.5t-59.5 -48.5l-10 -2q-4 0 -27.5 20.5t-49 47t-46 50.5t-20.5 30q0 2 13 20.5t29.5 40t31 41t18.5 25.5q-23 43 -39 94q-10 2 -37 5t-55.5 7t-51 10.5t-22.5 14.5zM420 889q0 -37 14.5 -70t39 -57.5t58 -38.5t70.5 -14t70 14t57.5 38.5 t38.5 57.5t14 70t-14 70.5t-38.5 58t-57.5 39t-70 14.5q-76 0 -129 -53t-53 -129zM1114 373q0 6 13.5 13t31 14.5t33.5 12.5t22 7q4 23 9.5 39t15.5 37q-4 4 -13 17t-18.5 27.5t-16.5 28t-7 17.5t18.5 23.5t43 41t47 40t28.5 24.5l8 4q4 0 16.5 -8.5t25.5 -19.5t25.5 -21.5 t16.5 -14.5q35 12 76 19q2 6 9 21.5t16.5 30.5t17.5 27.5t14 12.5q4 0 34 -7t63.5 -18.5t60.5 -23.5t27 -23q0 -23 -5.5 -47t-9.5 -47q16 -12 28.5 -26.5t22.5 -30.5q25 2 49.5 3t47.5 1q8 0 18 -26.5t17.5 -60.5t12.5 -64.5t5 -39.5q0 -6 -13.5 -13t-29.5 -13t-32.5 -12.5 t-22.5 -8.5q-9 -38 -23 -71q2 -6 11.5 -18.5t18.5 -27t16 -27.5t7 -18q0 -4 -18.5 -23.5t-43 -41t-47 -40.5t-28.5 -26l-8 -4q-4 0 -16.5 8.5t-25.5 19.5t-25.5 21.5t-16.5 14.5q-37 -12 -78 -19q-2 -6 -9 -21.5t-15.5 -30.5t-16.5 -27.5t-14 -12.5t-35 7.5t-62.5 18.5 t-60 23.5t-26.5 22.5q0 23 5 47.5t9 46.5q-16 12 -28.5 26.5t-22.5 30.5q-23 -2 -45.5 -3t-44.5 -1h-14.5t-8.5 11q-2 8 -8 35.5t-13.5 58t-12.5 55.5t-5 29zM1192 1264q0 6 12.5 12t29.5 10t33.5 6t22.5 4q10 33 31 64q-2 4 -8 17.5t-12.5 27.5t-11.5 25.5t-5 15.5 q0 6 21.5 22.5t49 35t51.5 32.5t28 14t13 -9t20.5 -21.5t20.5 -23.5t13 -15q14 4 28.5 6t29.5 0h14q2 4 11 16.5t18.5 25.5t17.5 23.5t12 10.5t30 -11.5t55.5 -26t53 -28.5t23.5 -20q0 -4 -4 -15.5t-8 -26t-8.5 -27.5t-6.5 -17q20 -25 39 -60q51 -4 74 -7t29 -18.5t5 -52 t3 -106.5q0 -6 -12.5 -12.5t-28.5 -10.5t-32.5 -6t-22.5 -4q-13 -36 -31 -63q2 -4 8 -16.5t13.5 -27t12.5 -26.5t5 -14q0 -6 -22.5 -23.5t-50 -36t-51.5 -33t-26 -14.5q-4 0 -14 9.5t-21.5 21.5t-20.5 23.5t-13 15.5q-14 -4 -28.5 -6t-29.5 0h-14q-4 -4 -12 -16.5t-17.5 -26 t-18.5 -23.5t-13 -10t-30 11t-54.5 25.5t-52 29t-23.5 20.5q0 2 3 14.5t8 26.5t9 27.5t6 17.5q-23 23 -38 59q-53 2 -75 5t-29 18.5t-5 52.5t-4 109zM1397 367q0 -49 34.5 -85t84.5 -36q49 0 84.5 34.5t35.5 86.5q0 49 -34.5 83.5t-85.5 34.5q-49 0 -84 -34.5t-35 -83.5z M1446 1206q0 -47 31.5 -78.5t76.5 -31.5q47 0 79 31.5t32 76.5q0 47 -31.5 79t-77.5 32q-47 0 -78.5 -32t-31.5 -77z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 997q0 119 61.5 222.5t167 180.5t246.5 122t303 45t303.5 -45t247 -122t166.5 -180.5t61 -222.5q0 -117 -61 -221t-166.5 -181t-247 -122t-303.5 -45q-37 0 -73.5 3t-71.5 7q-147 -113 -336 -155q-20 -4 -40.5 -7.5t-43.5 -7.5q-12 -2 -21.5 6.5t-13.5 18.5v2 q-4 12 3 19.5t18 17.5q18 18 34.5 36.5t29.5 42t24.5 55.5t19.5 79q-141 78 -224 195.5t-83 256.5zM649 258q6 4 13.5 8t13.5 8q51 -6 102 -6q197 0 369 56.5t298 155t198.5 231.5t72.5 286q0 41 -6 84q96 -78 151.5 -175t55.5 -208q0 -139 -83 -256.5t-224 -195.5 q8 -47 19 -79t25.5 -55.5t30 -42t33.5 -36.5q10 -10 17.5 -18.5t3.5 -18.5v-2q-2 -12 -12.5 -19.5t-22.5 -5.5q-23 4 -43.5 7.5t-40.5 7.5q-96 20 -180 60t-156 95q-35 -4 -71.5 -7t-73.5 -3q-141 0 -265 35t-225 94z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 193v643q0 49 35 83.5t84 34.5h348q27 14 43 30.5t35 39.5q16 20 32.5 38.5t34.5 37.5q33 35 76 68.5t66 74.5q16 29 23 64.5t12.5 71.5t12.5 70t23.5 60.5t47 42t81.5 15.5q61 0 111.5 -25.5t85.5 -68.5t54.5 -98.5t19.5 -112.5q0 -59 -17.5 -112.5t-42.5 -107.5 q35 2 70 4.5t70 2.5q55 0 107 -10.5t93 -35t66.5 -67.5t25.5 -109q0 -29 -5 -57t-15 -57q18 -43 18 -90q0 -78 -41 -142q10 -59 -7 -118.5t-58 -104.5q-4 -84 -45 -139.5t-102.5 -89t-135 -47t-143.5 -13.5q-72 0 -144.5 10.5t-142.5 28.5q-70 20 -139.5 43t-142.5 23h-375 q-49 0 -84 34.5t-35 84.5zM236 276q0 -35 22 -57t57 -22q33 0 56.5 22.5t23.5 56.5q0 33 -23.5 56.5t-56.5 23.5q-35 0 -57 -23.5t-22 -56.5zM492 193q70 0 136 -16.5t133.5 -35t141.5 -35t160 -16.5q45 0 98 6t99.5 26.5t78 56.5t31.5 95q0 10 -1 18.5t-3 18.5 q35 16 53.5 53t18.5 74q0 39 -21 68q60 49 60 123q0 23 -12.5 43t-26.5 35q16 29 28.5 57.5t12.5 62.5q0 35 -17.5 55.5t-43 31t-56.5 12.5t-57 2q-45 0 -90.5 -3t-90.5 -3q-31 0 -61.5 3t-58.5 15q0 41 16 78t35.5 74.5t35 78.5t15.5 91q0 33 -10.5 65.5t-29.5 59t-47 44 t-65 17.5h-11t-11 -2q-8 -4 -9 -8t-3 -13q-12 -59 -22.5 -123.5t-39.5 -117.5q-29 -51 -74 -88t-86 -78q-29 -31 -49 -56.5t-41.5 -48t-48.5 -42t-65 -35.5h-2v-643z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 309q0 29 5 57.5t15 57.5q-18 43 -18 90q0 78 41 141q-10 59 7.5 119t58.5 105q4 84 45 139t102 89t135 47t144 13q72 0 144.5 -10t141.5 -29q70 -20 139.5 -42.5t143.5 -22.5h375q49 0 83.5 -35t34.5 -84v-643q0 -49 -34.5 -84t-83.5 -35h-349q-27 -14 -43 -30.5 t-34 -38.5q-16 -20 -32.5 -39t-35.5 -37q-33 -35 -76 -69t-65 -74q-25 -43 -31 -99.5t-18.5 -106.5t-44 -84t-107.5 -34q-61 0 -111.5 25.5t-85 68.5t-54 98.5t-19.5 112.5q0 59 17.5 112.5t41.5 106.5q-35 -2 -69.5 -4t-69.5 -2q-55 0 -107.5 10.5t-93.5 35t-66.5 67.5 t-25.5 108zM119 309q0 -35 17.5 -55.5t43 -30.5t56 -12t57.5 -2q47 0 91 3t89 3q31 0 61.5 -3t59.5 -15q0 -41 -16.5 -78t-36 -75t-34.5 -79t-15 -90q0 -33 10 -65.5t29.5 -59t47 -43t64.5 -16.5q4 0 11.5 -1t11.5 1q8 4 9 8l3 12q12 59 22.5 124t38.5 118q29 51 74 88 t86 78q29 31 49.5 56.5t42 48t47 42t66.5 35.5h2v643q-72 0 -137.5 16.5t-133 36t-141 36t-159.5 16.5q-45 0 -98.5 -7.5t-99.5 -27t-78 -56t-32 -96.5q0 -10 1 -18t3 -19q-35 -16 -53 -53t-18 -74q0 -39 20 -67q-59 -49 -59 -123q0 -23 12 -43.5t27 -34.5 q-16 -29 -28.5 -57.5t-12.5 -63.5zM1202 860q0 -33 23.5 -56.5t56.5 -23.5q35 0 57.5 23.5t22.5 56.5q0 35 -22.5 57.5t-57.5 22.5q-33 0 -56.5 -22.5t-23.5 -57.5z" />
|
||||
<glyph unicode="" horiz-adv-x="837" d="M1 959.5q9 27.5 54 33.5l506 74l227 459q23 41 50 41v-1348l-453 -237q-41 -23 -64.5 -6.5t-15.5 63.5l86 504l-364 356q-35 33 -26 60.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1802" d="M0 1073q0 137 43 231.5t112.5 153t156.5 84t177 25.5q63 0 125 -21.5t115 -53.5t97 -70t75 -68q31 31 76 68.5t98 69.5t113.5 53.5t126.5 21.5q88 0 175 -25.5t156.5 -84t112.5 -153t43 -231.5q0 -94 -34.5 -177t-76.5 -146.5t-79 -102.5t-39 -43l-615 -612 q-26 -23 -57 -23q-33 0 -55 23l-617 614q-4 2 -39.5 41t-77.5 102.5t-77 146.5t-35 177zM160 1073q0 -68 27.5 -131t61.5 -112.5t63 -79.5l28 -29l561 -559l561 559l29 29q29 30 62.5 79.5t61 113t27.5 130.5q0 104 -29.5 169t-77.5 101.5t-106.5 50t-113.5 13.5 q-53 0 -107.5 -25.5t-102.5 -61.5t-86 -74t-56 -60q-25 -31 -62 -31t-61 31q-18 23 -56.5 60.5t-86.5 73.5t-102.5 61.5t-105.5 25.5q-57 0 -115.5 -13.5t-106.5 -50t-77.5 -101t-29.5 -169.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1689" d="M0 307v922q0 63 24.5 118.5t66.5 97.5t97.5 66.5t118.5 24.5h461v-193h-461q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h461v-193h-461q-63 0 -118.5 24.5t-97.5 66.5t-66.5 97.5t-24.5 118.5zM508 584v368q0 33 22.5 54.5t55.5 21.5h428v293 q0 41 39 57q39 14 65 -14l553 -553q18 -18 18.5 -44t-18.5 -42l-553 -553q-18 -18 -43 -18q-10 0 -22 4q-39 16 -39 57v291h-428q-33 0 -55.5 22.5t-22.5 55.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1150q-80 0 -136.5 56.5t-56.5 136.5zM207 1192q0 -57 40 -97t95 -40q57 0 97 40t40 97q0 55 -40 95t-97 40q-55 0 -95 -40 t-40 -95zM213 240q0 -10 9 -19.5t20 -9.5h200q12 0 20.5 9t8.5 20v706q0 29 -29 29h-200q-10 0 -19.5 -8.5t-9.5 -20.5v-706zM580 240q0 -10 9 -19.5t19 -9.5h201q12 0 20.5 9t8.5 20v383q0 68 26.5 113.5t102.5 45.5q59 0 79.5 -28.5t20.5 -81.5v-432q0 -10 8 -19.5 t21 -9.5h204q10 0 19.5 9t9.5 20v477q0 141 -81 208.5t-216 67.5q-55 0 -107.5 -15t-93.5 -56q0 16 -3 34.5t-25 18.5h-195q-10 0 -19 -8.5t-9 -20.5v-706z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M2 950q8 82 45 172t100 176t139 147.5t152 92.5t145.5 30t121.5 -40q53 -41 73.5 -107.5t12.5 -148.5l301 -225q111 63 215 73t180 -47q55 -41 80.5 -108.5t23.5 -150.5t-30.5 -177t-83.5 -188l428 -410q25 -25 4 -53q-12 -16 -33 -17q-10 0 -18 6l-517 293 q-74 -80 -155.5 -135t-161.5 -80.5t-151.5 -19.5t-127.5 47q-76 55 -95 158.5t9 228.5l-303 223q-76 -33 -145.5 -32t-122.5 40q-51 39 -72.5 104.5t-13.5 147.5zM171 858.5q3 -16.5 15 -27.5q21 -14 50 -14q31 0 65.5 17.5t71.5 46t72.5 66.5t66.5 79q10 14 7 30.5 t-15 26.5q-14 10 -30.5 8.5t-27.5 -16.5q-78 -104 -138 -143t-72 -35q-14 10 -31 7t-27 -15q-10 -14 -7 -30.5zM465 754l364 -271q8 -8 23 -8q20 0 33 17q10 14 8 29.5t-16 25.5l-347 258q-16 -14 -32.5 -27.5t-32.5 -23.5zM829.5 239.5q1.5 -16.5 16.5 -26.5q29 -23 69 -23 q41 0 88.5 21.5t95.5 57.5t94 84.5t87 101.5q10 12 8 28.5t-16 26.5q-12 10 -28.5 8t-26.5 -16q-51 -68 -102.5 -116t-95.5 -75.5t-78 -36t-48 4.5q-14 10 -29.5 7t-25.5 -18q-10 -12 -8.5 -28.5z" />
|
||||
<glyph unicode="" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h582q-2 -14 -4 -27.5t-2 -29.5v-88q0 -23 6 -48h-582q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v340q41 -31 90 -49t103 -20v-271q0 -63 -25 -118.5 t-67 -97.5t-97 -66.5t-119 -24.5h-1075q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM692.5 522q-0.5 25 16.5 41l770 772h-269q-25 0 -41 16.5t-16 41.5v86q-2 23 15.5 40t41.5 17h576q23 0 40 -17.5t17 -39.5v-86v-490q0 -25 -17.5 -42t-39.5 -15h-86 q-25 0 -41.5 16.5t-16.5 40.5v268l-772 -770q-16 -16 -40.5 -16t-41.5 16l-79 80q-16 16 -16.5 41z" />
|
||||
<glyph unicode="" horiz-adv-x="1689" d="M0 584v368q0 33 22.5 54.5t55.5 21.5h428v293q0 41 37 57q39 14 67 -14l553 -553q16 -18 16.5 -44t-16.5 -42l-553 -553q-18 -18 -43 -18q-8 0 -24 4q-37 16 -37 57v291h-428q-33 0 -55.5 22.5t-22.5 55.5zM922 0v193h460q47 0 81 33.5t34 80.5v922q0 47 -33.5 80.5 t-81.5 33.5h-460v193h460q63 0 118.5 -24.5t97.5 -65.5t67 -97.5t25 -119.5v-922q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5h-460z" />
|
||||
<glyph unicode="" horiz-adv-x="1689" d="M0 1042v187q0 33 22.5 54.5t55.5 21.5h323q-2 12 -2 25v24v4q0 53 4.5 88t15.5 54.5t31.5 27.5t55.5 8h678q33 0 54.5 -8t32.5 -27.5t15 -54.5t4 -88v-25.5t-2 -27.5h324q33 0 55.5 -21.5t22.5 -54.5v-187q0 -63 -45.5 -130.5t-122 -128t-180 -106.5t-222.5 -65 q-51 -10 -91 -41.5t-40 -70.5q0 -35 17.5 -51.5t39 -31t40 -31.5t22.5 -52q4 -23 -2 -47q-4 -14 23.5 -23.5t67.5 -18.5t82 -22.5t64 -34.5q12 -10 19.5 -39.5t9.5 -64.5q2 -33 -6 -58.5t-29 -25.5h-985q-20 0 -28.5 25.5t-6.5 58.5q2 35 9.5 64.5t19.5 39.5q23 20 64 34 t80.5 23t68.5 18t25 24q-4 14 -4 25.5v21.5q2 35 21.5 52t42 31.5t39.5 31t17 51.5q0 39 -39.5 70.5t-93.5 41.5q-117 20 -220 66.5t-180 106t-122 127t-45 130.5zM154 1042q0 -20 23.5 -54t67.5 -70.5t106.5 -71.5t140.5 -60q-25 80 -44.5 175.5t-33.5 189.5h-260v-109z M1198 786q78 25 140.5 60t106.5 71.5t67.5 70.5t23.5 54v109h-262q-12 -94 -31.5 -189.5t-44.5 -175.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-337v25q0 39 2 97t-3.5 115.5t-24.5 104.5t-65 66q188 20 290 110t102 287q0 66 -22.5 128t-67.5 114q6 23 8 45t2 45 q0 41 -9.5 91t-31.5 85h-12q-43 2 -79 -8.5t-68 -27.5t-62.5 -37.5t-65.5 -39.5q-33 4 -65.5 6t-65.5 2t-65.5 -2t-65.5 -6q-35 18 -65.5 39t-62.5 38t-67.5 27.5t-79.5 8.5h-12q-23 -35 -32 -85t-9 -91q0 -23 2 -45.5t8 -44.5q-45 -51 -66.5 -114t-21.5 -128 q0 -193 95.5 -283t281.5 -112q-39 -16 -59.5 -50t-32.5 -75q-27 -8 -49.5 -15.5t-50.5 -7.5q-55 0 -88 28.5t-59.5 62.5t-56.5 62.5t-79 28.5q-4 0 -20.5 -2t-16.5 -12q0 -23 19.5 -32t31.5 -19q39 -31 56.5 -71t39 -76.5t62.5 -62.5t127 -26q35 0 80 11q0 -10 -1 -18.5 t-1 -16.5q0 -29 2 -59.5t-2 -59.5h-317q-80 0 -136.5 56.5t-56.5 136.5z" />
|
||||
<glyph unicode="" d="M0 39v614q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-346h1229v346q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-614q0 -39 -39 -39h-1765q-39 0 -39 39zM346 969.5q-6 15.5 16 38.5l504 505q23 23 55.5 23t55.5 -23l506 -505q23 -23 15.5 -38.5 t-38.5 -15.5h-307v-499q0 -33 -22.5 -55.5t-55.5 -22.5h-307q-33 0 -54.5 22.5t-21.5 55.5v499h-307q-33 0 -39 15.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1609" d="M2 514q-2 35 1 68.5t7 74.5q4 35 7 72t10 66q14 66 30.5 128t44.5 117q20 41 45 81t54 79q10 14 21 24.5t24 20.5q23 23 45 45.5t49 42.5t57.5 36.5t65.5 33.5q33 16 67.5 29.5t71.5 27.5q70 29 156 51l2 2q45 12 85 17.5t79 5.5q59 0 112.5 -9t106.5 -20q41 -8 85 -15 t93 -7h2q29 0 62.5 5t66.5 5q25 0 45.5 -6t32.5 -25q23 -31 26 -71.5t-2 -75.5q-4 -35 -8 -71t2 -72q4 -23 11.5 -39.5t15.5 -36.5q8 -18 11 -40t7 -42q18 -104 15.5 -195.5t-23 -170.5t-56.5 -148.5t-81 -132.5q-37 -49 -79 -97.5t-92 -91.5t-110.5 -77.5t-134.5 -59.5 q-76 -27 -158.5 -34t-158.5 -11h-31q-104 0 -194.5 16.5t-192.5 16.5h-4q-35 0 -77 -10.5t-83 -12.5h-2q-37 0 -65.5 17.5t-42.5 42.5q-20 35 -17.5 72.5t12.5 68.5t10.5 66.5t-5 75.5t-12.5 81t-9 82z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 1169q0 55 14.5 114.5t43 114t68.5 98.5t93 69q12 -2 26.5 0t26.5 2q10 0 30 -1l40 -2t38.5 -4.5t27.5 -7.5q8 -6 15 -18t12 -26.5t9.5 -30t8.5 -25.5q6 -18 23.5 -65.5t35.5 -97.5t32.5 -93t14.5 -53q0 -37 -24.5 -68t-54 -57.5t-54.5 -50t-25 -45.5q0 -20 16.5 -49 t26.5 -46q84 -145 188.5 -248.5t252.5 -187.5q18 -10 45.5 -27.5t50.5 -17.5t52.5 32t60 70.5t62 70.5t58.5 32q10 0 51.5 -22.5t89.5 -50t93 -55.5t61 -36q16 -10 46 -25.5t40 -35.5q2 -6 2 -23q0 -16 -3 -36.5t-8 -43t-12 -43t-13 -35.5q-18 -39 -59.5 -71.5t-92.5 -55 t-104.5 -36t-92.5 -13.5q-80 0 -153.5 25.5t-145.5 54.5q-123 45 -232.5 118t-203.5 164t-175 196.5t-144 215.5q-25 41 -52.5 95.5t-51 112t-39 113.5t-15.5 105z" />
|
||||
<glyph unicode="" d="M0 307v922q0 63 24.5 118.5t66.5 97.5t97.5 66.5t118.5 24.5h1075q63 0 118.5 -24.5t97.5 -66.5t67 -97.5t25 -118.5v-922q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5h-1075q-63 0 -118.5 24.5t-97.5 66.5t-66.5 97.5t-24.5 118.5zM193 307q0 -47 33.5 -80.5 t80.5 -33.5h1075q47 0 81 33.5t34 80.5v922q0 47 -34 80.5t-81 33.5h-1075q-47 0 -80.5 -33.5t-33.5 -80.5v-922z" />
|
||||
<glyph unicode="" horiz-adv-x="1253" d="M0 84v1337q0 47 34 81t81 34h1024q47 0 80.5 -34t33.5 -81v-1337q0 -47 -33.5 -81t-80.5 -34t-80 33l-432 432l-432 -432q-33 -33 -80 -33t-81 34t-34 81zM158 186l469 471l469 -471v1194h-938v-1194z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1150q-80 0 -136.5 56.5t-56.5 136.5zM193 1040q2 -35 15 -76.5t30 -78.5q16 -37 33.5 -72t33.5 -63q74 -129 176.5 -241 t225.5 -190q31 -18 67.5 -36.5t75.5 -32.5q41 -16 83 -31.5t81 -21.5q63 -10 112.5 2t90.5 34q27 12 57.5 33.5t44.5 52.5q4 8 9 27t9 38t6.5 37.5t-2.5 29.5q-4 12 -24.5 22t-36.5 21q-43 25 -71.5 41t-67.5 38q-16 10 -36 23.5t-38 13.5q-23 0 -46.5 -27.5t-37.5 -43.5 q-12 -14 -36.5 -43t-47.5 -31q-14 -2 -32.5 10t-37.5 23q-106 59 -182 136t-135 177q-10 16 -21.5 37.5t-7.5 38.5q2 18 24.5 33.5t35.5 29.5q14 16 31.5 37t19.5 43q4 16 -5 38t-16 42q-16 43 -28.5 76t-26.5 76q-6 16 -12 40.5t-21 30.5q-8 4 -26.5 7t-39 4.5t-37.5 0 t-24 -1.5h-8q-33 -16 -62.5 -45.5t-51 -69.5t-34 -88t-9.5 -100z" />
|
||||
<glyph unicode="" d="M0 399q0 20 13.5 33.5t33.5 13.5q14 0 31 -12q123 -109 287 -108q59 0 117.5 15t107.5 48q-29 16 -47.5 42t-18.5 58q0 23 8 39q-18 6 -44.5 20.5t-51 34t-41 43t-16.5 46.5q0 16 10 28.5t25 22.5q-41 25 -76 74t-35 98q0 33 33 43q-35 35 -55.5 81t-20.5 95 q0 23 9.5 41.5t37.5 18.5q18 0 84 -27t142.5 -60.5t146.5 -67.5t98 -48q25 -14 47.5 -31.5t44.5 -36.5q20 51 47 106.5t60 106.5t73 96t89 74q8 6 24 6q18 0 27 -8q16 6 41.5 13.5t42.5 7.5q29 0 43 -27q31 0 56.5 -15.5t25.5 -50.5q0 -31 -27 -53q96 -43 159.5 -125 t90.5 -182q6 -2 23 -2q47 0 88 16.5t57 16.5q18 0 31.5 -14.5t13.5 -32.5q0 -23 -19.5 -48.5t-33.5 -39.5q23 4 42 -7.5t19 -38.5q0 -29 -26.5 -50t-61.5 -37.5t-72.5 -25.5t-58.5 -11q-43 -139 -133 -246t-210 -178.5t-258 -109.5t-275 -38q-219 0 -415 93.5t-325 273.5 q-8 16 -8 26z" />
|
||||
<glyph unicode="" horiz-adv-x="790" d="M0 862v203q0 16 11.5 28.5t27.5 12.5h125v102q0 358 366 359q123 0 232 -31q33 -10 29 -43l-27 -199q-4 -16 -16 -26q-16 -10 -31 -6q-35 8 -72.5 12t-66.5 4q-53 0 -65.5 -16.5t-12.5 -67.5v-88h223q14 0 29 -14q10 -10 10 -29l-17 -205q0 -16 -11 -25.5t-27 -9.5h-207 v-784q0 -16 -11.5 -27.5t-27.5 -11.5h-258q-16 0 -27.5 11.5t-11.5 27.5v784h-125q-16 0 -27.5 11.5t-11.5 27.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1847" d="M0 743q0 115 37 222.5t113 193.5l-3 4l3 2q-16 39 -21.5 81t-5.5 85q0 25 2 56.5t8 65.5t15.5 63.5t23.5 50.5h8q61 0 110.5 -12.5t94.5 -35t87 -52t91 -60.5q86 25 178.5 33t182.5 8t182 -8t180 -33q47 31 90 60.5t87 52t93.5 35t110.5 12.5h10q12 -20 21.5 -50 t15.5 -64t9 -65.5t3 -56.5q0 -43 -6 -85t-20 -81v-2l-2 -4q76 -86 112.5 -193.5t36.5 -222.5q0 -233 -66.5 -383.5t-188.5 -236.5t-292 -120t-376 -34q-207 0 -378 34t-292 120t-187.5 236.5t-66.5 383.5zM250 483q0 -145 64.5 -224t165 -116t219 -43t227.5 -6q74 0 152.5 2 t153.5 12.5t142.5 34t117.5 67.5t80 111.5t30 165.5q0 84 -27 147.5t-75 106.5t-114.5 64.5t-146.5 21.5q-78 0 -156.5 -7t-156.5 -7t-157 7t-157 7q-162 0 -262 -87t-100 -257zM494 524q0 66 26.5 113t65.5 47t66.5 -47t27.5 -113t-27.5 -112.5t-66.5 -46.5t-65.5 46.5 t-26.5 112.5zM795 258q-6 16 12 25q16 6 24 -13q27 -76 93 -75q31 0 56.5 20.5t35.5 54.5q8 20 26 13q16 -6 13 -25q-16 -47 -51 -75.5t-80 -28.5q-43 0 -78 28.5t-51 75.5zM864 369q0 -12 17.5 -21.5t42.5 -9.5t42 9.5t17 21.5t-17.5 21t-41.5 9q-25 0 -42.5 -9t-17.5 -21z M1167 524q0 -66 28 -112.5t67 -46.5t65.5 46.5t26.5 112.5t-27 113t-65 47q-39 0 -67 -47t-28 -113z" />
|
||||
<glyph unicode="" horiz-adv-x="1880" d="M0 117v626q0 49 35 84t82 35h665v156q0 113 43 213t118 175t175 118t213 43t213.5 -43t175 -118t117.5 -175.5t43 -212.5v-152q0 -33 -22.5 -55.5t-55.5 -22.5h-80q-33 0 -55 23t-22 55v152q0 66 -25 123t-67 99t-99 66.5t-123 24.5t-122 -24.5t-99 -66.5t-67.5 -99.5 t-24.5 -122.5v-156h119q47 0 81.5 -34.5t34.5 -84.5v-626q0 -47 -34.5 -82t-81.5 -35h-1020q-47 0 -82 35t-35 82zM494 164h266l-66 285q29 18 47.5 48.5t18.5 65.5q0 55 -39 95t-94 40t-94 -40t-39 -95q0 -35 18 -65.5t47 -46.5z" />
|
||||
<glyph unicode="" d="M0 154v1228q0 63 45 108.5t109 45.5h1536q63 0 108 -45t45 -109v-1228q0 -63 -45 -108.5t-108 -45.5h-1536q-63 0 -108.5 45t-45.5 109zM154 154h1536v575h-1536v-575zM154 1114h1536v268h-1536v-268zM260 250v115h307v-115h-307zM676 250v115h446v-115h-446z" />
|
||||
<glyph unicode="" horiz-adv-x="1566" d="M0 236q0 49 18.5 91t50 74.5t75 51t92.5 18.5t91 -18.5t74.5 -51t51 -74.5t18.5 -91t-18.5 -92.5t-51 -75t-74.5 -50t-91 -18.5t-92.5 18.5t-75 50t-50 74.5t-18.5 93zM0 819v158q0 35 25 57q23 23 53 23q2 0 3 -1t3 -1q193 -14 362.5 -95t301 -212.5t212 -301.5 t95.5 -362q4 -35 -21 -59q-23 -25 -57 -25h-158q-29 0 -51.5 20.5t-26.5 51.5q-12 133 -68.5 249.5t-145.5 205.5t-205.5 145.5t-249.5 68.5q-31 4 -51.5 27t-20.5 51zM0 1331v158q0 33 25 55q23 23 53 23h4q301 -16 565 -137t463 -320t319.5 -463t137.5 -565q4 -31 -23 -57 q-23 -25 -55 -25h-158q-31 0 -53.5 21.5t-24.5 52.5q-14 238 -110 446.5t-255 367.5t-368 255t-446 110q-31 2 -52.5 24.5t-21.5 53.5z" />
|
||||
<glyph unicode="" d="M0 193v382q0 23 6 45.5t12 45.5l238 727q20 63 75.5 103t121.5 40h938q66 0 121 -40t75 -103l238 -727q6 -23 12 -45.5t6 -45.5v-382q0 -41 -15.5 -76t-41 -60.5t-61 -41t-74.5 -15.5h-1458q-80 0 -136.5 56.5t-56.5 136.5zM154 193q0 -16 11 -27.5t28 -11.5h1458 q16 0 27.5 11t11.5 28v382q0 16 -11.5 27.5t-27.5 11.5h-1458q-16 0 -27.5 -11t-11.5 -28v-382zM213 768h1417l-188 578q-4 16 -19.5 26t-31.5 10h-938q-16 0 -31.5 -10t-20.5 -26zM1057 385q0 39 27.5 66.5t68.5 27.5q39 0 66.5 -27.5t27.5 -66.5q0 -41 -27.5 -68.5 t-66.5 -27.5q-41 0 -68.5 27.5t-27.5 68.5zM1364 385q0 39 27.5 66.5t68.5 27.5q39 0 66.5 -27.5t27.5 -66.5q0 -41 -27.5 -68.5t-66.5 -27.5q-41 0 -68.5 27.5t-27.5 68.5z" />
|
||||
<glyph unicode="" d="M0 754v229q0 63 45 108.5t109 45.5h499q115 0 245 33.5t255 90t235.5 128t186.5 147.5q63 0 108.5 -45t45.5 -109v-368q49 -12 81.5 -52.5t32.5 -93.5t-32.5 -93t-81.5 -52v-369q0 -63 -45.5 -108t-108.5 -45q-68 68 -164 132t-206.5 117.5t-227.5 91.5t-227 50 q-43 -12 -70 -40t-37 -62.5t-2 -70.5t37 -65q-25 -41 -23 -75.5t20.5 -66.5t49.5 -61.5t66 -58.5q-20 -43 -69.5 -65.5t-106 -25.5t-110.5 10.5t-85 43.5q-18 61 -40 125t-36 130.5t-14 138t24 151.5h-200q-63 0 -108.5 45t-45.5 109zM807 741q102 -16 206.5 -49t205 -78 t191.5 -99t165 -112v930q-76 -59 -166 -113.5t-190.5 -98.5t-205 -77.5t-206.5 -48.5v-254z" />
|
||||
<glyph unicode="" horiz-adv-x="1759" d="M0 317q104 78 172 172.5t109 201t60 224t28 240.5q6 84 56 159t126 131t163 89t167 33q74 0 163 -33t165.5 -88t129 -129t52.5 -158q6 -121 27.5 -239.5t63.5 -227t109.5 -204t167.5 -171.5q-4 -70 -56 -114.5t-120 -44.5h-469q-18 -82 -82.5 -135.5t-150.5 -53.5 t-151.5 53.5t-84.5 135.5h-469q-68 0 -120 45t-56 114zM238 317h1284q-78 86 -129.5 183.5t-84 202t-50 214t-25.5 222.5q-4 55 -41 104t-89 86t-111.5 57.5t-110.5 20.5q-47 0 -107.5 -21.5t-114 -56.5t-91.5 -83t-40 -99q-6 -111 -23.5 -222.5t-51 -218t-87 -205 t-128.5 -184.5zM713 209q0 -70 49 -119t119 -49q18 0 18 20t-18 21q-53 0 -91 37t-38 90q0 20 -19 20q-20 0 -20 -20z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 573q0 33 23 56l143 139l-143 139q-23 23 -23 56q0 25 16.5 45t40.5 26l195 49q-6 18 -15.5 48t-18.5 61t-16 59.5t-7 46.5q0 31 21.5 52.5t51.5 21.5q18 0 47 -7t60 -16.5t60.5 -18.5t47.5 -15l49 194q6 25 27 41.5t45 16.5q35 0 53 -23l142 -143l139 143q23 23 53 23 q27 0 47.5 -15.5t26.5 -42.5l49 -194q18 6 48 15t60.5 18.5t59.5 16.5t47 7q29 0 51.5 -21.5t22.5 -52.5q0 -18 -7 -46.5t-16.5 -59.5t-18.5 -60.5t-15 -48.5l194 -49q25 -6 41 -26.5t16 -44.5q0 -33 -22 -56l-145 -139l145 -139q23 -23 22 -56q0 -25 -16 -45t-41 -26 l-194 -49q6 -18 15 -48t18.5 -61t16.5 -59.5t7 -46.5q0 -29 -21.5 -51.5t-52.5 -22.5q-18 0 -47 7t-59.5 16.5t-60 18.5t-48.5 15l-49 -194q-6 -25 -26.5 -41.5t-45.5 -16.5q-33 0 -55 23l-139 143l-142 -143q-18 -23 -53 -23q-25 0 -45 16.5t-27 41.5l-49 194 q-18 -6 -47.5 -15t-60.5 -18.5t-59.5 -16.5t-47.5 -7q-31 0 -52 22.5t-21 51.5q0 18 7 46.5t16 59.5t18.5 60.5t15.5 48.5l-195 49q-25 6 -41 26.5t-16 44.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 193v643q0 49 35 83.5t84 34.5h348q27 14 42 30.5t34 39.5q16 20 33.5 38.5t33.5 37.5q35 35 77 68.5t65 74.5q25 43 29.5 99.5t17 106.5t44 84t109.5 34q61 0 111.5 -25.5t85.5 -68.5t54.5 -98.5t19.5 -112.5q0 -53 -15.5 -104.5t-38.5 -98.5h134l376 -2 q49 0 93.5 -17.5t76 -49.5t50 -75t18.5 -94q0 -49 -18.5 -92t-50 -74.5t-75.5 -49t-94 -17.5h-200q-10 -59 -39 -107q10 -59 -7.5 -117.5t-56.5 -103.5q0 -76 -28.5 -131t-75.5 -90t-109.5 -52.5t-132.5 -17.5q-78 0 -148.5 16.5t-136 36t-128 36t-123.5 16.5h-375 q-49 0 -84 34.5t-35 84.5zM233 276q0 -35 22.5 -57t57.5 -22q33 0 56.5 22.5t23.5 56.5q0 33 -23.5 56.5t-56.5 23.5q-35 0 -57.5 -23.5t-22.5 -56.5zM489 193q70 0 136.5 -16.5t133 -35t133 -35t138.5 -16.5q43 0 84 8t72 27.5t50 52.5t19 82q0 14 -1 26.5t-3 24.5 q35 16 53.5 53t18.5 74q0 39 -20 68q59 49 59 123q0 23 -12.5 43.5t-26.5 34.5q90 0 178 1t178 1q51 0 84 30.5t33 81.5q0 53 -32.5 85t-84.5 32q-172 0 -340 1t-338 1q0 41 16.5 78t35 74.5t34 78.5t15.5 91q0 33 -10.5 65.5t-29 59t-46 44t-64.5 17.5h-11t-11 -2 q-8 -4 -9 -8t-3 -13q-12 -59 -22.5 -123.5t-39.5 -117.5q-29 -51 -73 -88t-85 -78q-29 -31 -49 -56.5t-41.5 -48t-48.5 -42t-65 -35.5h-5v-643z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 821q0 51 18.5 94t50 75t75.5 49.5t94 17.5l376 2h134q-23 47 -38.5 98t-15.5 105q0 57 19.5 112.5t54.5 98.5t85 68.5t112 25.5q78 0 109.5 -34t43.5 -84t17.5 -106.5t29.5 -99.5q23 -41 65 -74.5t77 -68.5q16 -18 33.5 -37t33.5 -39q18 -23 33.5 -39t42.5 -31h348 q49 0 84 -34.5t35 -83.5v-643q0 -49 -35 -84t-84 -35h-375q-61 0 -123.5 -16.5t-128 -36t-136 -36t-148.5 -16.5q-70 0 -132.5 17.5t-109.5 52.5t-75.5 90t-28.5 131q-39 45 -56.5 103.5t-7.5 117.5q-29 47 -39 107h-200q-49 0 -93.5 17.5t-76 49t-50 74.5t-18.5 92z M121 821q0 -51 32.5 -81.5t84.5 -30.5q90 0 178 -1t178 -1q-14 -14 -26.5 -35t-12.5 -43q0 -74 59 -123q-20 -29 -20 -68q0 -37 18.5 -73.5t53.5 -53.5q-2 -12 -3 -24.5t-1 -26.5q0 -49 19 -82t50 -52.5t72 -27.5t84 -8q70 0 137.5 16.5t134 35t133 35t135.5 16.5v643h-4 q-41 16 -66.5 35.5t-47 42t-42 48t-48.5 56.5q-41 41 -85 78t-73 88q-29 53 -39 117.5t-23 123.5q-2 8 -3 12.5t-9 8.5q-4 2 -11 2h-11q-37 0 -65 -17.5t-46 -44t-28.5 -59.5t-10.5 -65q0 -49 15.5 -90.5t34 -79t34.5 -74.5t16 -78q-170 0 -337.5 -1t-339.5 -1 q-51 0 -84 -32t-33 -85zM1524 276q0 -35 23.5 -57t56.5 -22q35 0 57 22.5t22 56.5q0 33 -22.5 56.5t-56.5 23.5q-33 0 -56.5 -23.5t-23.5 -56.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 602q0 61 25.5 111.5t68.5 85.5t98.5 54t112.5 19q53 0 104.5 -15t98.5 -38v133l2 377q0 49 17.5 93t49 76t74.5 50.5t94 18.5q49 0 92.5 -18.5t75 -50.5t49 -76t17.5 -93v-201q59 -10 106 -38q59 10 118 -7.5t104 -56.5q76 0 131 -28.5t90 -76t52 -109.5t17 -132 q0 -78 -16 -148.5t-35.5 -136t-36 -128t-16.5 -124.5v-374q0 -49 -35 -84t-84 -35h-643q-49 0 -84 34.5t-35 84.5v348q-14 27 -30.5 42t-38.5 34q-20 16 -39 33.5t-37 33.5q-35 35 -68.5 77t-74.5 64q-43 25 -99.5 30t-106.5 17.5t-84 44t-34 109.5zM120 591q-1 -7 1 -11 q4 -8 8 -9.5t12 -3.5q59 -12 124 -22t118 -39q51 -29 88 -73t78 -85q31 -29 56.5 -49t48 -41.5t42 -48.5t35.5 -66v-4h643q0 70 16.5 136.5t35 133t35 133t16.5 138.5q0 43 -8.5 84t-28 71.5t-52 50t-81.5 19.5q-14 0 -26.5 -1t-25.5 -3q-16 35 -53 53.5t-74 18.5 q-39 0 -67 -21q-49 59 -123 60q-23 0 -43.5 -12.5t-34.5 -26.5q0 90 -1 178t-1 178q0 51 -30.5 84t-82.5 33q-53 0 -84.5 -33t-31.5 -84q0 -172 -1 -340t-1 -338q-41 0 -78 16.5t-75 35t-79 34t-90 15.5q-33 0 -65.5 -10.5t-59 -29t-43 -46t-16.5 -64.5q0 -4 -1 -11z M1210 -37q0 -35 23.5 -57.5t56.5 -22.5q35 0 57.5 22.5t22.5 57.5q0 33 -22.5 56.5t-57.5 23.5q-33 0 -56.5 -23.5t-23.5 -56.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 584q0 78 34 109.5t84 44t106.5 17.5t99.5 29q41 23 74.5 65t68.5 77q18 16 36.5 33.5t39.5 33.5q23 18 39 33.5t30 42.5v348q0 49 35 84t84 35h643q49 0 84 -35t35 -84v-375q0 -61 16.5 -123.5t36 -128t35.5 -136t16 -148.5q0 -70 -17 -132.5t-52 -109.5t-90.5 -75.5 t-130.5 -28.5q-45 -39 -103.5 -56.5t-118.5 -7.5q-47 -29 -106 -39v-200q0 -49 -17.5 -93.5t-49 -76t-74.5 -50t-93 -18.5q-51 0 -94 18.5t-74.5 50t-49 75.5t-17.5 94l-2 376v134q-47 -23 -98.5 -38.5t-104.5 -15.5q-57 0 -112.5 19.5t-98.5 54.5t-68.5 85t-25.5 112z M120 595q1 -7 1 -11q0 -37 16.5 -64.5t43 -46t59 -29t65.5 -10.5q49 0 90 15.5t79 34t75 35t78 16.5q0 -170 1 -338t1 -340q0 -51 31.5 -84t84.5 -33q51 0 82 32.5t31 84.5q0 90 1 178t1 178q14 -14 34.5 -26.5t43.5 -12.5q74 0 123 59q29 -20 67 -20q37 0 74 18.5t53 53.5 q12 -2 24.5 -3t27.5 -1q49 0 81.5 19t52 50t28 72t8.5 84q0 70 -16.5 137.5t-35 134t-35 133t-16.5 136.5h-643v-5q-16 -41 -35.5 -66.5t-42 -47t-48 -42t-56.5 -48.5q-41 -41 -78 -85t-88 -73q-53 -29 -117.5 -39t-124.5 -23l-12 -3t-8 -9q-2 -4 -1 -11zM1210 1223 q0 -33 23.5 -56.5t56.5 -23.5q35 0 57.5 23.5t22.5 56.5q0 35 -22.5 57.5t-57.5 22.5q-33 0 -56.5 -23t-23.5 -57z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -29 20 -49l490 -490q20 -20 48.5 -20t49.5 20l74 74q20 20 20 48 t-20 50l-246 246h612q29 0 49.5 19.5t20.5 48.5v104q0 29 -20.5 49.5t-49.5 20.5h-612l246 246q20 20 20 48.5t-20 49.5l-74 74q-20 20 -48 20t-50 -20l-490 -490q-20 -20 -20 -49z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 717q0 -29 20.5 -49.5t48.5 -20.5h613l-246 -246q-20 -20 -20.5 -48.5 t20.5 -49.5l74 -74q20 -20 47.5 -20t50.5 20l489 490q20 20 20.5 49t-20.5 49l-489 490q-20 20 -49 20t-49 -20l-74 -74q-20 -20 -20.5 -48t20.5 -50l246 -246h-613q-29 0 -49 -19.5t-20 -48.5v-104z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -29 20 -49l74 -74q20 -20 48 -20t50 20l246 246v-612q0 -29 19.5 -49.5 t47.5 -20.5h105q29 0 49.5 20.5t20.5 49.5v612l245 -246q20 -20 49 -20t50 20l73 74q20 20 20.5 48t-20.5 50l-489 490q-20 20 -49 20t-49 -20l-490 -490q-20 -20 -20 -49z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 769q0 -28 20 -50l490 -490q20 -20 48.5 -20t49.5 20l489 490q20 20 20.5 49 t-20.5 49l-73 74q-20 20 -48 20t-51 -20l-245 -246v612q0 29 -19.5 49.5t-48.5 20.5h-104q-29 0 -49.5 -20.5t-20.5 -49.5v-612l-246 246q-20 20 -49 20t-49 -20l-74 -74q-20 -20 -20 -48z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 162 63.5 307.5t173 255t254 173t308.5 63.5q162 0 307 -63.5t254.5 -173t173 -255t63.5 -307.5q0 -164 -63.5 -308.5t-173 -254t-254.5 -173t-307 -63.5q-164 0 -308.5 63.5t-254 173t-173 254t-63.5 308.5zM186 1141h4q4 0 12.5 3t8.5 -9q0 -4 -3 -10.5 t11 -6.5q4 0 5 6t3 0l4 -16v-2q0 -4 -5 -6t-3 -6q4 -4 9.5 -4h9.5l4 2l2 2q0 -6 6 -8.5t10 -2.5h2q0 -2 -4 -4t0 -6l23 -4v-2l14 -29q0 -4 -3 -10t-7 -6t-3 3t1 7t-2 7t-15 3q-2 0 -5 -1t-1 -5l12 -26l3 -2l2 -2q-10 0 -13.5 -24t-3.5 -34l4 -18l2 -6v-4l-4 -19l29 -43h6 q2 -4 -2 -8t-2 -8l8 -8q0 -10 4 -14.5t13 -12.5q-2 -12 20.5 -22.5t28.5 -14.5q8 -23 20 -45.5t29 -38.5l2 -14q0 -2 -5 -4t-1 -6l16 -7q4 4 10.5 -8t10.5 -16l-2 -6l12 -17l6 -2l4 8q-4 10 -14 26.5t-20.5 32t-17.5 28t-7 14.5t-2 16t-4 17q6 -4 15 -7.5t15 -7.5 q4 -25 19.5 -40t27.5 -34q-4 -4 0 -5t7 -1q4 -4 4 -14q14 -16 36.5 -44t22.5 -44v-2l-4 -14q6 -16 20.5 -25.5t28.5 -15.5h4q20 -10 41 -21.5t43 -19.5l23 14q8 -2 17 -10t20.5 -18.5t27 -19.5t35.5 -11q14 10 14 -5v-4l25 -30l4 -15q10 -6 20.5 -15t16.5 -20h4 q10 0 16.5 -9t16.5 -9q6 0 6 6q0 14 2 18.5t5 5.5t6 1t3 4l-4 6q-4 0 -6 -5t-6 -1l-14 -8l-17 4l-24 41l8 57q2 4 -7.5 9t-5.5 10q-14 8 -34 8q-4 0 -20.5 -3t-16.5 3t3 16t7 21.5t6 19.5t2 10l13 27l-3 4l-16 4q-4 0 -13 -6t-17.5 -14.5t-14.5 -16.5t-6 -14l-45 -10 q-14 0 -23 12q-4 16 -17 35.5t-13 34.5q0 23 8 43t-6 43q2 0 5 2t1 6l12 14l2 2l2 -2q14 10 37 7t29 14l16 -13q4 -2 9 4.5t5 10.5l-8 4l39 10l2 -6l19 2l22 -14q4 0 8 5t9 1l20 -21q-4 -8 -1 -12t3 -8q0 -6 10.5 -27.5t18.5 -21.5q10 0 9 13t-1 17q0 20 -8 39t-15 39v6 q0 10 12.5 17.5t12.5 9.5q10 8 22.5 16t18.5 19l8 16v10h6t4 6q0 2 -3 3.5t-7 5.5q-4 2 -8 6l6 4q4 6 6 15t-2 16l15 8q-2 -6 4 -8t10 0l10 16q-4 10 -5 7t5 7q10 4 19.5 9.5t19.5 5.5q2 -2 4 -2q6 0 6 2q0 10 -4 12l12 25q14 0 21 12l18 2q6 2 6 8v2l35 10l4 11l-10 14 q2 0 2 4t-4 6t-7 4t-7 4l-4 -2l4 2h6h13t9 9q0 12 -14 12q-18 0 -41.5 -8.5t-32.5 -28.5l-14 -8l18 18l3 6q0 4 -9.5 5.5t-5.5 1.5q18 0 27.5 4t15.5 9t12.5 10t18.5 9q23 -4 44 -2t44 2q6 4 12 8.5t8 10.5l23 4q4 -4 12 2t8 10q0 10 -11 13t-11 14q0 2 1 6t-3 4 q-6 0 -19.5 -6t-19.5 -10q-4 -2 -5 1t-1 7l2 -2l8 4l23 8l4 4q0 6 -7.5 8t-11.5 2t-12 -3t-8 3l2 4q-12 10 -21.5 22.5t-9.5 16.5t1 8.5t-5 4.5q-4 0 -7 -1t-3 5q0 4 -5 17t-14 13l-8 -8q0 -6 -6 -9t-6 -7h-4l-21 -12q-2 4 -5 2t-7 -2h-2l-2 -2q8 0 7 9t-7 9l-16 -4 q-4 0 -4.5 1t2 4t4.5 7t0 8t-6.5 1t-4.5 1h6l5 5q2 2 -1.5 7t-5.5 7l-22 4l-14 12q-2 -2 -7.5 3t-9.5 7l-16 -6l-39 9q-4 0 -8 -2.5t-4 -6.5t4 -6t4 -6t3 -21.5t-5 -13.5l-10 -14q2 -4 7 -7t10 -7.5t9 -10.5t2 -18l-45 -31v-4q0 -8 4 -15t8 -18q10 -4 9.5 -7t-7 -6t-12.5 -6 t-6 -5t-4 -2h-8h-4q0 2 2 3t2 5l-19 12v-2l-8 16q4 10 1 14.5t-3 10.5q0 16 -14.5 16t-30.5 -4q4 2 -1 6.5t-7 4.5q-16 0 -38 14t-36 14q-6 0 -14 -2t-15 -4q4 2 5 10l-13 23l-2 2q-6 0 -14 -5t-8 9q0 2 2 4t0 4q-2 12 5 20.5t11 18.5q4 4 4 8t4 4q8 0 15.5 4.5t17.5 6.5 l2 6q0 4 -21.5 7t-21.5 7l2 2q20 -6 30.5 -7t17.5 2t16.5 8t29.5 14q0 4 -21.5 8t-27.5 8h12q4 0 10.5 -2t10.5 -4q0 -4 6 -5t10 -1l15 10v6l-4 6l22 4q-2 2 1 4t5 2q6 0 12.5 -6t8.5 -6l20 8q-2 2 5.5 3t4.5 6l-14 16q-2 0 -3 3t1 3q10 0 6 10q-8 4 -17 9.5t-20 5.5 q-4 0 -9 -2t-5 -7q0 -4 5 -4t7 -4q4 -4 -2 -4t-6 -2q-8 0 -15 -12t-18 -17q-4 0 -3 2.5t-1 4.5q-2 4 -7 5t-5 5t5 13t-13 9q-8 0 -11.5 -6t-7.5 -12l-22 25l-17 2q0 8 3.5 14t-9.5 16q-6 4 -11 7.5t-11 3.5q-2 0 -9.5 -4.5t-13.5 -8.5t-6 -8t10 -4h-2q-6 0 -6 -8 q0 -2 9.5 -5t13.5 -3q4 2 6 -1.5t6 -3.5l8 3v-5q-2 -2 -2 -4l2 -8l-20 -10q-2 -2 -4 -2t-5 -2q0 -6 5.5 -12.5t-11.5 -6.5l-6 4q0 8 -16.5 13.5t-40 7.5t-47 3t-35.5 1l-33 -10l8 -19q-4 0 -5 -3t3 -5q-4 4 -15 14.5t-15 10.5l-17 4q-35 -2 -78 -33t-84 -72t-75.5 -84 t-53.5 -71zM471 674h2h-2zM487 1413q14 2 25.5 8t24.5 6l6 -4q6 -2 11 -2t9 -4q8 2 17 -2l6 4v8l-2 5l6 -2q6 0 12 10l-2 4q-4 2 -10 4t-10 2t-16.5 -5t-28 -11.5t-29.5 -12.5t-19 -8zM918 86q0 -4 3 -9t3 -9q0 -5 -2 -7q115 20 217 74.5t182 140.5h-2q-8 -4 -14 0l-5 -4 l-12 4h-4l-4 -8l2 8q-6 8 -14 15l-4 2q-4 0 -4 -8q2 16 -8.5 27.5t-26.5 11.5q0 -2 -2 -2h-4l-5 4h7l4 12l-11 8l-2 -2q-14 2 -20 16l-4 2l-2 -2l-4 -2q-12 -4 -21 -8q-12 4 -18 10l-27 -2q0 6 -4 12.5t-12 6.5q-10 0 -20.5 -2t-14.5 -13q0 -4 2 -8t4 -6v-8l-2 -6l-4 -2h-2 l-6 16l6 10q-2 4 -2 10.5t-2 10.5l-2 4h-6l-15 -10h-8l-4 -4q-2 -2 -2 -4t-2 -3l-2 3h-8q-8 -8 -9 -19l3 -4l-9 -6l-2 -4l-6 -4q0 -2 -1 -2t-1 -2v-2v-9l-2 -2v4l-2 2q-2 12 -23 21h-6v-4q2 -6 8.5 -10.5t10.5 -8.5q-2 2 -5 1t-3 -3v-4l14 -20v-39l4 -10q-4 -16 -16 -27v2 l-4 -2l-3 -2l-2 -10l2 -2v-2l-4 4l-2 -13l-12 -4q-6 -4 -5 -11t-5 -11l2 -4l-6 -6q0 -4 -1 -6.5t-1 -6.5l2 -14l6 -4l4 4l2 6l2 -12q0 -4 -4 -8q-6 -4 -12 -9.5t-6 -15.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1593" d="M8 242q0 33 12.5 62.5t34.5 51.5l609 609q-16 66 -17 122q0 98 38 186.5t102.5 153t151.5 102.5t185 38q94 0 181.5 -36t154.5 -101l-442 -162l-43 -236l184 -153l443 159q-10 -92 -50.5 -171t-104 -137t-145 -91t-174.5 -33q-61 0 -127 17l-606 -607q-47 -47 -112 -47 q-68 0 -115 47q-23 23 -50.5 47.5t-52 52t-41 58.5t-16.5 68zM203 242q0 -33 22.5 -56.5t57.5 -23.5q33 0 56 23.5t23 56.5q0 35 -23.5 57.5t-55.5 22.5q-35 0 -57.5 -23t-22.5 -57z" />
|
||||
<glyph unicode="" d="M0 76v217q0 31 22.5 53.5t53.5 22.5h1689q33 0 55.5 -22.5t22.5 -53.5v-217q0 -31 -22.5 -53.5t-55.5 -22.5h-1689q-31 0 -53.5 22.5t-22.5 53.5zM0 662v215q0 31 22.5 53t53.5 22h1689q33 0 55.5 -22.5t22.5 -52.5v-215q0 -33 -22.5 -55.5t-55.5 -22.5h-1689 q-31 0 -53.5 22.5t-22.5 55.5zM0 1243v217q0 31 22.5 53.5t53.5 22.5h1689q33 0 55.5 -22.5t22.5 -53.5v-217q0 -31 -22.5 -53.5t-55.5 -22.5h-1689q-31 0 -53.5 22.5t-22.5 53.5zM752 692h999v154h-999v-154zM1059 109h692v153h-692v-153zM1366 1274h385v153h-385v-153z " />
|
||||
<glyph unicode="" horiz-adv-x="1566" d="M0 1458q0 33 22.5 55.5t55.5 22.5h1411q33 0 55.5 -22.5t22.5 -55.5t-23 -55l-565 -565v-791q0 -33 -22.5 -55.5t-55.5 -22.5t-55 23l-236 235q-23 23 -22 56v555l-565 565q-23 23 -23 55z" />
|
||||
<glyph unicode="" d="M0 115v512h713q-2 -6 -2 -19v-153q0 -55 38.5 -95.5t96.5 -40.5h153q55 0 94.5 40t39.5 96v153q0 12 -3 19h713v-512q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM0 743v371q0 47 34 81t81 34h424v231q0 31 21.5 53.5t53.5 22.5h615q33 0 55.5 -22.5 t22.5 -53.5v-231h422q47 0 80.5 -34t33.5 -81v-371h-1843zM692 1229h461v153h-461v-153zM825 455v153q0 18 21 19h153q18 0 19 -19v-153q0 -18 -19 -19h-153q-20 0 -21 19z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 80v477q0 51 24.5 61.5t59.5 -24.5l162 -162l340 338l-338 338l-164 -164q-35 -35 -59.5 -25.5t-24.5 60.5v477q0 31 23 57q27 23 57 23h477q51 0 61.5 -24.5t-24.5 -59.5l-160 -158l338 -338l332 334l-162 162q-35 35 -24.5 59.5t61.5 24.5h477q33 0 55 -23 q25 -25 25 -57v-477q0 -51 -24.5 -61.5t-59.5 24.5l-162 162l-334 -334l338 -336l158 160q35 35 59.5 24.5t24.5 -61.5v-477q0 -35 -25 -55q-23 -25 -55 -25h-477q-51 0 -61.5 24.5t24.5 59.5l166 166l-336 336l-340 -340l162 -162q35 -35 24.5 -59.5t-61.5 -24.5h-477 q-31 0 -55 25q-25 20 -25 55z" />
|
||||
<glyph unicode="" horiz-adv-x="1880" d="M0 852v152q0 18 1 47.5t10 56.5t29.5 46.5t57.5 19.5q-45 29 -71.5 75.5t-26.5 104.5q0 43 16.5 82t46 68.5t68.5 46t82 16.5q45 0 84 -16.5t67.5 -46t46 -68.5t17.5 -82q0 -57 -27.5 -104t-72.5 -76q37 0 57.5 -19.5t29.5 -46.5t11 -56.5t2 -47.5v-152 q-14 -8 -23.5 -18.5t-27.5 -10.5h-328q-16 0 -26.5 10.5t-22.5 18.5zM158 57v387q0 78 45 138.5t98 109.5q10 10 25.5 21.5t33.5 15.5q18 6 41 7t45 5q61 10 130 19.5t135 19.5q-90 57 -144.5 151.5t-54.5 207.5q0 88 34 166.5t92 136t136 91.5t166 34t166 -34t136 -91.5 t92 -136t34 -166.5q0 -113 -54 -207t-145 -152q66 -10 134.5 -19t130.5 -20q23 -4 45 -5t41 -7q18 -4 33.5 -15.5t27.5 -21.5q66 -59 103.5 -116.5t37.5 -131.5v-387q-12 -6 -20 -13t-18.5 -14t-23.5 -14.5t-36 -15.5h-1368q-35 0 -54.5 22.5t-43.5 34.5zM1452 852v152 q0 18 2 47.5t11.5 56.5t30 46.5t56.5 19.5q-45 29 -72.5 75.5t-27.5 104.5q0 43 16.5 82t46 68.5t68.5 46t84 16.5q43 0 82 -16.5t68.5 -46t46 -68.5t16.5 -82q0 -57 -26.5 -104t-71.5 -76q37 0 56.5 -19.5t28.5 -46.5t11 -56.5t2 -47.5v-152q-12 -8 -22.5 -18.5 t-26.5 -10.5h-328q-18 0 -27.5 10.5t-23.5 18.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 1137q0 88 34 166.5t92 137t136 92.5t168 34q86 0 166 -33t139 -92q8 -8 21.5 -20.5t26 -25t21.5 -25.5t9 -25q0 -18 -12 -31q-6 -8 -25 -12q-47 -10 -88 -22.5t-86 -31.5q-4 -4 -16 -4t-25.5 10.5t-31 21.5t-42 21.5t-57.5 10.5q-35 0 -66.5 -13.5t-54 -37t-36 -54 t-13.5 -67.5q0 -41 17.5 -75t43 -63.5t56.5 -56.5t57 -53l180 -178q23 -25 54.5 -37t66.5 -12q43 0 73 16t46 16q12 0 39 -21.5t55.5 -49t50 -55t21.5 -42.5q0 -29 -36 -51t-83 -38.5t-94 -26t-72 -9.5q-86 0 -164.5 33t-140.5 92l-303 305q-61 59 -94 139.5t-33 166.5z M578 1010q0 29 35.5 51t82.5 38.5t94 26t72 9.5q86 0 166 -33t139 -92l303 -305q61 -59 94 -139.5t33 -166.5q0 -90 -33.5 -167.5t-92 -136t-137.5 -92.5t-167 -34q-86 0 -165.5 34t-139.5 93q-8 8 -21.5 19.5t-25.5 25t-21.5 26.5t-9.5 26q0 18 13 28q6 8 24 12 q47 10 88 22.5t86 33.5q12 4 17 4q12 0 25.5 -10.5t30.5 -21.5t41 -21.5t58 -10.5q72 0 121 49.5t49 120.5q0 41 -17 76t-44 63.5t-56.5 55.5t-56.5 53l-178 180q-53 49 -123 50q-43 0 -72.5 -17.5t-46.5 -17.5q-12 0 -38.5 21.5t-55 49t-50 56t-21.5 41.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1880" d="M0 391q0 70 23.5 132.5t64.5 113.5t96.5 86t120.5 51q-33 41 -51 90t-18 105q0 66 24.5 123t66.5 99t99 66.5t123 24.5q113 0 196 -72q18 76 61.5 141.5t103 113.5t133 75t157.5 27q96 0 182 -37t149.5 -100.5t100.5 -149.5t37 -182q0 -57 -13 -109.5t-36 -99.5 q117 -59 188.5 -170t71.5 -248q0 -98 -37 -183t-101.5 -149.5t-149.5 -101.5t-183 -37h-1018q-80 0 -151.5 30.5t-125 84t-84 125t-30.5 151.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M16 72q-39 72 7 141l516 803v366h-78q-33 0 -54.5 22.5t-21.5 55.5q0 31 21.5 53.5t54.5 22.5h614q33 0 55.5 -22.5t22.5 -53.5q0 -33 -22.5 -55.5t-55.5 -22.5h-76v-368l514 -801q45 -70 7 -141q-18 -35 -51 -53.5t-70 -18.5h-1262q-37 0 -69.5 18.5t-51.5 53.5z M377 479h782l-313 490v413h-154v-411z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 180q0 86 44 168t113.5 146.5t154.5 103.5t169 39h13q18 25 57 60.5t63 58.5v12v12q-12 12 -28.5 27.5t-35 32t-33.5 32t-23 27.5q-84 -6 -172.5 33t-160 105.5t-116.5 150.5t-45 168q0 98 62.5 154.5t160.5 56.5q82 0 168 -39t155.5 -103.5t114 -146.5t44.5 -168 q0 -10 -1.5 -21.5t-3.5 -21.5l86 -76l34 17q34 18 90.5 46.5t129 65.5t148.5 76t150.5 77t135 69.5t102.5 52t52 26.5q16 8 37 9q14 0 39 -4.5t52.5 -9.5t53 -11t41.5 -8q29 -4 47.5 -26.5t18.5 -51.5q0 -43 -35 -66l-700 -485l700 -485q35 -23 35 -66q0 -29 -18.5 -51.5 t-47.5 -26.5q-16 -4 -41.5 -9t-53 -10t-52.5 -9.5t-39 -4.5q-10 0 -18.5 2.5t-18.5 6.5l-842 430l-86 -76q2 -10 3.5 -21.5t1.5 -21.5q0 -86 -44.5 -168t-114 -146.5t-155.5 -103.5t-168 -39q-98 0 -160.5 56.5t-62.5 154.5zM197 1358q0 -23 11 -49.5t27.5 -51t35 -45 t34.5 -34.5q35 -29 82 -54.5t94 -25.5q10 0 27 4v6q0 23 -11.5 48.5t-27.5 50t-34.5 46t-35.5 35.5q-35 29 -82 54.5t-94 25.5q-14 0 -26 -4v-6zM199 180q0 -6 2 -10q6 0 11 -1t11 -1q41 0 90 24.5t92.5 61.5t72 83t28.5 89q0 4 -1 5t-1 5q-8 2 -23 2q-41 0 -90 -24.5 t-92 -61.5t-71.5 -83t-28.5 -89zM586 616q53 -25 82 -69l108 96l45 -27l1016 703l-172 31l-975 -498l6 -127zM586 920l35 -35q12 29 36.5 41t53.5 26l-43 37q-29 -45 -82 -69zM741 768q0 35 23.5 57.5t58.5 22.5q33 0 55.5 -22.5t22.5 -57.5q0 -33 -22.5 -56.5t-57.5 -23.5 q-33 0 -56.5 23.5t-23.5 56.5zM903 575l762 -389l172 31l-727 502z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 385v707q0 33 16.5 70.5t38.5 60.5l258 258q23 23 61 39t70 16h463q31 0 53.5 -22.5t22.5 -53.5v-250q16 8 35.5 13.5t40.5 5.5h463q31 0 53 -22.5t22 -53.5v-1075q0 -33 -22.5 -55.5t-52.5 -22.5h-830q-33 0 -55.5 22.5t-22.5 55.5v229h-536q-33 0 -55.5 22.5 t-22.5 55.5zM154 461h460v293q0 45 10.5 87t45.5 74l159 162v305h-278v-321q0 -31 -22.5 -53.5t-53.5 -22.5h-321v-524zM186 1139h211v211zM768 154h676v921h-279v-321q0 -31 -22.5 -53.5t-52.5 -22.5h-322v-524zM801 831h211v211z" />
|
||||
<glyph unicode="" horiz-adv-x="1470" d="M0 1128q0 90 35 170t94 139.5t139 94.5t170 35q88 0 169 -34t143 -95l655 -656q12 -12 12 -28q0 -10 -11 -26.5t-26.5 -32t-32 -27t-26.5 -11.5q-16 0 -29 13l-655 655q-41 41 -92 61.5t-107 20.5q-57 0 -108 -21.5t-89 -59.5t-59.5 -89t-21.5 -109q0 -55 20.5 -106 t61.5 -92l745 -746q55 -55 133 -55q39 0 74 15.5t60.5 41t41 60.5t15.5 73q0 78 -56 134l-563 563q-29 29 -69 28q-41 0 -71 -29.5t-30 -70.5t29 -70l475 -475q12 -12 12 -28q0 -10 -11 -26.5t-26.5 -32t-32 -27t-26.5 -11.5q-16 0 -29 13l-475 473q-35 37 -55.5 85 t-20.5 99q0 53 20.5 100.5t55.5 83t83.5 56t101.5 20.5q51 0 99 -20.5t85 -55.5l561 -563q102 -102 102 -246q0 -74 -27.5 -137t-74.5 -110t-110.5 -75t-137.5 -28q-143 0 -246 103l-745 745q-61 61 -95 142t-34 169z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 154v1228q0 63 45 108.5t109 45.5h1075q63 0 108 -45l154 -154q45 -45 45 -108v-1075q0 -63 -45 -108.5t-109 -45.5h-1228q-63 0 -108.5 45t-45.5 109zM154 846h1075v536h-1075v-536zM846 922v385h190v-385h-190z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1150q-80 0 -136.5 56.5t-56.5 136.5z" />
|
||||
<glyph unicode="" d="M0 78v215q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-215q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM0 659v218q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-218q0 -31 -22.5 -53t-53.5 -22h-1689 q-33 0 -55.5 22.5t-22.5 52.5zM0 1243v217q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-217q0 -31 -22.5 -53.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 53.5z" />
|
||||
<glyph unicode="" d="M0 211q0 39 15.5 75t41 61.5t60.5 40.5t76 15q39 0 73.5 -15t61 -40.5t42 -61.5t15.5 -75q0 -41 -15.5 -76t-42 -60.5t-61.5 -41t-73 -15.5q-80 0 -136.5 56.5t-56.5 136.5zM0 768q0 39 15.5 75t41 61.5t60.5 41t76 15.5q39 0 73.5 -15.5t61 -41t42 -61.5t15.5 -75 q0 -41 -15.5 -76t-42 -60.5t-61.5 -41t-73 -15.5q-41 0 -76 15.5t-60.5 41t-41 60.5t-15.5 76zM0 1325q0 39 15.5 75t41 61.5t60.5 41t76 15.5q39 0 73.5 -15.5t61 -41t42 -61.5t15.5 -75q0 -41 -15.5 -76t-42 -60.5t-61.5 -40.5t-73 -15q-41 0 -76 15t-60.5 40.5t-41 60.5 t-15.5 76zM522 154v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1167q-33 0 -55.5 21.5t-22.5 54.5zM522 711v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5 h-1167q-33 0 -55.5 22.5t-22.5 55.5zM522 1268v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1167q-33 0 -55.5 22.5t-22.5 55.5z" />
|
||||
<glyph unicode="" d="M0 594q0 55 30.5 90t68.5 61.5t69 50t31 56.5q0 29 -17.5 44t-46.5 15q-25 0 -44 -15t-34 -36l-53 37q23 39 58.5 60.5t78.5 21.5q55 0 96.5 -32t41.5 -91q0 -49 -30 -80t-67 -55.5t-67.5 -47t-30.5 -55.5h143v54h66v-115h-289q-2 10 -3 18.5t-1 18.5zM4 55l37 54 q6 -4 12 -10.5t15 -10.5q12 -8 29.5 -14t37.5 -6q35 0 55.5 18t20.5 47q0 31 -23.5 48.5t-58.5 17.5h-23l-16 37l90 108l6 6t7 6l4 6h-9q-4 -2 -14 -2h-92v-49h-66v111h263v-53l-97 -115q41 -6 74 -35t33 -82t-38 -95t-110 -42q-35 0 -60.5 9t-41.5 20q-25 14 -35 26z M14 1434l105 102h67v-360h93v-62h-259v62h93v258v8h-2q-10 -16 -22.5 -28.5t-29.5 -27.5zM522 154v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1167q-33 0 -55.5 21.5t-22.5 54.5zM522 711v114q0 33 22.5 55.5 t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1167q-33 0 -55.5 22.5t-22.5 55.5zM522 1268v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1167q-33 0 -55.5 22.5t-22.5 55.5z " />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 692v152h1536v-152h-1536zM268 1114q0 117 44 202t118 141t170 83t203 27q88 0 176 -20.5t172 -49.5q20 -72 27.5 -156t7.5 -157q0 -10 -1 -22.5t-3 -24.5l-13 -2q-23 2 -50 2t-50 6q-18 59 -44 114.5t-62.5 98.5t-88 68.5t-122.5 25.5q-49 0 -94.5 -13.5t-80 -40 t-56 -66.5t-21.5 -93q0 -59 28.5 -102t75.5 -75t105.5 -54.5t118 -42t113.5 -39t93 -41.5h-696q-33 53 -51.5 110.5t-18.5 120.5zM285 310v63v45l110 2q31 -72 64 -134.5t76 -108.5t104 -71.5t152 -25.5q55 0 110 16.5t100.5 48t74 78.5t28.5 109q0 76 -49 128t-119 88 t-146.5 59.5t-132.5 45.5h617q8 -16 15 -38.5t10.5 -48t5.5 -50t2 -43.5q0 -131 -47.5 -226t-127 -156.5t-186 -91.5t-225.5 -30q-53 0 -93 4t-78 12.5t-78 20.5t-93 29q-12 4 -38 12t-36 16q-8 6 -12 50.5t-6 96.5t-2 100z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 0v154h1536v-154h-1536zM0 1532q10 2 19.5 2h19.5q72 0 140.5 -5t137.5 -5q100 0 200.5 2t199.5 6q-4 -16 -1 -36.5t3 -37.5v-8q-66 -10 -108 -7t-65.5 -5t-32.5 -39t-9 -109q0 -137 4 -272t10 -273q8 -147 88 -237t238 -90q125 0 207 29.5t131 88t69.5 146.5t20.5 203 q0 20 -2 65t-5 102.5t-8.5 119t-11.5 113.5t-13 89t-15 45q-33 33 -78 33q-6 0 -23.5 -1t-36 -1t-34 1t-21.5 3l2 82q82 4 163 -3t165 -7q39 0 77.5 5t79.5 5q4 0 9.5 -1t9.5 -1q2 -12 4 -24.5t2 -24.5t-4 -29q-23 -6 -52.5 -8t-58 -7t-48 -16.5t-19.5 -38.5q0 -14 1 -27 t3 -28q2 -6 5 -38.5t5 -79t4 -101.5t4 -103t3 -85t1 -50q0 -37 -2 -80.5t-8 -89t-17.5 -87.5t-29.5 -74q-41 -68 -104.5 -114t-137 -72.5t-153.5 -38t-154 -11.5q-72 0 -144.5 9.5t-140.5 35.5q-96 35 -151 88.5t-84 121t-36 148.5t-7 173v321v42t-1 62.5t-5 60.5t-10 38 q-12 16 -37 23.5t-53.5 10.5t-56.5 3t-44 4z" />
|
||||
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h460v335h-460v-335zM154 565h460v332h-460v-332zM154 975h460v332h-460v-332zM692 154h461v335h-461v-335zM692 565h461v332h-461v-332z M692 975h461v332h-461v-332zM1229 154h461v335h-461v-335zM1229 565h461v332h-461v-332zM1229 975h461v332h-461v-332z" />
|
||||
<glyph unicode="" d="M0 197q0 39 29 61l1579 1247q20 17 47 17q35 0 59 -29q10 -12 29.5 -33.5t38 -44t32 -47.5t13.5 -43q0 -39 -29 -61l-1579 -1248q-20 -16 -47 -16q-37 0 -59 29q-10 12 -30 33.5t-38 44t-31.5 47t-13.5 43.5zM256 922l117 36l37 117l34 -117l119 -36l-119 -37l-34 -117 l-37 117zM373 1229l235 71l72 236l72 -236l235 -71l-235 -72l-72 -235l-72 235zM942 1382l117 37l37 117l37 -117l116 -37l-116 -36l-37 -117l-37 117zM1286 1153l94 -121l369 291l-94 121zM1536 885l117 35l37 118l36 -118l117 -35l-117 -37l-36 -117l-37 117z" />
|
||||
<glyph unicode="" d="M0 358v404q0 25 6 51.5t17.5 53t27 51t31.5 40.5l223 222q16 16 41 31.5t51.5 26.5t53 17.5t51.5 6.5h80v198q0 31 22.5 53.5t52.5 22.5h1108q33 0 55.5 -22.5t22.5 -53.5v-1102q0 -31 -22.5 -53t-55.5 -22h-75v-7q0 -63 -25 -119.5t-65.5 -97.5t-97 -65.5t-120.5 -24.5 q-63 0 -119.5 24.5t-97.5 65.5t-65.5 97.5t-24.5 119.5v7h-307v-7q0 -63 -24.5 -119.5t-65.5 -97.5t-97.5 -65.5t-119.5 -24.5t-119.5 24.5t-97.5 65.5t-65.5 97.5t-24.5 119.5v7h-78q-31 0 -53.5 22.5t-22.5 52.5zM193 700h387v369h-78q-10 0 -31.5 -8t-30.5 -17l-223 -221 q-8 -8 -16 -29.5t-8 -31.5v-62zM346 276q0 -47 34 -80.5t81 -33.5t80.5 33.5t33.5 80.5t-33.5 81t-80.5 34t-81 -33.5t-34 -81.5zM1268 276q0 -47 33.5 -80.5t80.5 -33.5t81 33.5t34 80.5t-33.5 81t-81.5 34q-47 0 -80.5 -33.5t-33.5 -81.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5q-59 0 -115.5 8.5t-112.5 24.5q23 35 46.5 80t35.5 92l11 41q6 23 16 66t29 112q23 -41 76 -70.5t118 -29.5q96 0 176 41 t136.5 114.5t88 174t31.5 217.5q0 88 -35.5 171t-102.5 147.5t-160 102t-208 37.5q-141 0 -248.5 -46t-179 -118.5t-107.5 -160.5t-36 -174q0 -104 40 -187.5t124 -117.5q31 -10 41 20q2 10 7 31.5t9 32.5q4 16 1 23t-13 22q-53 59 -53 155q0 76 27.5 145.5t78.5 122t124 84 t163 31.5q80 0 142.5 -23.5t105.5 -64.5t64.5 -96t21.5 -121q0 -86 -18.5 -164t-52.5 -136t-80 -92t-103 -34q-31 0 -57.5 12.5t-45 34t-25.5 49t1 60.5q18 76 44.5 151.5t26.5 130.5q0 49 -26.5 84t-81.5 35q-66 0 -110 -58.5t-44 -146.5q-2 -23 2 -45q2 -18 7.5 -40.5 t15.5 -41.5q-33 -141 -53.5 -225t-30.5 -131q-12 -55 -18 -80q-10 -45 -13.5 -93t-1.5 -89q-104 45 -192 119.5t-151.5 169t-98.5 207t-35 235.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-829q27 39 59.5 95.5t49.5 117.5l10 41q6 25 17.5 68t29.5 112q20 -41 75.5 -70.5t121.5 -29.5q96 0 176 42t137 115.5 t89 175t32 220.5q0 90 -37 173t-103.5 147.5t-161 102.5t-208.5 38q-143 0 -251 -46.5t-180.5 -120t-108.5 -162.5t-36 -175q0 -104 40 -188.5t124 -118.5q14 -6 25.5 -1t15.5 21q4 10 8 31.5t8 34.5q8 23 -12 43q-23 29 -37 67.5t-14 91.5q0 76 27.5 145.5t79 123t124 85 t164.5 31.5q82 0 144.5 -23.5t105.5 -64.5t64.5 -97t21.5 -124q0 -86 -18.5 -164t-52 -136t-81 -93t-104.5 -35q-31 0 -57.5 12.5t-45 34t-25.5 49t1 60.5q18 78 45 154.5t27 131.5q0 49 -26.5 85t-82.5 36q-66 0 -110.5 -59t-44.5 -150q-2 -23 2 -45q4 -43 22 -84 q-35 -141 -54.5 -226t-29.5 -132q-12 -55 -18 -80q-16 -70 -14 -142.5t6 -117.5h-260q-80 0 -136.5 56.5t-56.5 136.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 342v438q55 -68 120.5 -96.5t153.5 -28.5h36t34 4q-8 -23 -14 -42t-6 -42q0 -41 18 -77.5t43 -67.5q-104 -4 -198.5 -22.5t-186.5 -65.5zM0 1214v129q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5 t-61.5 -41t-75 -15.5h-583q23 39 36 81t13 89q0 70 -21.5 121t-54.5 90t-70.5 69.5t-70.5 57.5t-54.5 53.5t-21.5 59.5q0 49 34 81.5t76 72.5t75.5 99.5t33.5 163.5q0 78 -39 157t-106 122h131l133 76h-428q-129 0 -237.5 -36t-188.5 -143zM2 170q14 57 55 96t96.5 61.5 t115 33t110.5 10.5h31.5t31.5 -2q37 -27 78 -54.5t75 -61.5t55.5 -75t21.5 -92q0 -47 -19 -86h-460q-72 0 -126.5 49t-64.5 121zM102 1094q0 43 11.5 85t35 73.5t59.5 51t85 19.5q68 0 118 -41t81.5 -100.5t47 -128t15.5 -123.5q0 -45 -9 -84t-30.5 -68.5t-56.5 -47 t-84 -17.5q-66 0 -116 39t-85 96t-53.5 123.5t-18.5 122.5zM854 1051h223v-224h109v224h223v108h-223v225h-109v-225h-223v-108z" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 262q0 100 56.5 166t139.5 105.5t179 56t174 18.5q-23 29 -41.5 64t-18.5 76q0 23 6.5 41t14.5 40q-16 -4 -33.5 -4h-34.5q-68 0 -130 23.5t-108 66.5t-74 101.5t-28 130.5q0 68 25 128t67 109.5t98 84t120 49.5q88 18 176 18h411l-127 -74h-127q72 -43 107 -120.5 t35 -157.5q0 -94 -33 -149.5t-73 -94.5t-72.5 -70.5t-32.5 -78.5q0 -45 44 -82t97 -82t97 -107.5t44 -161.5q0 -102 -50 -175.5t-126.5 -121t-170 -70t-181.5 -22.5q-66 0 -141.5 15.5t-140 50.5t-106.5 90t-42 137zM174 307q0 -68 35 -116t87 -78.5t114.5 -44t117.5 -13.5 q51 0 104.5 11.5t96.5 38t69.5 68.5t26.5 103q0 49 -21.5 89.5t-53 72t-70.5 59t-76 52.5q-14 2 -29.5 3t-29.5 1q-57 0 -123 -12.5t-121 -41t-91 -75.5t-36 -117zM276 1247q0 -53 17.5 -117.5t51.5 -120t82.5 -92t111.5 -36.5q96 0 134 61.5t38 147.5q0 53 -14.5 118.5 t-45 124t-78 97t-112.5 38.5q-47 0 -82 -18t-57.5 -49t-34 -71t-11.5 -83zM999 1206h215v-215h107v215h215v105h-215v217h-107v-217h-215v-105z" />
|
||||
<glyph unicode="" d="M0 78v1382q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-1382q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM154 461q63 0 119.5 -24.5t97.5 -65.5t65.5 -97.5t24.5 -119.5h921q0 63 25 119.5t65.5 97.5t97 65.5t120.5 24.5v614 q-63 0 -120 24.5t-97.5 65.5t-65.5 97.5t-25 119.5h-921q0 -63 -24.5 -119.5t-65.5 -97.5t-97.5 -65.5t-119.5 -24.5v-614zM539 768q0 104 29.5 195.5t81.5 159t122 106.5t150 39t149.5 -39t121.5 -106.5t83 -159t31 -195.5t-31 -195.5t-83 -159t-122 -106.5t-149 -39 q-80 0 -150 39t-122 106.5t-81.5 159t-29.5 195.5zM692 969l94 -99l39 35q8 6 11.5 13.5t7.5 11.5q4 2 8 10h2v-16q0 -8 -1 -16.5t-1 -18.5v-283h-139v-129h438v129h-141v529h-140z" />
|
||||
<glyph unicode="" horiz-adv-x="1228" d="M6 967q20 47 72 47h1075q50 0 70 -47t-17 -84l-536 -537q-27 -23 -56 -22q-29 0 -55 22l-536 537q-37 37 -17 84z" />
|
||||
<glyph unicode="" horiz-adv-x="1228" d="M6 371q-20 47 17 84l536 536q23 23 55 23q31 0 54 -23l538 -536q37 -37 17 -84t-70 -47h-1077q-50 0 -70 47z" />
|
||||
<glyph unicode="" horiz-adv-x="692" d="M0 768q0 33 23 55l538 537q16 16 38 21t44 -5q23 -8 36 -27.5t13 -41.5v-1076q0 -25 -13 -43t-36 -28t-44 -5t-38 21l-538 539q-23 23 -23 53z" />
|
||||
<glyph unicode="" horiz-adv-x="692" d="M0 231v1076q0 49 47 69t84 -16l539 -537q23 -23 22 -55q0 -31 -22 -53l-539 -539q-37 -37 -84 -16q-47 20 -47 71z" />
|
||||
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h692v1153h-692v-1153zM999 154h691v1153h-691v-1153z" />
|
||||
<glyph unicode="" horiz-adv-x="1228" d="M0 584q0 31 22.5 54.5t53.5 23.5h1075q33 0 55.5 -23t22.5 -55q0 -33 -23 -56l-536 -536q-23 -23 -56 -23t-55 23l-536 536q-23 23 -23 56zM0 952q0 33 23 56l536 536q23 23 55 23q33 0 56 -23l536 -536q23 -23 23 -56q0 -31 -22.5 -54.5t-55.5 -23.5h-1075 q-31 0 -53.5 23t-22.5 55z" />
|
||||
<glyph unicode="" horiz-adv-x="1228" d="M0 584q0 31 22.5 54.5t53.5 23.5h1077q31 0 53.5 -23t22.5 -55q0 -33 -23 -56l-536 -536q-23 -23 -56 -23q-35 0 -53 23l-538 536q-23 23 -23 56z" />
|
||||
<glyph unicode="" horiz-adv-x="1228" d="M0 952q0 33 23 56l536 536q23 23 55 23q33 0 56 -23l536 -536q23 -23 23 -56q0 -31 -22.5 -54.5t-53.5 -23.5h-1077q-31 0 -53.5 23t-22.5 55z" />
|
||||
<glyph unicode="" d="M0 115v905q10 -10 20.5 -17.5t20.5 -15.5q129 -96 256 -191.5t252 -195.5q39 -31 82 -62.5t89 -57t96.5 -41t103.5 -15.5q55 0 105 15.5t96 40t89 56t84 64.5q125 100 252 195.5t256 191.5q10 8 20.5 15.5t20.5 17.5v-905q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34 t-34 81zM2 1434q0 41 36 71.5t77 30.5h1614q41 0 76.5 -30.5t35.5 -71.5q0 -31 -18.5 -69t-45 -75t-57 -67.5t-53.5 -48.5q-123 -92 -241.5 -182.5t-239.5 -182.5q-25 -18 -57.5 -45t-67.5 -51.5t-71 -42t-66 -17.5h-2h-2q-31 0 -67 17.5t-70.5 42t-67.5 51.5t-58 45 q-121 92 -239.5 182t-241.5 183q-23 18 -53.5 48.5t-57 67.5t-45 75t-18.5 69z" />
|
||||
<glyph unicode="" horiz-adv-x="1576" d="M0 1376q0 39 15.5 74t41 60.5t60 41t73.5 15.5t74 -15.5t61.5 -41t41 -60.5t14.5 -74t-14.5 -73.5t-41 -60t-61.5 -41t-74 -15.5t-73.5 15.5t-60 41t-41 60t-15.5 73.5zM10 41v991q0 16 12.5 28.5t28.5 12.5h281q16 0 28.5 -12t12.5 -29v-991q0 -16 -12.5 -28.5 t-28.5 -12.5h-281q-16 0 -28.5 12.5t-12.5 28.5zM524 41v991q0 16 12.5 28.5t28.5 12.5h273q33 0 37 -25.5t4 -48.5q57 53 129.5 76t150.5 23q190 0 304 -95.5t114 -293.5v-668q0 -16 -12.5 -28.5t-28.5 -12.5h-289q-16 0 -27.5 12.5t-11.5 28.5v604q0 76 -27.5 116 t-111.5 40q-53 0 -89 -17.5t-56.5 -47t-28.5 -70.5t-8 -88v-537q0 -16 -12.5 -28.5t-28.5 -12.5h-281q-16 0 -28.5 12.5t-12.5 28.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1591" d="M0 662q-4 39 35 45l158 20q12 2 30 -8q12 -8 15 -27q14 -102 63 -191t123 -153.5t169 -101.5t200 -37q115 0 217 44t178 120t120 177t44 218t-44 218t-120 177t-178.5 120t-216.5 44q-94 0 -181.5 -30.5t-158.5 -88.5l159 -159q35 -35 24 -58.5t-58 -23.5h-463 q-16 0 -29.5 6t-24.5 16q-25 25 -24 55v463q0 47 24.5 57.5t59.5 -24.5l162 -162q109 92 238.5 140.5t271.5 48.5q166 0 311 -62.5t253.5 -171t171 -254t62.5 -311.5t-62.5 -311.5t-171 -254t-254 -171t-310.5 -62.5q-150 0 -285 52.5t-241.5 145.5t-176.5 220t-90 275z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 651q0 49 37 91t88 42q35 0 68 -22q-20 14 -21 37q0 8 8 24l334 502q14 20 37 21q16 0 24 -9q-25 18 -40 43t-15 56q0 49 38 90t87 41q33 0 62 -19l514 -342q23 -16 36 -40.5t13 -53.5q0 -25 -10.5 -48.5t-26.5 -41.5t-40 -29.5t-48 -11.5q-33 0 -68 23q20 -14 21 -37 q0 -14 -8 -25l-105 -158l227 -151q14 4 28 6t28 2q53 0 94 -29l475 -315q37 -27 58.5 -65.5t21.5 -84.5q0 -74 -52.5 -126t-125.5 -52q-55 0 -99 31l-475 315q-70 47 -75 131l-228 152l-106 -158q-14 -20 -37 -20q-14 0 -25 8q55 -39 56 -100q0 -25 -10.5 -47.5t-28 -41 t-40 -29.5t-46.5 -11q-35 0 -62 18l-514 342q-49 33 -49 92z" />
|
||||
<glyph unicode="" horiz-adv-x="1880" d="M0 627q0 195 73.5 365.5t201.5 298.5t299 202t366 74t366 -74t299 -202t201.5 -299t73.5 -365q0 -78 -14.5 -159t-42 -159t-68.5 -149.5t-92 -130.5q-23 -29 -59 -29h-1328q-37 0 -59 29q-53 59 -93 130.5t-67.5 149.5t-42 159t-14.5 159zM158 627q0 -49 33.5 -83 t82.5 -34t83 34t34 83t-34.5 82.5t-82.5 33.5q-49 0 -82.5 -33.5t-33.5 -82.5zM352 1098q0 -49 35 -84t82 -35q49 0 84 35t35 84t-35 82.5t-84 33.5q-47 0 -82 -33.5t-35 -82.5zM743 313q0 -82 57.5 -139t139.5 -57t139.5 57t57.5 139q0 49 -26 91t-67 71q4 14 15.5 55 t27 95.5t33 114t30.5 110.5t22.5 88t9.5 43q0 23 -17.5 40t-40.5 17q-20 0 -35.5 -12t-21.5 -31l-135 -487q-39 -2 -74 -17.5t-60.5 -42t-40 -61.5t-14.5 -74zM823 1292q0 -49 34 -82.5t83 -33.5t83 33.5t34 82.5t-34 83t-83 34t-83 -34t-34 -83zM1292 1098q0 -49 35 -83 t84 -34t83 34t34 83t-34 82.5t-83 33.5t-84 -33.5t-35 -82.5zM1489 627q0 -49 34 -83t83 -34t82.5 34t33.5 83t-33.5 82.5t-82.5 33.5t-83 -33.5t-34 -82.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 866q0 123 49 225.5t130 183.5t184.5 139.5t209.5 92.5q94 31 190.5 45.5t194.5 14.5t194.5 -14.5t190.5 -45.5q106 -35 210 -93t185 -139t130 -183.5t49 -225.5t-49 -225t-130 -183t-184.5 -140.5t-210.5 -92.5q-94 -31 -190 -45t-195 -14q-92 0 -180 12 q-92 -72 -195.5 -119t-215.5 -73q-27 -4 -55.5 -10.5t-53.5 -6.5q-16 0 -27.5 11.5t-11.5 27.5q0 12 8.5 21.5t16.5 17.5q31 33 53 60.5t37.5 57.5t25 64.5t17.5 79.5q-78 43 -145.5 100.5t-120 128t-82 153.5t-29.5 175zM160 866q0 -72 24.5 -133t65.5 -113.5t94 -95.5 t111 -75q27 -14 51 -27.5t49 -28.5q-10 -47 -17.5 -94t-19.5 -94q59 29 111.5 64.5t105.5 76.5q55 -8 110.5 -14t112.5 -6q156 0 308 43q84 25 171 68.5t158.5 107t116.5 143.5t45 178t-45 178t-116.5 143.5t-158.5 107.5t-171 69q-152 43 -308 43q-158 0 -307 -43 q-84 -25 -171 -69t-158.5 -107.5t-116.5 -143t-45 -178.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1916" d="M0 997q0 98 40 182.5t106.5 151t150.5 113.5t170 76q76 25 154.5 36t156.5 11q80 0 159 -11.5t155 -35.5q86 -29 170 -76t149.5 -113.5t105 -150.5t39.5 -183q0 -98 -39.5 -182t-105 -149.5t-149.5 -113.5t-170 -77q-154 -47 -314 -47q-37 0 -72.5 3t-72.5 7 q-150 -115 -336 -155q-20 -4 -43 -9.5t-45 -5.5q-12 0 -21.5 9.5t-9.5 23.5q0 10 7.5 17.5l13.5 13.5q51 51 72.5 96t35.5 117q-63 35 -118.5 82t-97.5 104t-66.5 124t-24.5 142zM160 997q0 -72 30.5 -127t77.5 -99t104.5 -78t112.5 -64l-20 -111q33 18 63.5 42t59.5 46 q47 -6 95 -12t95 -6q135 0 264 41q61 18 124 52t114 81t84 105.5t33 129.5q0 72 -33 131.5t-84 105.5t-113.5 80t-124.5 52q-63 23 -129.5 32t-134.5 9q-66 0 -132 -9t-132 -32q-59 -18 -122.5 -52t-115 -80t-84 -105.5t-32.5 -131.5zM649 258l27 16q51 -6 102 -6 q197 0 381 62q111 37 211 99.5t177 147.5t123 190t46 230q0 41 -6 84q90 -72 148.5 -169t58.5 -214q0 -76 -24.5 -142.5t-66.5 -123.5t-97.5 -104t-118.5 -82q14 -72 35.5 -117t72.5 -96q6 -6 13.5 -14.5t7.5 -18.5q0 -16 -10.5 -23.5t-24.5 -7.5q-20 0 -43 5.5t-41 9.5 q-186 41 -336 155q-37 -4 -72.5 -7t-72.5 -3q-129 0 -254 32t-236 97z" />
|
||||
<glyph unicode="" horiz-adv-x="933" d="M0 557q0 8 2 10l209 932q4 16 16.5 26.5t28.5 10.5h344q18 0 31.5 -13.5t13.5 -33.5q0 -6 -1 -10t-3 -11l-180 -524q12 4 47 13.5t81 21.5t95 26.5t93 25.5t75 18.5t37 7.5q18 0 31.5 -13.5t13.5 -33.5q0 -12 -2 -19l-565 -1306q-10 -29 -43 -29q-18 0 -33 13.5t-15 33.5 q0 6 3 10l204 914q-12 -4 -48 -14.5t-82 -22.5t-97 -26.5t-95 -27t-76 -19.5t-38 -7q-20 0 -33.5 14.5t-13.5 32.5z" />
|
||||
<glyph unicode="" d="M0 78v383q0 33 22.5 55.5t55.5 22.5h133v153q0 55 40 94t95 39h518v174h-135q-31 0 -53.5 21.5t-22.5 54.5v385q0 31 22.5 53.5t53.5 22.5h385q31 0 53.5 -22.5t22.5 -53.5v-385q0 -33 -22.5 -54.5t-53.5 -21.5h-135v-174h518q55 0 95 -38.5t40 -94.5v-153h135 q31 0 53.5 -22.5t22.5 -55.5v-383q0 -33 -22.5 -55.5t-53.5 -22.5h-385q-33 0 -54 22.5t-21 55.5v383q0 33 21.5 55.5t53.5 22.5h136v153q0 18 -21 19h-518v-172h135q31 0 53.5 -22.5t22.5 -55.5v-383q0 -33 -22.5 -55.5t-53.5 -22.5h-385q-31 0 -53.5 22.5t-22.5 55.5v383 q0 33 22.5 55.5t53.5 22.5h135v172h-518q-20 0 -20 -19v-153h135q33 0 55.5 -22.5t22.5 -55.5v-383q0 -33 -22.5 -55.5t-55.5 -22.5h-383q-33 0 -55.5 22.5t-22.5 55.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1884" d="M0 770q31 137 109.5 253t193.5 204t257 141t302 66v53q0 35 23.5 57.5t56.5 22.5q35 0 57.5 -22.5t22.5 -57.5v-53q160 -12 303 -65.5t258 -141.5t192.5 -204t108.5 -253q6 -29 -20 -43q-10 -6 -19 -6q-20 0 -28 12q-98 102 -218 103q-86 0 -163.5 -54.5t-130.5 -152.5 q-10 -23 -35 -23t-35 23q-82 150 -213 194v-526q0 -68 -23.5 -127t-63.5 -104.5t-93.5 -71t-114.5 -25.5t-115.5 25.5t-94.5 71t-63.5 104.5t-23.5 127q0 35 23.5 57.5t56.5 22.5q35 0 57.5 -22.5t22.5 -57.5q0 -70 40 -119t97 -49q55 0 95 49t40 119v526 q-131 -45 -213 -194q-10 -23 -35 -23t-34 23q-53 98 -130 152.5t-163 54.5q-121 0 -217 -103q-12 -12 -31 -12q-10 0 -19 6q-25 14 -20 43z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" d="M0 385v1075q0 31 22.5 53.5t55.5 22.5h921q31 0 53.5 -22.5t22.5 -53.5v-231h33h61q25 0 55.5 -13.5t49.5 -29.5l280 -281q18 -18 30.5 -49t12.5 -55v-62v-678q0 -27 -17 -44t-44 -17h-860q-27 0 -44.5 17.5t-17.5 43.5v246h-536q-33 0 -55.5 22.5t-22.5 55.5zM276 1321 q0 -12 9.5 -21.5t21.5 -9.5h461q12 0 21.5 9.5t9.5 21.5v61q0 12 -9.5 21.5t-21.5 9.5h-461q-12 0 -21.5 -9t-9.5 -22v-61zM737 123h738v555h-367q-27 0 -44 17.5t-17 43.5v367h-310v-983zM1169 801h306q0 2 -3.5 8t-5.5 10l-280 279q0 4 -6 4q-2 0 -2 1t-2 1t-3.5 1t-3.5 1 v-305z" />
|
||||
<glyph unicode="" horiz-adv-x="2048" />
|
||||
<glyph unicode="" horiz-adv-x="1536" d="M0 57v379q0 39 20.5 87t54.5 90t74.5 73t81.5 35q-35 -59 -34 -129q0 -59 16 -124t59 -106q-18 -37 -18 -75q0 -72 50 -122t122 -50q37 0 68.5 13t55 36.5t37 55.5t13.5 67t-13.5 66.5t-37 55t-55 38t-68.5 14.5q-18 0 -36.5 -5t-35.5 -14q-12 12 -20 31t-13.5 40.5 t-7.5 41.5t-2 37q0 47 28 86t62 67l142 21q-92 57 -142.5 150.5t-50.5 201.5q0 86 33 162t90 133t133 90t162 33t162 -33t133 -90t90 -133t33 -162q0 -109 -50.5 -202t-142.5 -150l158 -23q18 -16 34.5 -36.5t16.5 -47.5q0 -45 -18 -77q-59 33 -121 32q-45 0 -87 -17 t-77 -46q-6 2 -11 3t-11 1q-47 0 -82 -34t-35 -81t34.5 -80.5t82.5 -33.5q47 0 80.5 33.5t33.5 80.5q0 8 -2 15.5t-4 13.5q16 12 35.5 20.5t42.5 8.5q55 0 95 -39t40 -94q0 -23 -8 -41.5t-19 -34.5q-25 10 -45 10q-47 0 -81.5 -34t-34.5 -81t34.5 -80.5t81.5 -33.5t81 33.5 t34 80.5l-2 4q74 74 74 177q0 74 -41 137q45 70 45 157q0 31 -12 62q41 -4 83 -34t74.5 -72t53 -90t20.5 -89v-379q-10 -6 -22.5 -15t-25.5 -18.5t-26.5 -16.5t-21.5 -7h-1344q-35 0 -52 20.5t-44 36.5zM369 287q0 25 17 41t40 16q25 0 41 -16t16 -41q0 -23 -16 -40.5 t-41 -17.5q-23 0 -40 17.5t-17 40.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1597" />
|
||||
<glyph unicode="" horiz-adv-x="1597" />
|
||||
<glyph unicode="" horiz-adv-x="1597" />
|
||||
<glyph unicode="" horiz-adv-x="1597" />
|
||||
</font>
|
||||
</defs></svg>
|
||||
|
After Width: | Height: | Size: 127 KiB |
BIN
node_modules/ace/api/resources/font/fontawesome-webfont.ttf
generated
vendored
Normal file
BIN
node_modules/ace/api/resources/font/fontawesome-webfont.woff
generated
vendored
Normal file
BIN
node_modules/ace/api/resources/images/Ace_ERD.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
node_modules/ace/api/resources/images/ace_logo.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
node_modules/ace/api/resources/images/ace_logo_menu.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
node_modules/ace/api/resources/images/c9-log-footer.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
node_modules/ace/api/resources/images/c9-sponsor.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
node_modules/ace/api/resources/images/cloud9-logo.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
node_modules/ace/api/resources/images/content-top.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
node_modules/ace/api/resources/images/content_bg.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
node_modules/ace/api/resources/images/content_top_bg.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 629 B |
BIN
node_modules/ace/api/resources/images/dashed_back.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
node_modules/ace/api/resources/images/footer-bg.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
node_modules/ace/api/resources/images/main_bg.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
node_modules/ace/api/resources/images/member-sprites.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
node_modules/ace/api/resources/images/menu_disc.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 556 B |
BIN
node_modules/ace/api/resources/images/method_bg.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
node_modules/ace/api/resources/images/scrolled-heading-shadow.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
node_modules/ace/api/resources/images/sidebar-top-bg.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
node_modules/ace/api/resources/images/sidebar_border.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
node_modules/ace/api/resources/images/swirl_divider.png
generated
vendored
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
18
node_modules/ace/api/resources/javascripts/bbq.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010
|
||||
* http://benalman.com/projects/jquery-bbq-plugin/
|
||||
*
|
||||
* Copyright (c) 2010 "Cowboy" Ben Alman
|
||||
* Dual licensed under the MIT and GPL licenses.
|
||||
* http://benalman.com/about/license/
|
||||
*/
|
||||
(function($,p){var i,m=Array.prototype.slice,r=decodeURIComponent,a=$.param,c,l,v,b=$.bbq=$.bbq||{},q,u,j,e=$.event.special,d="hashchange",A="querystring",D="fragment",y="elemUrlAttr",g="location",k="href",t="src",x=/^.*\?|#.*$/g,w=/^.*\#/,h,C={};function E(F){return typeof F==="string"}function B(G){var F=m.call(arguments,1);return function(){return G.apply(this,F.concat(m.call(arguments)))}}function n(F){return F.replace(/^[^#]*#?(.*)$/,"$1")}function o(F){return F.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function f(H,M,F,I,G){var O,L,K,N,J;if(I!==i){K=F.match(H?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/);J=K[3]||"";if(G===2&&E(I)){L=I.replace(H?w:x,"")}else{N=l(K[2]);I=E(I)?l[H?D:A](I):I;L=G===2?I:G===1?$.extend({},I,N):$.extend({},N,I);L=a(L);if(H){L=L.replace(h,r)}}O=K[1]+(H?"#":L||!K[1]?"?":"")+L+J}else{O=M(F!==i?F:p[g][k])}return O}a[A]=B(f,0,o);a[D]=c=B(f,1,n);c.noEscape=function(G){G=G||"";var F=$.map(G.split(""),encodeURIComponent);h=new RegExp(F.join("|"),"g")};c.noEscape(",/");$.deparam=l=function(I,F){var H={},G={"true":!0,"false":!1,"null":null};$.each(I.replace(/\+/g," ").split("&"),function(L,Q){var K=Q.split("="),P=r(K[0]),J,O=H,M=0,R=P.split("]["),N=R.length-1;if(/\[/.test(R[0])&&/\]$/.test(R[N])){R[N]=R[N].replace(/\]$/,"");R=R.shift().split("[").concat(R);N=R.length-1}else{N=0}if(K.length===2){J=r(K[1]);if(F){J=J&&!isNaN(J)?+J:J==="undefined"?i:G[J]!==i?G[J]:J}if(N){for(;M<=N;M++){P=R[M]===""?O.length:R[M];O=O[P]=M<N?O[P]||(R[M+1]&&isNaN(R[M+1])?{}:[]):J}}else{if($.isArray(H[P])){H[P].push(J)}else{if(H[P]!==i){H[P]=[H[P],J]}else{H[P]=J}}}}else{if(P){H[P]=F?i:""}}});return H};function z(H,F,G){if(F===i||typeof F==="boolean"){G=F;F=a[H?D:A]()}else{F=E(F)?F.replace(H?w:x,""):F}return l(F,G)}l[A]=B(z,0);l[D]=v=B(z,1);$[y]||($[y]=function(F){return $.extend(C,F)})({a:k,base:k,iframe:t,img:t,input:t,form:"action",link:k,script:t});j=$[y];function s(I,G,H,F){if(!E(H)&&typeof H!=="object"){F=H;H=G;G=i}return this.each(function(){var L=$(this),J=G||j()[(this.nodeName||"").toLowerCase()]||"",K=J&&L.attr(J)||"";L.attr(J,a[I](K,H,F))})}$.fn[A]=B(s,A);$.fn[D]=B(s,D);b.pushState=q=function(I,F){if(E(I)&&/^#/.test(I)&&F===i){F=2}var H=I!==i,G=c(p[g][k],H?I:{},H?F:2);p[g][k]=G+(/#/.test(G)?"":"#")};b.getState=u=function(F,G){return F===i||typeof F==="boolean"?v(F):v(G)[F]};b.removeState=function(F){var G={};if(F!==i){G=u();$.each($.isArray(F)?F:arguments,function(I,H){delete G[H]})}q(G,2)};e[d]=$.extend(e[d],{add:function(F){var H;function G(J){var I=J[D]=c();J.getState=function(K,L){return K===i||typeof K==="boolean"?l(I,K):l(I,L)[K]};H.apply(this,arguments)}if($.isFunction(F)){H=F;return G}else{H=F.handler;F.handler=G}}})})(jQuery,this);
|
||||
/*
|
||||
* jQuery hashchange event - v1.2 - 2/11/2010
|
||||
* http://benalman.com/projects/jquery-hashchange-plugin/
|
||||
*
|
||||
* Copyright (c) 2010 "Cowboy" Ben Alman
|
||||
* Dual licensed under the MIT and GPL licenses.
|
||||
* http://benalman.com/about/license/
|
||||
*/
|
||||
(function($,i,b){var j,k=$.event.special,c="location",d="hashchange",l="href",f=$.browser,g=document.documentMode,h=f.msie&&(g===b||g<8),e="on"+d in i&&!h;function a(m){m=m||i[c][l];return m.replace(/^[^#]*#?(.*)$/,"$1")}$[d+"Delay"]=100;k[d]=$.extend(k[d],{setup:function(){if(e){return false}$(j.start)},teardown:function(){if(e){return false}$(j.stop)}});j=(function(){var m={},r,n,o,q;function p(){o=q=function(s){return s};if(h){n=$('<iframe src="javascript:0"/>').hide().insertAfter("body")[0].contentWindow;q=function(){return a(n.document[c][l])};o=function(u,s){if(u!==s){var t=n.document;t.open().close();t[c].hash="#"+u}};o(a())}}m.start=function(){if(r){return}var t=a();o||p();(function s(){var v=a(),u=q(t);if(v!==t){o(t=v,u);$(i).trigger(d)}else{if(u!==t){i[c][l]=i[c][l].replace(/#.*/,"")+"#"+u}}r=setTimeout(s,$[d+"Delay"])})()};m.stop=function(){if(!n){r&&clearTimeout(r);r=0}};return m})()})(jQuery,this);
|
||||
389
node_modules/ace/api/resources/javascripts/bootstrap.js
generated
vendored
Normal file
@ -0,0 +1,389 @@
|
||||
/* ============================================================
|
||||
* bootstrap-dropdown.js v2.1.1
|
||||
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
||||
* ============================================================
|
||||
* Copyright 2012 Twitter, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
* ============================================================ */
|
||||
|
||||
|
||||
!function ($) {
|
||||
|
||||
"use strict"; // jshint ;_;
|
||||
|
||||
|
||||
/* DROPDOWN CLASS DEFINITION
|
||||
* ========================= */
|
||||
|
||||
var toggle = '[data-toggle=dropdown]'
|
||||
, Dropdown = function (element) {
|
||||
var $el = $(element).on('click.dropdown.data-api', this.toggle)
|
||||
$('html').on('click.dropdown.data-api', function () {
|
||||
$el.parent().removeClass('open')
|
||||
})
|
||||
}
|
||||
|
||||
Dropdown.prototype = {
|
||||
|
||||
constructor: Dropdown
|
||||
|
||||
, toggle: function (e) {
|
||||
var $this = $(this)
|
||||
, $parent
|
||||
, isActive
|
||||
|
||||
if ($this.is('.disabled, :disabled')) return
|
||||
|
||||
$parent = getParent($this)
|
||||
|
||||
isActive = $parent.hasClass('open')
|
||||
|
||||
clearMenus()
|
||||
|
||||
if (!isActive) {
|
||||
$parent.toggleClass('open')
|
||||
$this.focus()
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
, keydown: function (e) {
|
||||
var $this
|
||||
, $items
|
||||
, $active
|
||||
, $parent
|
||||
, isActive
|
||||
, index
|
||||
|
||||
if (!/(38|40|27)/.test(e.keyCode)) return
|
||||
|
||||
$this = $(this)
|
||||
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
|
||||
if ($this.is('.disabled, :disabled')) return
|
||||
|
||||
$parent = getParent($this)
|
||||
|
||||
isActive = $parent.hasClass('open')
|
||||
|
||||
if (!isActive || (isActive && e.keyCode == 27)) return $this.click()
|
||||
|
||||
$items = $('[role=menu] li:not(.divider) a', $parent)
|
||||
|
||||
if (!$items.length) return
|
||||
|
||||
index = $items.index($items.filter(':focus'))
|
||||
|
||||
if (e.keyCode == 38 && index > 0) index-- // up
|
||||
if (e.keyCode == 40 && index < $items.length - 1) index++ // down
|
||||
if (!~index) index = 0
|
||||
|
||||
$items
|
||||
.eq(index)
|
||||
.focus()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function clearMenus() {
|
||||
getParent($(toggle))
|
||||
.removeClass('open')
|
||||
}
|
||||
|
||||
function getParent($this) {
|
||||
var selector = $this.attr('data-target')
|
||||
, $parent
|
||||
|
||||
if (!selector) {
|
||||
selector = $this.attr('href')
|
||||
selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
||||
}
|
||||
|
||||
$parent = $(selector)
|
||||
$parent.length || ($parent = $this.parent())
|
||||
|
||||
return $parent
|
||||
}
|
||||
|
||||
|
||||
/* DROPDOWN PLUGIN DEFINITION
|
||||
* ========================== */
|
||||
|
||||
$.fn.dropdown = function (option) {
|
||||
return this.each(function () {
|
||||
var $this = $(this)
|
||||
, data = $this.data('dropdown')
|
||||
if (!data) $this.data('dropdown', (data = new Dropdown(this)))
|
||||
if (typeof option == 'string') data[option].call($this)
|
||||
})
|
||||
}
|
||||
|
||||
$.fn.dropdown.Constructor = Dropdown
|
||||
|
||||
|
||||
/* APPLY TO STANDARD DROPDOWN ELEMENTS
|
||||
* =================================== */
|
||||
|
||||
$(function () {
|
||||
$('html')
|
||||
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
|
||||
$('body')
|
||||
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
||||
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
||||
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
||||
})
|
||||
|
||||
}(window.jQuery);
|
||||
/* ========================================================
|
||||
* bootstrap-tab.js v2.1.1
|
||||
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
||||
* ========================================================
|
||||
* Copyright 2012 Twitter, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
* ======================================================== */
|
||||
|
||||
|
||||
!function ($) {
|
||||
|
||||
"use strict"; // jshint ;_;
|
||||
|
||||
|
||||
/* TAB CLASS DEFINITION
|
||||
* ==================== */
|
||||
|
||||
var Tab = function (element) {
|
||||
this.element = $(element)
|
||||
}
|
||||
|
||||
Tab.prototype = {
|
||||
|
||||
constructor: Tab
|
||||
|
||||
, show: function () {
|
||||
var $this = this.element
|
||||
, $ul = $this.closest('ul:not(.dropdown-menu)')
|
||||
, selector = $this.attr('data-target')
|
||||
, previous
|
||||
, $target
|
||||
, e
|
||||
|
||||
if (!selector) {
|
||||
selector = $this.attr('href')
|
||||
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
||||
}
|
||||
|
||||
if ( $this.parent('li').hasClass('active') ) return
|
||||
|
||||
previous = $ul.find('.active a').last()[0]
|
||||
|
||||
e = $.Event('show', {
|
||||
relatedTarget: previous
|
||||
})
|
||||
|
||||
$this.trigger(e)
|
||||
|
||||
if (e.isDefaultPrevented()) return
|
||||
|
||||
$target = $(selector)
|
||||
|
||||
this.activate($this.parent('li'), $ul)
|
||||
this.activate($target, $target.parent(), function () {
|
||||
$this.trigger({
|
||||
type: 'shown'
|
||||
, relatedTarget: previous
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
, activate: function ( element, container, callback) {
|
||||
var $active = container.find('> .active')
|
||||
, transition = callback
|
||||
&& $.support.transition
|
||||
&& $active.hasClass('fade')
|
||||
|
||||
function next() {
|
||||
$active
|
||||
.removeClass('active')
|
||||
.find('> .dropdown-menu > .active')
|
||||
.removeClass('active')
|
||||
|
||||
element.addClass('active')
|
||||
|
||||
if (transition) {
|
||||
element[0].offsetWidth // reflow for transition
|
||||
element.addClass('in')
|
||||
} else {
|
||||
element.removeClass('fade')
|
||||
}
|
||||
|
||||
if ( element.parent('.dropdown-menu') ) {
|
||||
element.closest('li.dropdown').addClass('active')
|
||||
}
|
||||
|
||||
callback && callback()
|
||||
}
|
||||
|
||||
transition ?
|
||||
$active.one($.support.transition.end, next) :
|
||||
next()
|
||||
|
||||
$active.removeClass('in')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* TAB PLUGIN DEFINITION
|
||||
* ===================== */
|
||||
|
||||
$.fn.tab = function ( option ) {
|
||||
return this.each(function () {
|
||||
var $this = $(this)
|
||||
, data = $this.data('tab')
|
||||
if (!data) $this.data('tab', (data = new Tab(this)))
|
||||
if (typeof option == 'string') data[option]()
|
||||
})
|
||||
}
|
||||
|
||||
$.fn.tab.Constructor = Tab
|
||||
|
||||
|
||||
/* TAB DATA-API
|
||||
* ============ */
|
||||
|
||||
$(function () {
|
||||
$('body').on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
|
||||
e.preventDefault()
|
||||
$(this).tab('show')
|
||||
})
|
||||
})
|
||||
|
||||
}(window.jQuery);
|
||||
/* ==========================================================
|
||||
* bootstrap-affix.js v2.1.1
|
||||
* http://twitter.github.com/bootstrap/javascript.html#affix
|
||||
* ==========================================================
|
||||
* Copyright 2012 Twitter, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
* ========================================================== */
|
||||
|
||||
|
||||
!function ($) {
|
||||
|
||||
"use strict"; // jshint ;_;
|
||||
|
||||
|
||||
/* AFFIX CLASS DEFINITION
|
||||
* ====================== */
|
||||
|
||||
var Affix = function (element, options) {
|
||||
this.options = $.extend({}, $.fn.affix.defaults, options)
|
||||
this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
|
||||
this.$element = $(element)
|
||||
this.checkPosition()
|
||||
}
|
||||
|
||||
Affix.prototype.checkPosition = function () {
|
||||
if (!this.$element.is(':visible')) return
|
||||
|
||||
var scrollHeight = $(document).height()
|
||||
, scrollTop = this.$window.scrollTop()
|
||||
, position = this.$element.offset()
|
||||
, offset = this.options.offset
|
||||
, offsetBottom = offset.bottom
|
||||
, offsetTop = offset.top
|
||||
, reset = 'affix affix-top affix-bottom'
|
||||
, affix
|
||||
|
||||
if (typeof offset != 'object') offsetBottom = offsetTop = offset
|
||||
if (typeof offsetTop == 'function') offsetTop = offset.top()
|
||||
if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()
|
||||
|
||||
affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ?
|
||||
false : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ?
|
||||
'bottom' : offsetTop != null && scrollTop <= offsetTop ?
|
||||
'top' : false
|
||||
|
||||
if (this.affixed === affix) return
|
||||
|
||||
this.affixed = affix
|
||||
this.unpin = affix == 'bottom' ? position.top - scrollTop : null
|
||||
|
||||
this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : ''))
|
||||
}
|
||||
|
||||
|
||||
/* AFFIX PLUGIN DEFINITION
|
||||
* ======================= */
|
||||
|
||||
$.fn.affix = function (option) {
|
||||
return this.each(function () {
|
||||
var $this = $(this)
|
||||
, data = $this.data('affix')
|
||||
, options = typeof option == 'object' && option
|
||||
if (!data) $this.data('affix', (data = new Affix(this, options)))
|
||||
if (typeof option == 'string') data[option]()
|
||||
})
|
||||
}
|
||||
|
||||
$.fn.affix.Constructor = Affix
|
||||
|
||||
$.fn.affix.defaults = {
|
||||
offset: 0
|
||||
}
|
||||
|
||||
|
||||
/* AFFIX DATA-API
|
||||
* ============== */
|
||||
|
||||
$(window).on('load', function () {
|
||||
$('[data-spy="affix"]').each(function () {
|
||||
var $spy = $(this)
|
||||
, data = $spy.data()
|
||||
|
||||
data.offset = data.offset || {}
|
||||
|
||||
data.offsetBottom && (data.offset.bottom = data.offsetBottom)
|
||||
data.offsetTop && (data.offset.top = data.offsetTop)
|
||||
|
||||
$spy.affix(data)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
}(window.jQuery);
|
||||
69
node_modules/ace/api/resources/javascripts/clicker.js
generated
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
function setupClicker() {
|
||||
// when hovering over arrow, add highlight (only if inactive)
|
||||
$("i.methodToggle").hover(function () {
|
||||
if (!$("i.methodToggle").hasClass('active'))
|
||||
$(this).addClass("methodToggleHover");
|
||||
},
|
||||
function () {
|
||||
$(this).removeClass("methodToggleHover");
|
||||
}
|
||||
);
|
||||
|
||||
function handleClick(e, linkHref) {
|
||||
//if (linkHref.indexOf("nav=api&api=") >= 0)
|
||||
// return;
|
||||
if (linkHref == "api")
|
||||
return;
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
var dstElem;
|
||||
if (linkHref) {
|
||||
dstElem = $("article[id='" + linkHref + "']");
|
||||
}
|
||||
|
||||
var $article = (dstElem || $(this)).closest('.article'),
|
||||
$arrow = $('i.methodClicker', $article);
|
||||
|
||||
if (!$article.hasClass('methodToggleOpen') || this.force) {
|
||||
$article.addClass('methodToggleOpen');
|
||||
$arrow.removeClass('inactive').addClass('active');
|
||||
|
||||
if (!$arrow[0])
|
||||
return;
|
||||
|
||||
var data = $arrow[0].id.replace(/^js_/, "");
|
||||
//var state = {};
|
||||
//state.section = data;
|
||||
//$.bbq.pushState(state);
|
||||
|
||||
scrollTo(null, data);
|
||||
}
|
||||
else {
|
||||
$article.removeClass('methodToggleOpen');
|
||||
$arrow.removeClass('active').addClass('inactive');
|
||||
}
|
||||
}
|
||||
|
||||
function transformHash(e) {
|
||||
// some bs to figure out link hash
|
||||
var hashId = (e.srcElement ? e.srcElement.href : (e.hash || e.target.href)) || e.currentTarget.hash;
|
||||
|
||||
handleClick(e, hashId.substring(hashId.indexOf("#") + 1));
|
||||
}
|
||||
|
||||
// for the arrow
|
||||
$("i.methodToggle").click(handleClick);
|
||||
|
||||
// for the signature
|
||||
$('.member-name').click(handleClick);
|
||||
|
||||
// for the top dropdown
|
||||
$('li.memberLink a').click(transformHash);
|
||||
|
||||
//$('a[href^="#"]').click(transformHash);
|
||||
|
||||
$('.related-to', '.metaInfo').click(function(){
|
||||
location.hash = $(this).find('a').attr('href').split('#')[1];
|
||||
});
|
||||
}
|
||||
17
node_modules/ace/api/resources/javascripts/disqus-ext.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
function setupDisqus(href) {
|
||||
var disqus_shortname = 'aceapi';
|
||||
|
||||
//var paths = window.location.pathname.split("/");
|
||||
//var fileName = paths[paths.length - 2] + "/" + paths[paths.length - 1];
|
||||
|
||||
//var disqus_identifier = fileName;
|
||||
var disqus_identifier = href.substring(2);
|
||||
|
||||
(function() {
|
||||
if (document.getElementById("disqusScript") === null) {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
}
|
||||
})();
|
||||
}
|
||||
98
node_modules/ace/api/resources/javascripts/jquery-scrollspy.js
generated
vendored
Normal file
@ -0,0 +1,98 @@
|
||||
/*!
|
||||
* jQuery Scrollspy Plugin
|
||||
* Author: @sxalexander
|
||||
* Licensed under the MIT license
|
||||
*/
|
||||
|
||||
|
||||
;(function ( $, window, document, undefined ) {
|
||||
|
||||
$.fn.extend({
|
||||
scrollspy: function ( options ) {
|
||||
|
||||
var defaults = {
|
||||
min: 0,
|
||||
max: 0,
|
||||
mode: 'vertical',
|
||||
buffer: 0,
|
||||
container: window,
|
||||
onEnter: options.onEnter ? options.onEnter : [],
|
||||
onLeave: options.onLeave ? options.onLeave : [],
|
||||
onTick: options.onTick ? options.onTick : []
|
||||
}
|
||||
|
||||
var options = $.extend( {}, defaults, options );
|
||||
|
||||
return this.each(function (i) {
|
||||
|
||||
var element = this;
|
||||
var o = options;
|
||||
var $container = $(o.container);
|
||||
var mode = o.mode;
|
||||
var buffer = o.buffer;
|
||||
var enters = leaves = 0;
|
||||
var inside = false;
|
||||
|
||||
/* add listener to container */
|
||||
$container.bind('scroll', function(e){
|
||||
var position = {top: $(this).scrollTop(), left: $(this).scrollLeft()};
|
||||
var xy = (mode == 'vertical') ? position.top + buffer : position.left + buffer;
|
||||
var max = o.max;
|
||||
var min = o.min;
|
||||
|
||||
/* fix max */
|
||||
if($.isFunction(o.max)){
|
||||
max = o.max();
|
||||
}
|
||||
|
||||
/* fix max */
|
||||
if($.isFunction(o.min)){
|
||||
min = o.min();
|
||||
}
|
||||
|
||||
if(max == 0){
|
||||
max = (mode == 'vertical') ? $container.height() : $container.outerWidth() + $(element).outerWidth();
|
||||
}
|
||||
|
||||
/* if we have reached the minimum bound but are below the max ... */
|
||||
if(xy >= o.min && xy <= max){
|
||||
/* trigger enter event */
|
||||
if(!inside){
|
||||
inside = true;
|
||||
enters++;
|
||||
|
||||
/* fire enter event */
|
||||
$(element).trigger('scrollEnter', {position: position})
|
||||
if($.isFunction(o.onEnter)){
|
||||
o.onEnter(element, position);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* triger tick event */
|
||||
$(element).trigger('scrollTick', {position: position, inside: inside, enters: enters, leaves: leaves})
|
||||
if($.isFunction(o.onTick)){
|
||||
o.onTick(element, position, inside, enters, leaves);
|
||||
}
|
||||
}else{
|
||||
|
||||
if(inside){
|
||||
inside = false;
|
||||
leaves++;
|
||||
/* trigger leave event */
|
||||
$(element).trigger('scrollLeave', {position: position, leaves:leaves})
|
||||
|
||||
if($.isFunction(o.onLeave)){
|
||||
o.onLeave(element, position);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
|
||||
})( jQuery, window );
|
||||
151
node_modules/ace/api/resources/javascripts/jquery.collapse.js
generated
vendored
Normal file
@ -0,0 +1,151 @@
|
||||
/*!
|
||||
* Collapse plugin for jQuery
|
||||
* http://github.com/danielstocks/jQuery-Collapse/
|
||||
*
|
||||
* @author Daniel Stocks (http://webcloud.se)
|
||||
* @version 0.9.1
|
||||
* @updated 17-AUG-2010
|
||||
*
|
||||
* Copyright 2010, Daniel Stocks
|
||||
* Released under the MIT, BSD, and GPL Licenses.
|
||||
*/
|
||||
|
||||
(function($) {
|
||||
|
||||
// Use a cookie counter to allow multiple instances of the plugin
|
||||
var cookieCounter = 0;
|
||||
|
||||
$.fn.extend({
|
||||
collapse: function(options) {
|
||||
|
||||
var defaults = {
|
||||
head : "h3",
|
||||
group : "div, ul",
|
||||
cookieName : "collapse",
|
||||
// Default function for showing content
|
||||
show: function() {
|
||||
this.show();
|
||||
},
|
||||
// Default function for hiding content
|
||||
hide: function() {
|
||||
this.hide();
|
||||
}
|
||||
};
|
||||
var op = $.extend(defaults, options);
|
||||
|
||||
// Default CSS classes
|
||||
var active = "active",
|
||||
inactive = "inactive";
|
||||
|
||||
return this.each(function() {
|
||||
|
||||
// Increment coookie counter to ensure cookie name integrity
|
||||
cookieCounter++;
|
||||
var obj = $(this),
|
||||
// Find all headers and wrap them in <a> for accessibility.
|
||||
sections = obj.find(op.head).wrapInner('<a href="#"></a>'),
|
||||
l = sections.length,
|
||||
cookie = op.cookieName + "_" + cookieCounter;
|
||||
// Locate all panels directly following a header
|
||||
var panel = obj.find(op.head).map(function() {
|
||||
var head = $(this)
|
||||
if(!head.hasClass(active)) {
|
||||
return head.next(op.group).hide()[0];
|
||||
}
|
||||
return head.next(op.group)[0];
|
||||
});
|
||||
|
||||
// Bind event for showing content
|
||||
obj.bind("show", function(e, bypass) {
|
||||
var obj = $(e.target);
|
||||
// ARIA attribute
|
||||
obj.attr('aria-hidden', false)
|
||||
.prev()
|
||||
.removeClass(inactive)
|
||||
.addClass(active);
|
||||
// Bypass method for instant display
|
||||
if(bypass) {
|
||||
obj.show();
|
||||
} else {
|
||||
op.show.call(obj);
|
||||
}
|
||||
});
|
||||
|
||||
// Bind event for hiding content
|
||||
obj.bind("hide", function(e, bypass) {
|
||||
var obj = $(e.target);
|
||||
obj.attr('aria-hidden', true)
|
||||
.prev()
|
||||
.removeClass(active)
|
||||
.addClass(inactive);
|
||||
if(bypass) {
|
||||
obj.hide();
|
||||
} else {
|
||||
op.hide.call(obj);
|
||||
}
|
||||
});
|
||||
|
||||
// Look for existing cookies
|
||||
if(cookieSupport) {
|
||||
for (var c=0;c<=l;c++) {
|
||||
var val = $.cookie(cookie + c);
|
||||
// Show content if associating cookie is found
|
||||
if ( val == c + "open" ) {
|
||||
panel.eq(c).trigger('show', [true]);
|
||||
// Hide content
|
||||
} else if ( val == c + "closed") {
|
||||
panel.eq(c).trigger('hide', [true]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Delegate click event to show/hide content.
|
||||
obj.bind("click", function(e) {
|
||||
var t = $(e.target);
|
||||
// Check if header was clicked
|
||||
if(!t.is(op.head)) {
|
||||
// What about link inside header.
|
||||
if ( t.parent().is(op.head) ) {
|
||||
t = t.parent();
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
}
|
||||
// Figure out what position the clicked header has.
|
||||
var num = sections.index(t),
|
||||
cookieName = cookie + num,
|
||||
cookieVal = num,
|
||||
content = t.next(op.group);
|
||||
// If content is already active, hide it.
|
||||
if(t.hasClass(active)) {
|
||||
content.trigger('hide');
|
||||
cookieVal += 'closed';
|
||||
if(cookieSupport) {
|
||||
$.cookie(cookieName, cookieVal, { path: '/', expires: 10 });
|
||||
}
|
||||
return;
|
||||
}
|
||||
// Otherwise show it.
|
||||
content.trigger('show');
|
||||
cookieVal += 'open';
|
||||
if(cookieSupport) {
|
||||
$.cookie(cookieName, cookieVal, { path: '/', expires: 10 });
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// Make sure can we eat cookies without getting into trouble.
|
||||
var cookieSupport = (function() {
|
||||
try {
|
||||
$.cookie('x', 'x', { path: '/', expires: 10 });
|
||||
$.cookie('x', null);
|
||||
}
|
||||
catch(e) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
})();
|
||||
})(jQuery);
|
||||
96
node_modules/ace/api/resources/javascripts/jquery.cookie.js
generated
vendored
Normal file
@ -0,0 +1,96 @@
|
||||
/**
|
||||
* Cookie plugin
|
||||
*
|
||||
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
|
||||
* Dual licensed under the MIT and GPL licenses:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Create a cookie with the given name and value and other optional parameters.
|
||||
*
|
||||
* @example $.cookie('the_cookie', 'the_value');
|
||||
* @desc Set the value of a cookie.
|
||||
* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
|
||||
* @desc Create a cookie with all available options.
|
||||
* @example $.cookie('the_cookie', 'the_value');
|
||||
* @desc Create a session cookie.
|
||||
* @example $.cookie('the_cookie', null);
|
||||
* @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
|
||||
* used when the cookie was set.
|
||||
*
|
||||
* @param String name The name of the cookie.
|
||||
* @param String value The value of the cookie.
|
||||
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
|
||||
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
|
||||
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
|
||||
* If set to null or omitted, the cookie will be a session cookie and will not be retained
|
||||
* when the the browser exits.
|
||||
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
|
||||
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
|
||||
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
|
||||
* require a secure protocol (like HTTPS).
|
||||
* @type undefined
|
||||
*
|
||||
* @name $.cookie
|
||||
* @cat Plugins/Cookie
|
||||
* @author Klaus Hartl/klaus.hartl@stilbuero.de
|
||||
*/
|
||||
|
||||
/**
|
||||
* Get the value of a cookie with the given name.
|
||||
*
|
||||
* @example $.cookie('the_cookie');
|
||||
* @desc Get the value of a cookie.
|
||||
*
|
||||
* @param String name The name of the cookie.
|
||||
* @return The value of the cookie.
|
||||
* @type String
|
||||
*
|
||||
* @name $.cookie
|
||||
* @cat Plugins/Cookie
|
||||
* @author Klaus Hartl/klaus.hartl@stilbuero.de
|
||||
*/
|
||||
jQuery.cookie = function(name, value, options) {
|
||||
if (typeof value != 'undefined') { // name and value given, set cookie
|
||||
options = options || {};
|
||||
if (value === null) {
|
||||
value = '';
|
||||
options.expires = -1;
|
||||
}
|
||||
var expires = '';
|
||||
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
|
||||
var date;
|
||||
if (typeof options.expires == 'number') {
|
||||
date = new Date();
|
||||
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
|
||||
} else {
|
||||
date = options.expires;
|
||||
}
|
||||
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
|
||||
}
|
||||
// CAUTION: Needed to parenthesize options.path and options.domain
|
||||
// in the following expressions, otherwise they evaluate to undefined
|
||||
// in the packed version for some reason...
|
||||
var path = options.path ? '; path=' + (options.path) : '';
|
||||
var domain = options.domain ? '; domain=' + (options.domain) : '';
|
||||
var secure = options.secure ? '; secure' : '';
|
||||
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
|
||||
} else { // only name given, get cookie
|
||||
var cookieValue = null;
|
||||
if (document.cookie && document.cookie != '') {
|
||||
var cookies = document.cookie.split(';');
|
||||
for (var i = 0; i < cookies.length; i++) {
|
||||
var cookie = jQuery.trim(cookies[i]);
|
||||
// Does this cookie string begin with the name we want?
|
||||
if (cookie.substring(0, name.length + 1) == (name + '=')) {
|
||||
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return cookieValue;
|
||||
}
|
||||
};
|
||||
13
node_modules/ace/api/resources/javascripts/plugins.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}};
|
||||
(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try
|
||||
{console.log();return window.console;}catch(err){return window.console={};}})());
|
||||
|
||||
/*
|
||||
* jQuery throttle / debounce - v1.1 - 3/7/2010
|
||||
* http://benalman.com/projects/jquery-throttle-debounce-plugin/
|
||||
*
|
||||
* Copyright (c) 2010 "Cowboy" Ben Alman
|
||||
* Dual licensed under the MIT and GPL licenses.
|
||||
* http://benalman.com/about/license/
|
||||
*/
|
||||
(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this);
|
||||
24
node_modules/ace/api/resources/javascripts/prettify-extension.js
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
// Stolen from StackOverflow. Find all </code><pre><code>
|
||||
// elements on the page and add the "prettyprint" style. If at least one
|
||||
// prettyprint element was found, call the Google Prettify prettyPrint() API.
|
||||
//http://sstatic.net/so/js/master.js?v=6523
|
||||
function styleCode()
|
||||
{
|
||||
if (typeof disableStyleCode != "undefined")
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var a = false;
|
||||
|
||||
$("pre code").parent().each(function()
|
||||
{
|
||||
if (!$(this).hasClass("prettyprint"))
|
||||
{
|
||||
$(this).addClass("prettyprint");
|
||||
a = true
|
||||
}
|
||||
});
|
||||
|
||||
if (a) { prettyPrint() }
|
||||
}
|
||||
28
node_modules/ace/api/resources/javascripts/prettify.js
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
|
||||
(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a=
|
||||
[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?(d=m(f[c+2]),c+=2):d=j;b.push([j,d]);d<65||j>122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;c<b.length;++c)i=b[c],i[0]<=j[1]+1?j[1]=Math.max(j[1],i[1]):f.push(j=i);b=["["];o&&b.push("^");b.push.apply(b,a);for(c=0;c<
|
||||
f.length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c<b;++c){var j=f[c];j==="("?++i:"\\"===j.charAt(0)&&(j=+j.substring(1))&&j<=i&&(d[j]=-1)}for(c=1;c<d.length;++c)-1===d[c]&&(d[c]=++t);for(i=c=0;c<b;++c)j=f[c],j==="("?(++i,d[i]===void 0&&(f[c]="(?:")):"\\"===j.charAt(0)&&
|
||||
(j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b;++c)j=f[c],a=j.charAt(0),j.length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.test(g.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){s=!0;l=!1;break}}for(var r=
|
||||
{b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|"),l?"gi":"g")}function M(a){function m(a){switch(a.nodeType){case 1:if(e.test(a.className))break;for(var g=a.firstChild;g;g=g.nextSibling)m(g);g=a.nodeName;if("BR"===g||"LI"===g)h[s]="\n",t[s<<1]=y++,t[s++<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.replace(/\r\n?/g,"\n"):g.replace(/[\t\n\r ]+/g," "),h[s]=g,t[s<<1]=y,y+=g.length,
|
||||
t[s++<<1|1]=a)}}var e=/(?:^|\s)nocode(?:\s|$)/,h=[],y=0,t=[],s=0,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=document.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){m&&(a={a:m,d:a},e(a),h.push.apply(h,a.e))}function x(a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n],b=r[f],o=void 0,c;if(typeof b===
|
||||
"string")c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];break}o||(b="pln")}if((c=b.length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m),
|
||||
l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
|
||||
q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/,
|
||||
q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,
|
||||
"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a),
|
||||
a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e}
|
||||
for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g<d.length;++g)e(d[g]);m===(m|0)&&d[0].setAttribute("value",
|
||||
m);var r=s.createElement("OL");r.className="linenums";for(var n=Math.max(0,m-1|0)||0,g=0,z=d.length;g<z;++g)l=d[g],l.className="L"+(g+n)%10,l.firstChild||l.appendChild(s.createTextNode("\xa0")),r.appendChild(l);a.appendChild(r)}function k(a,m){for(var e=m.length;--e>=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*</.test(m)?"default-markup":"default-code";return A[a]}function E(a){var m=
|
||||
a.g;try{var e=M(a.h),h=e.a;a.a=h;a.c=e.c;a.d=0;C(m,h)(a);var k=/\bMSIE\b/.test(navigator.userAgent),m=/\n/g,t=a.a,s=t.length,e=0,l=a.c,p=l.length,h=0,d=a.e,g=d.length,a=0;d[g]=s;var r,n;for(n=r=0;n<g;)d[n]!==d[n+2]?(d[r++]=d[n++],d[r++]=d[n++]):n+=2;g=r;for(n=r=0;n<g;){for(var z=d[n],f=d[n+1],b=n+2;b+2<=g&&d[b+1]===f;)b+=2;d[r++]=z;d[r++]=f;n=b}for(d.length=r;h<p;){var o=l[h+2]||s,c=d[a+2]||s,b=Math.min(o,c),i=l[h+1],j;if(i.nodeType!==1&&(j=t.substring(e,b))){k&&(j=j.replace(m,"\r"));i.nodeValue=
|
||||
j;var u=i.ownerDocument,v=u.createElement("SPAN");v.className=d[a+1];var x=i.parentNode;x.replaceChild(v,i);v.appendChild(i);e<o&&(l[h+1]=i=u.createTextNode(t.substring(b,o)),x.insertBefore(i,v.nextSibling))}e=b;e>=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
|
||||
"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],
|
||||
H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
|
||||
J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+
|
||||
I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),
|
||||
["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
||||
/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),
|
||||
["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",
|
||||
hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p<h.length&&l.now()<e;p++){var n=h[p],k=n.className;if(k.indexOf("prettyprint")>=0){var k=k.match(g),f,b;if(b=
|
||||
!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p<h.length?setTimeout(m,
|
||||
250):a&&a()}for(var e=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),document.getElementsByTagName("xmp")],h=[],k=0;k<e.length;++k)for(var t=0,s=e[k].length;t<s;++t)h.push(e[k][t]);var e=q,l=Date;l.now||(l={now:function(){return+new Date}});var p=0,d,g=/\blang(?:uage)?-([\w.]+)(?!\S)/;m()};window.PR={createSimpleLexer:x,registerLangHandler:k,sourceDecorator:u,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",
|
||||
PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}})();
|
||||
135
node_modules/ace/api/resources/javascripts/ux.js
generated
vendored
Normal file
@ -0,0 +1,135 @@
|
||||
$(function () {
|
||||
'use strict';
|
||||
|
||||
var pagePath = document.location.pathname.substring(document.location.pathname.lastIndexOf("/") + 1);
|
||||
|
||||
// select current page in sidenav and set up prev/next links if they exist
|
||||
var $selNavLink = $('#sidebar').find('a[href="' + pagePath + '"]');
|
||||
if ($selNavLink.length) {
|
||||
//$selListItem = $selNavLink.closest('li');
|
||||
|
||||
$selNavLink.addClass('currentItem');
|
||||
}
|
||||
|
||||
if (window.addEventListener) window.addEventListener('load', loadCallback, true);
|
||||
else window.attachEvent('load', loadCallback, true);
|
||||
|
||||
function loadCallback(evt) {
|
||||
var form = document.getElementById("searchbox");
|
||||
|
||||
if (form) {
|
||||
var input = form.query;
|
||||
form.onsubmit = function (evt) {
|
||||
var query = input.value;
|
||||
if (query) {
|
||||
input.value = "";
|
||||
input.blur();
|
||||
var url = "https://www.google.com/search?q=" + encodeURIComponent("site:ace.ajax.org" + " " + query);
|
||||
window.open(url);
|
||||
}
|
||||
return false;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// init search
|
||||
$('#search')
|
||||
// prevent from form submit
|
||||
.on('submit', function () {
|
||||
return false;
|
||||
}).find('input');
|
||||
});
|
||||
|
||||
function ux() {
|
||||
var d = 'a.menu, .dropdown-toggle'
|
||||
|
||||
function clearMenus() {
|
||||
$(d).parent('li').each(function () {
|
||||
$(this).removeClass('open')
|
||||
});
|
||||
}
|
||||
|
||||
var s, sx;
|
||||
|
||||
// scrolling offset calculation via www.quirksmode.org
|
||||
if (window.pageYOffset || window.pageXOffset) {
|
||||
s = window.pageYOffset;
|
||||
sx = window.pageXOffset;
|
||||
}
|
||||
else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
|
||||
s = document.documentElement.scrollTop;
|
||||
sx = document.documentElement.scrollLeft;
|
||||
}
|
||||
else if (document.body) {
|
||||
s = document.body.scrollTop;
|
||||
sx = document.body.scrollLeft;
|
||||
}
|
||||
|
||||
if (document.documentElement.offsetWidth < 1010) {
|
||||
if (sx <= 0) sx = 0;
|
||||
else if (sx + document.documentElement.offsetWidth > 1010) sx = 1010 - document.documentElement.offsetWidth;
|
||||
}
|
||||
else sx = 0;
|
||||
|
||||
$('span.methodClicker, article.article, i.methodClicker').each(function () {
|
||||
var a = $(this);
|
||||
var constructorPos = a.attr("id").indexOf("new ");
|
||||
|
||||
var objName = a.attr("id");
|
||||
if (constructorPos >= 0) {
|
||||
objName = objName.substring(constructorPos + 4);
|
||||
objName += ".new";
|
||||
}
|
||||
|
||||
a.attr("id", objName);
|
||||
});
|
||||
|
||||
function showMethodContent() {
|
||||
var locationHash = location.hash.replace(/^#/, '').replace(/\./g, '\\.');
|
||||
var equalsPos = location.hash.indexOf("=");
|
||||
|
||||
if (equalsPos >=0) {
|
||||
locationHash = locationHash.substring(0, location.hash.indexOf("="));
|
||||
}
|
||||
|
||||
var $clickerEl = $('span#' + locationHash);
|
||||
if ($clickerEl.length > 0 && $clickerEl.hasClass('methodClicker')) {
|
||||
var p = $clickerEl.parent();
|
||||
p[0].force = true;
|
||||
p.trigger('click');
|
||||
p[0].force = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (location.hash.indexOf("section") >= 1) {
|
||||
showMethodContent();
|
||||
var data = location.hash;
|
||||
scrollTo(null, data.substr(1));
|
||||
}
|
||||
|
||||
window.onhashchange = function () {
|
||||
showMethodContent();
|
||||
}
|
||||
};
|
||||
|
||||
function scrollTo(el, data) {
|
||||
if (!data) {
|
||||
data = el.getAttribute("data-id");
|
||||
//location.hash = data;
|
||||
}
|
||||
var el = $("span#" + data.replace(/\./g, "\\."))[0];
|
||||
if (!el) return;
|
||||
|
||||
var article = $(el).closest('.article')[0];
|
||||
|
||||
var top = article.offsetTop - 100;
|
||||
|
||||
if (document.body.scrollTop > top || document.body.scrollTop != top && document.body.scrollTop + (window.innerHeight || document.documentElement.offsetHeight) < top + article.offsetHeight) {
|
||||
$('body').animate({
|
||||
scrollTop: top
|
||||
}, {
|
||||
duration: 200,
|
||||
easing: "swing"
|
||||
});
|
||||
}
|
||||
}
|
||||
261
node_modules/ace/api/scrollbar.html
generated
vendored
Normal file
@ -0,0 +1,261 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">ScrollBar</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Events (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_ScrollBar.event.scroll" data-id="ScrollBar.event.scroll" class="memberLink"><a href="#ScrollBar.event.scroll" class="" title="ScrollBar.event.scroll (event)" data-id="ScrollBar.event.scroll">scroll</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_ScrollBar.new" data-id="ScrollBar.new" class="memberLink"><a href="#ScrollBar.new" class="" title="ScrollBar.new (constructor)" data-id="ScrollBar.new">new</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (5)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_ScrollBar.getWidth" data-id="ScrollBar.getWidth" class="memberLink"><a href="#ScrollBar.getWidth" class="" title="ScrollBar.getWidth (class method)" data-id="ScrollBar.getWidth">getWidth</a>
|
||||
</li>
|
||||
<li id="dropdown_ScrollBar.onScroll" data-id="ScrollBar.onScroll" class="memberLink"><a href="#ScrollBar.onScroll" class="" title="ScrollBar.onScroll (class method)" data-id="ScrollBar.onScroll">onScroll</a>
|
||||
</li>
|
||||
<li id="dropdown_ScrollBar.setHeight" data-id="ScrollBar.setHeight" class="memberLink"><a href="#ScrollBar.setHeight" class="" title="ScrollBar.setHeight (class method)" data-id="ScrollBar.setHeight">setHeight</a>
|
||||
</li>
|
||||
<li id="dropdown_ScrollBar.setInnerHeight" data-id="ScrollBar.setInnerHeight" class="memberLink"><a href="#ScrollBar.setInnerHeight" class="" title="ScrollBar.setInnerHeight (class method)" data-id="ScrollBar.setInnerHeight">setInnerHeight</a>
|
||||
</li>
|
||||
<li id="dropdown_ScrollBar.setScrollTop" data-id="ScrollBar.setScrollTop" class="memberLink"><a href="#ScrollBar.setScrollTop" class="" title="ScrollBar.setScrollTop (class method)" data-id="ScrollBar.setScrollTop">setScrollTop</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="ScrollBar" data-title="ScrollBar (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>A set of methods for setting and retrieving the editor's scrollbar.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Constructors</h3>
|
||||
<article id="ScrollBar.new" data-title="ScrollBar.new (constructor)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="ScrollBar.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="ScrollBar.new" class="member-name methodClicker">ScrollBar</span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en/DOM/element" class="argument methodClicker" title="DOMElement" data-id="DOMElement">DOMElement</a> parent</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_ScrollBar.new" class="ellipsis_description"><p>Creates a new <code>ScrollBar</code>. <code>parent</code> is the owner of the scroll bar.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Creates a new <code>ScrollBar</code>. <code>parent</code> is the owner of the scroll bar.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">parent</td><td class="argType" "><a href="https://developer.mozilla.org/en/DOM/element" class="" title="DOMElement" data-id="DOMElement">DOMElement</a></td><td class="argDescription "><p>Required. A DOM element</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Events</h3>
|
||||
<article id="ScrollBar.event.scroll" data-title="ScrollBar.event.scroll (event)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="ScrollBar.event.scroll" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="eventObjName">ScrollBar</span><span class="eventListenerStart">.on("</span><span id="ScrollBar.event.scroll" class="member-name eventMember methodClicker">scroll</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> e<span class="eventFunctionClose">))</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_ScrollBar.event.scroll" class="ellipsis_description"><p>Emitted when the scroll bar, well, scrolls.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Emitted when the scroll bar, well, scrolls.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">e</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. Contains one property, <code>"data"</code>, which indicates the current scroll top position</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="ScrollBar.getWidth" data-title="ScrollBar.getWidth (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="ScrollBar.getWidth" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="ScrollBar.getWidth" class="member-name methodClicker"><span class="sigClassName">ScrollBar.</span><span class="sigMemberName">getWidth</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_ScrollBar.getWidth" class="ellipsis_description"><p>Returns the width of the scroll bar.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the width of the scroll bar.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="ScrollBar.onScroll" data-title="ScrollBar.onScroll (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="ScrollBar.onScroll" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="ScrollBar.onScroll" class="member-name methodClicker"><span class="sigClassName">ScrollBar.</span><span class="sigMemberName">onScroll</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_ScrollBar.onScroll" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="ScrollBar.setHeight" data-title="ScrollBar.setHeight (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="ScrollBar.setHeight" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="ScrollBar.setHeight" class="member-name methodClicker"><span class="sigClassName">ScrollBar.</span><span class="sigMemberName">setHeight</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> height</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_ScrollBar.setHeight" class="ellipsis_description"><p>Sets the height of the scroll bar, in pixels.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Sets the height of the scroll bar, in pixels.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">height</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new height</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="ScrollBar.setInnerHeight" data-title="ScrollBar.setInnerHeight (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="ScrollBar.setInnerHeight" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="ScrollBar.setInnerHeight" class="member-name methodClicker"><span class="sigClassName">ScrollBar.</span><span class="sigMemberName">setInnerHeight</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> height</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_ScrollBar.setInnerHeight" class="ellipsis_description"><p>Sets the inner height of the scroll bar, in pixels.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Sets the inner height of the scroll bar, in pixels.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">height</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new inner height</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="ScrollBar.setScrollTop" data-title="ScrollBar.setScrollTop (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="ScrollBar.setScrollTop" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="ScrollBar.setScrollTop" class="member-name methodClicker"><span class="sigClassName">ScrollBar.</span><span class="sigMemberName">setScrollTop</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> scrollTop</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_ScrollBar.setScrollTop" class="ellipsis_description"><p>Sets the scroll top of the scroll bar.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Sets the scroll top of the scroll bar.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">scrollTop</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new scroll top</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
295
node_modules/ace/api/search.html
generated
vendored
Normal file
@ -0,0 +1,295 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">Search</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Search.new" data-id="Search.new" class="memberLink"><a href="#Search.new" class="" title="Search.new (constructor)" data-id="Search.new">new</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (6)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Search.find" data-id="Search.find" class="memberLink"><a href="#Search.find" class="" title="Search.find (class method)" data-id="Search.find">find</a>
|
||||
</li>
|
||||
<li id="dropdown_Search.findAll" data-id="Search.findAll" class="memberLink"><a href="#Search.findAll" class="" title="Search.findAll (class method)" data-id="Search.findAll">findAll</a>
|
||||
</li>
|
||||
<li id="dropdown_Search.getOptions" data-id="Search.getOptions" class="memberLink"><a href="#Search.getOptions" class="" title="Search.getOptions (class method)" data-id="Search.getOptions">getOptions</a>
|
||||
</li>
|
||||
<li id="dropdown_Search.replace" data-id="Search.replace" class="memberLink"><a href="#Search.replace" class="" title="Search.replace (class method)" data-id="Search.replace">replace</a>
|
||||
</li>
|
||||
<li id="dropdown_Search.set" data-id="Search.set" class="memberLink"><a href="#Search.set" class="" title="Search.set (class method)" data-id="Search.set">set</a>
|
||||
</li>
|
||||
<li id="dropdown_Search.setOptions" data-id="Search.setOptions" class="memberLink"><a href="#Search.setOptions" class="" title="Search.setOptions (class method)" data-id="Search.setOptions">setOptions</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="Search" data-title="Search (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>A class designed to handle all sorts of text searches within a <a href="document.html" class="link-short" title="Document (class)" data-id="Document"><code>Document</code></a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Constructors</h3>
|
||||
<article id="Search.new" data-title="Search.new (constructor)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Search.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="Search.new" class="member-name methodClicker">Search</span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Search.new" class="ellipsis_description"><p>Creates a new <code>Search</code> object. The following search options are avaliable:</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Creates a new <code>Search</code> object. The following search options are avaliable:</p>
|
||||
<ul>
|
||||
<li><code>needle</code>: The string or regular expression you're looking for</li>
|
||||
<li><code>backwards</code>: Whether to search backwards from where cursor currently is. Defaults to <code>false</code>.</li>
|
||||
<li><code>wrap</code>: Whether to wrap the search back to the beginning when it hits the end. Defaults to <code>false</code>.</li>
|
||||
<li><code>caseSensitive</code>: Whether the search ought to be case-sensitive. Defaults to <code>false</code>.</li>
|
||||
<li><code>wholeWord</code>: Whether the search matches only on whole words. Defaults to <code>false</code>.</li>
|
||||
<li><code>range</code>: The <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> to search within. Set this to <code>null</code> for the whole document</li>
|
||||
<li><code>regExp</code>: Whether the search is a regular expression or not. Defaults to <code>false</code>.</li>
|
||||
<li><code>start</code>: The starting <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> or cursor position to begin the search</li>
|
||||
<li><code>skipCurrent</code>: Whether or not to include the current line in the search. Default to <code>false</code>.</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="Search.find" data-title="Search.find (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Search.find" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Search.find" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">find</span></span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Search.find" class="ellipsis_description"><p>Searches for <code>options.needle</code>. If found, this method returns the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> where the text first occurs. If <code>options.backwards</code> is <code>true</code>, the search goes backwards in the session.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Searches for <code>options.needle</code>. If found, this method returns the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> where the text first occurs. If <code>options.backwards</code> is <code>true</code>, the search goes backwards in the session.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">session</td><td class="argType" "><a href="edit_session.html" class="" title="EditSession (class)" data-id="EditSession">EditSession</a></td><td class="argDescription "><p>Required. The session to search with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Search.findAll" data-title="Search.findAll (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Search.findAll" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Search.findAll" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">findAll</span></span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Search.findAll" class="ellipsis_description"><p>Searches for all occurances <code>options.needle</code>. If found, this method returns an array of <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code>s</a> where the text first occurs. If <code>options.backwards</code> is <code>true</code>, the search goes backwards in the session.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Searches for all occurances <code>options.needle</code>. If found, this method returns an array of <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code>s</a> where the text first occurs. If <code>options.backwards</code> is <code>true</code>, the search goes backwards in the session.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">session</td><td class="argType" "><a href="edit_session.html" class="" title="EditSession (class)" data-id="EditSession">EditSession</a></td><td class="argDescription "><p>Required. The session to search with</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Search.getOptions" data-title="Search.getOptions (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Search.getOptions" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Search.getOptions" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">getOptions</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Search.getOptions" class="ellipsis_description"><p>Returns an object containing all the search options.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns an object containing all the search options.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Search.replace" data-title="Search.replace (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Search.replace" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Search.replace" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">replace</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> input, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> replacement</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Search.replace" class="ellipsis_description"><p>Searches for <code>options.needle</code> in <code>input</code>, and, if found, replaces it with <code>replacement</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Searches for <code>options.needle</code> in <code>input</code>, and, if found, replaces it with <code>replacement</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">input</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The text to search in</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">replacement</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The replacing text</p>
|
||||
<ul>
|
||||
<li>(String): If <code>options.regExp</code> is <code>true</code>, this function returns <code>input</code> with the replacement already made. Otherwise, this function just returns <code>replacement</code>.<br/>
|
||||
If <code>options.needle</code> was not found, this function returns <code>null</code>.</li>
|
||||
</ul>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Search.set" data-title="Search.set (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Search.set" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Search.set" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">set</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> options</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="search.html" class="returnType " title="Search (class)" data-id="Search">Search</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label chainable">Chainable</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Search.set" class="ellipsis_description"><p>Sets the search options via the <code>options</code> parameter.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Sets the search options via the <code>options</code> parameter.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">options</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. An object containing all the new search properties</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Search.setOptions" data-title="Search.setOptions (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Search.setOptions" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Search.setOptions" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">setOptions</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Search.setOptions" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
1781
node_modules/ace/api/selection.html
generated
vendored
Normal file
640
node_modules/ace/api/split.html
generated
vendored
Normal file
@ -0,0 +1,640 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">Split</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (21)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Split.blur" data-id="Split.blur" class="memberLink"><a href="#Split.blur" class="" title="Split.blur (class method)" data-id="Split.blur">blur</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.execute" data-id="Split.execute" class="memberLink"><a href="#Split.execute" class="" title="Split.execute (class method)" data-id="Split.execute">execute</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.focus" data-id="Split.focus" class="memberLink"><a href="#Split.focus" class="" title="Split.focus (class method)" data-id="Split.focus">focus</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.forEach" data-id="Split.forEach" class="memberLink"><a href="#Split.forEach" class="" title="Split.forEach (class method)" data-id="Split.forEach">forEach</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.getCurrentEditor" data-id="Split.getCurrentEditor" class="memberLink"><a href="#Split.getCurrentEditor" class="" title="Split.getCurrentEditor (class method)" data-id="Split.getCurrentEditor">getCurrentEditor</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.getEditor" data-id="Split.getEditor" class="memberLink"><a href="#Split.getEditor" class="" title="Split.getEditor (class method)" data-id="Split.getEditor">getEditor</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.getOrientation" data-id="Split.getOrientation" class="memberLink"><a href="#Split.getOrientation" class="" title="Split.getOrientation (class method)" data-id="Split.getOrientation">getOrientation</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.getSplits" data-id="Split.getSplits" class="memberLink"><a href="#Split.getSplits" class="" title="Split.getSplits (class method)" data-id="Split.getSplits">getSplits</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.hasRedo" data-id="Split.hasRedo" class="memberLink"><a href="#Split.hasRedo" class="" title="Split.hasRedo (class method)" data-id="Split.hasRedo">hasRedo</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.hasUndo" data-id="Split.hasUndo" class="memberLink"><a href="#Split.hasUndo" class="" title="Split.hasUndo (class method)" data-id="Split.hasUndo">hasUndo</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.redo" data-id="Split.redo" class="memberLink"><a href="#Split.redo" class="" title="Split.redo (class method)" data-id="Split.redo">redo</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.reset" data-id="Split.reset" class="memberLink"><a href="#Split.reset" class="" title="Split.reset (class method)" data-id="Split.reset">reset</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.resize" data-id="Split.resize" class="memberLink"><a href="#Split.resize" class="" title="Split.resize (class method)" data-id="Split.resize">resize</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.setFontSize" data-id="Split.setFontSize" class="memberLink"><a href="#Split.setFontSize" class="" title="Split.setFontSize (class method)" data-id="Split.setFontSize">setFontSize</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.setKeyboardHandler" data-id="Split.setKeyboardHandler" class="memberLink"><a href="#Split.setKeyboardHandler" class="" title="Split.setKeyboardHandler (class method)" data-id="Split.setKeyboardHandler">setKeyboardHandler</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.setOrientation" data-id="Split.setOrientation" class="memberLink"><a href="#Split.setOrientation" class="" title="Split.setOrientation (class method)" data-id="Split.setOrientation">setOrientation</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.setSession" data-id="Split.setSession" class="memberLink"><a href="#Split.setSession" class="" title="Split.setSession (class method)" data-id="Split.setSession">setSession</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.setSplits" data-id="Split.setSplits" class="memberLink"><a href="#Split.setSplits" class="" title="Split.setSplits (class method)" data-id="Split.setSplits">setSplits</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.setTheme" data-id="Split.setTheme" class="memberLink"><a href="#Split.setTheme" class="" title="Split.setTheme (class method)" data-id="Split.setTheme">setTheme</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.undo" data-id="Split.undo" class="memberLink"><a href="#Split.undo" class="" title="Split.undo (class method)" data-id="Split.undo">undo</a>
|
||||
</li>
|
||||
<li id="dropdown_Split.UndoManagerProxy" data-id="Split.UndoManagerProxy" class="memberLink"><a href="#Split.UndoManagerProxy" class="" title="Split.UndoManagerProxy (class method)" data-id="Split.UndoManagerProxy">UndoManagerProxy</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="Split" data-title="Split (class)" class="article">
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="Split.blur" data-title="Split.blur (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.blur" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.blur" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">blur</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.blur" class="ellipsis_description"><p>Blurs the current editor.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Blurs the current editor.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.execute" data-title="Split.execute (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.execute" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.execute" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">execute</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.execute" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.focus" data-title="Split.focus (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.focus" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.focus" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">focus</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.focus" class="ellipsis_description"><p>Focuses the current editor.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Focuses the current editor.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.forEach" data-title="Split.forEach (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.forEach" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.forEach" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">forEach</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Function" class="argument methodClicker" title="Function" data-id="Function">Function</a> callback, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> scope</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.forEach" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">callback</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Function" class="" title="Function" data-id="Function">Function</a></td><td class="argDescription "><p>Required. A callback function to execute</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">scope</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The default scope for the callback</p>
|
||||
<p>Executes <code>callback</code> on all of the available editors.</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.getCurrentEditor" data-title="Split.getCurrentEditor (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.getCurrentEditor" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.getCurrentEditor" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">getCurrentEditor</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="editor.html" class="returnType " title="Editor (class)" data-id="Editor">Editor</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.getCurrentEditor" class="ellipsis_description"><p>Returns the current editor.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the current editor.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.getEditor" data-title="Split.getEditor (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.getEditor" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.getEditor" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">getEditor</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> idx</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.getEditor" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">idx</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The index of the editor you want</p>
|
||||
<p>Returns the editor identified by the index <code>idx</code>.</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.getOrientation" data-title="Split.getOrientation (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.getOrientation" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.getOrientation" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">getOrientation</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.getOrientation" class="ellipsis_description"><p>Returns the orientation.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the orientation.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.getSplits" data-title="Split.getSplits (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.getSplits" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.getSplits" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">getSplits</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.getSplits" class="ellipsis_description"><p>Returns the number of splits.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the number of splits.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.hasRedo" data-title="Split.hasRedo (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.hasRedo" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.hasRedo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">hasRedo</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.hasRedo" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.hasUndo" data-title="Split.hasUndo (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.hasUndo" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.hasUndo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">hasUndo</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.hasUndo" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.redo" data-title="Split.redo (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.redo" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.redo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">redo</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.redo" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.reset" data-title="Split.reset (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.reset" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.reset" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">reset</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.reset" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.resize" data-title="Split.resize (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.resize" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.resize" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">resize</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.resize" class="ellipsis_description"><p>Resizes the editor.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Resizes the editor.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.setFontSize" data-title="Split.setFontSize (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.setFontSize" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.setFontSize" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setFontSize</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> size</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.setFontSize" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">size</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new font size</p>
|
||||
<p>Sets the font size, in pixels, for all the available editors.</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.setKeyboardHandler" data-title="Split.setKeyboardHandler (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.setKeyboardHandler" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.setKeyboardHandler" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setKeyboardHandler</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> keybinding</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.setKeyboardHandler" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">keybinding</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. Sets the keyboard handler for the editor.</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.setOrientation" data-title="Split.setOrientation (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.setOrientation" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.setOrientation" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setOrientation</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> orientation</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.setOrientation" class="ellipsis_description"><p>Sets the orientation.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Sets the orientation.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">orientation</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new orientation value</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.setSession" data-title="Split.setSession (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.setSession" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.setSession" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setSession</span></span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> idx</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.setSession" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">session</td><td class="argType" "><a href="edit_session.html" class="" title="EditSession (class)" data-id="EditSession">EditSession</a></td><td class="argDescription "><p>Required. The new edit session</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">idx</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The editor's index you're interested in</p>
|
||||
<p>Sets a new <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a> for the indicated editor.</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.setSplits" data-title="Split.setSplits (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.setSplits" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.setSplits" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setSplits</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.setSplits" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.setTheme" data-title="Split.setTheme (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.setTheme" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.setTheme" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setTheme</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> theme</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.setTheme" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">theme</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The name of the theme to set</p>
|
||||
<p>Sets a theme for each of the available editors.</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.undo" data-title="Split.undo (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.undo" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.undo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">undo</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.undo" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Split.UndoManagerProxy" data-title="Split.UndoManagerProxy (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Split.UndoManagerProxy" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Split.UndoManagerProxy" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">UndoManagerProxy</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.UndoManagerProxy" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
248
node_modules/ace/api/token_iterator.html
generated
vendored
Normal file
@ -0,0 +1,248 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">TokenIterator</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_TokenIterator.new" data-id="TokenIterator.new" class="memberLink"><a href="#TokenIterator.new" class="" title="TokenIterator.new (constructor)" data-id="TokenIterator.new">new</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (5)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_TokenIterator.getCurrentToken" data-id="TokenIterator.getCurrentToken" class="memberLink"><a href="#TokenIterator.getCurrentToken" class="" title="TokenIterator.getCurrentToken (class method)" data-id="TokenIterator.getCurrentToken">getCurrentToken</a>
|
||||
</li>
|
||||
<li id="dropdown_TokenIterator.getCurrentTokenColumn" data-id="TokenIterator.getCurrentTokenColumn" class="memberLink"><a href="#TokenIterator.getCurrentTokenColumn" class="" title="TokenIterator.getCurrentTokenColumn (class method)" data-id="TokenIterator.getCurrentTokenColumn">getCurrentTokenColumn</a>
|
||||
</li>
|
||||
<li id="dropdown_TokenIterator.getCurrentTokenRow" data-id="TokenIterator.getCurrentTokenRow" class="memberLink"><a href="#TokenIterator.getCurrentTokenRow" class="" title="TokenIterator.getCurrentTokenRow (class method)" data-id="TokenIterator.getCurrentTokenRow">getCurrentTokenRow</a>
|
||||
</li>
|
||||
<li id="dropdown_TokenIterator.stepBackward" data-id="TokenIterator.stepBackward" class="memberLink"><a href="#TokenIterator.stepBackward" class="" title="TokenIterator.stepBackward (class method)" data-id="TokenIterator.stepBackward">stepBackward</a>
|
||||
</li>
|
||||
<li id="dropdown_TokenIterator.stepForward" data-id="TokenIterator.stepForward" class="memberLink"><a href="#TokenIterator.stepForward" class="" title="TokenIterator.stepForward (class method)" data-id="TokenIterator.stepForward">stepForward</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="TokenIterator" data-title="TokenIterator (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>This class provides an essay way to treat the document as a stream of tokens, and provides methods to iterate over these tokens.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Constructors</h3>
|
||||
<article id="TokenIterator.new" data-title="TokenIterator.new (constructor)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="TokenIterator.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="TokenIterator.new" class="member-name methodClicker">TokenIterator</span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> initialRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> initialColumn</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_TokenIterator.new" class="ellipsis_description"><p>Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">session</td><td class="argType" "><a href="edit_session.html" class="" title="EditSession (class)" data-id="EditSession">EditSession</a></td><td class="argDescription "><p>Required. The session to associate with</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">initialRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to start the tokenizing at</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">initialColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column to start the tokenizing at</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="TokenIterator.getCurrentToken" data-title="TokenIterator.getCurrentToken (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="TokenIterator.getCurrentToken" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="TokenIterator.getCurrentToken" class="member-name methodClicker"><span class="sigClassName">TokenIterator.</span><span class="sigMemberName">getCurrentToken</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_TokenIterator.getCurrentToken" class="ellipsis_description"><p>Returns the current tokenized string.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the current tokenized string.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="TokenIterator.getCurrentTokenColumn" data-title="TokenIterator.getCurrentTokenColumn (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="TokenIterator.getCurrentTokenColumn" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="TokenIterator.getCurrentTokenColumn" class="member-name methodClicker"><span class="sigClassName">TokenIterator.</span><span class="sigMemberName">getCurrentTokenColumn</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_TokenIterator.getCurrentTokenColumn" class="ellipsis_description"><p>Returns the current column.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the current column.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="TokenIterator.getCurrentTokenRow" data-title="TokenIterator.getCurrentTokenRow (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="TokenIterator.getCurrentTokenRow" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="TokenIterator.getCurrentTokenRow" class="member-name methodClicker"><span class="sigClassName">TokenIterator.</span><span class="sigMemberName">getCurrentTokenRow</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_TokenIterator.getCurrentTokenRow" class="ellipsis_description"><p>Returns the current row.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns the current row.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="TokenIterator.stepBackward" data-title="TokenIterator.stepBackward (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="TokenIterator.stepBackward" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="TokenIterator.stepBackward" class="member-name methodClicker"><span class="sigClassName">TokenIterator.</span><span class="sigMemberName">stepBackward</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_TokenIterator.stepBackward" class="ellipsis_description"><p>Tokenizes all the items from the current point to the row prior in the document.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Tokenizes all the items from the current point to the row prior in the document.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="TokenIterator.stepForward" data-title="TokenIterator.stepForward (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="TokenIterator.stepForward" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="TokenIterator.stepForward" class="member-name methodClicker"><span class="sigClassName">TokenIterator.</span><span class="sigMemberName">stepForward</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_TokenIterator.stepForward" class="ellipsis_description"><p>Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns <code>null</code>. Otherwise, it returns the tokenized string.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns <code>null</code>. Otherwise, it returns the tokenized string.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
122
node_modules/ace/api/tokenizer.html
generated
vendored
Normal file
@ -0,0 +1,122 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">Tokenizer</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Tokenizer.new" data-id="Tokenizer.new" class="memberLink"><a href="#Tokenizer.new" class="" title="Tokenizer.new (constructor)" data-id="Tokenizer.new">new</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Tokenizer.getLineTokens" data-id="Tokenizer.getLineTokens" class="memberLink"><a href="#Tokenizer.getLineTokens" class="" title="Tokenizer.getLineTokens (class method)" data-id="Tokenizer.getLineTokens">getLineTokens</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="Tokenizer" data-title="Tokenizer (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>This class takes a set of highlighting rules, and creates a tokenizer out of them. For more information, see <a href="https://github.com/ajaxorg/ace/wiki/Creating-or-Extending-an-Edit-Mode#wiki-extendingTheHighlighter">the wiki on extending highlighters</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Constructors</h3>
|
||||
<article id="Tokenizer.new" data-title="Tokenizer.new (constructor)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Tokenizer.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="Tokenizer.new" class="member-name methodClicker">Tokenizer</span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> rules, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> flag</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Tokenizer.new" class="ellipsis_description"><p>Constructs a new tokenizer based on the given rules and flags.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Constructs a new tokenizer based on the given rules and flags.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">rules</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The highlighting rules</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">flag</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. Any additional regular expression flags to pass (like "i" for case insensitive)</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="Tokenizer.getLineTokens" data-title="Tokenizer.getLineTokens (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Tokenizer.getLineTokens" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Tokenizer.getLineTokens" class="member-name methodClicker"><span class="sigClassName">Tokenizer.</span><span class="sigMemberName">getLineTokens</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> line, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> startState</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Tokenizer.getLineTokens" class="ellipsis_description"><p>Returns an object containing two properties: <code>tokens</code>, which contains all the tokens; and <code>state</code>, the current state.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns an object containing two properties: <code>tokens</code>, which contains all the tokens; and <code>state</code>, the current state.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">line</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">startState</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
271
node_modules/ace/api/undomanager.html
generated
vendored
Normal file
@ -0,0 +1,271 @@
|
||||
|
||||
<div id="documentation" class="span9">
|
||||
<div class="classContent">
|
||||
<div class="membersBackground"></div>
|
||||
<div class=" members pos0">
|
||||
<div class=" membersContent pos0">
|
||||
<h1 class="memberHeader"><span class="name">UndoManager</span>
|
||||
</h1>
|
||||
<ul data-tabs="tabs" class="nav tabs pos0">
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_UndoManager.new" data-id="UndoManager.new" class="memberLink"><a href="#UndoManager.new" class="" title="UndoManager.new (constructor)" data-id="UndoManager.new">new</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (6)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_UndoManager.execute" data-id="UndoManager.execute" class="memberLink"><a href="#UndoManager.execute" class="" title="UndoManager.execute (class method)" data-id="UndoManager.execute">execute</a>
|
||||
</li>
|
||||
<li id="dropdown_UndoManager.hasRedo" data-id="UndoManager.hasRedo" class="memberLink"><a href="#UndoManager.hasRedo" class="" title="UndoManager.hasRedo (class method)" data-id="UndoManager.hasRedo">hasRedo</a>
|
||||
</li>
|
||||
<li id="dropdown_UndoManager.hasUndo" data-id="UndoManager.hasUndo" class="memberLink"><a href="#UndoManager.hasUndo" class="" title="UndoManager.hasUndo (class method)" data-id="UndoManager.hasUndo">hasUndo</a>
|
||||
</li>
|
||||
<li id="dropdown_UndoManager.redo" data-id="UndoManager.redo" class="memberLink"><a href="#UndoManager.redo" class="" title="UndoManager.redo (class method)" data-id="UndoManager.redo">redo</a>
|
||||
</li>
|
||||
<li id="dropdown_UndoManager.reset" data-id="UndoManager.reset" class="memberLink"><a href="#UndoManager.reset" class="" title="UndoManager.reset (class method)" data-id="UndoManager.reset">reset</a>
|
||||
</li>
|
||||
<li id="dropdown_UndoManager.undo" data-id="UndoManager.undo" class="memberLink"><a href="#UndoManager.undo" class="" title="UndoManager.undo (class method)" data-id="UndoManager.undo">undo</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<article id="UndoManager" data-title="UndoManager (class)" class="article">
|
||||
<div class="section description">
|
||||
<div class="memberContent"><p>This object maintains the undo stack for an <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Constructors</h3>
|
||||
<article id="UndoManager.new" data-title="UndoManager.new (constructor)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="UndoManager.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="UndoManager.new" class="member-name methodClicker">UndoManager</span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_UndoManager.new" class="ellipsis_description"><p>Resets the current undo state and creates a new <code>UndoManager</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Resets the current undo state and creates a new <code>UndoManager</code>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="UndoManager.execute" data-title="UndoManager.execute (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="UndoManager.execute" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="UndoManager.execute" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">execute</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> options</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_UndoManager.execute" class="ellipsis_description"><p>Provides a means for implementing your own undo manager. <code>options</code> has one property, <code>args</code>, an <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="link-short" title="<code>Array</code>" data-id="<code>Array</code>"><code>Array</code></a>, with two elements:</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Provides a means for implementing your own undo manager. <code>options</code> has one property, <code>args</code>, an <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="link-short" title="<code>Array</code>" data-id="<code>Array</code>"><code>Array</code></a>, with two elements:</p>
|
||||
<ul>
|
||||
<li><code>args[0]</code> is an array of deltas</li>
|
||||
<li><code>args[1]</code> is the document to associate with</li>
|
||||
</ul>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">options</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. Contains additional properties</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="UndoManager.hasRedo" data-title="UndoManager.hasRedo (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="UndoManager.hasRedo" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="UndoManager.hasRedo" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">hasRedo</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_UndoManager.hasRedo" class="ellipsis_description"><p>Returns <code>true</code> if there are redo operations left to perform.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if there are redo operations left to perform.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="UndoManager.hasUndo" data-title="UndoManager.hasUndo (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="UndoManager.hasUndo" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="UndoManager.hasUndo" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">hasUndo</span></span><span class="emptyArgumentList">()</span>
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_UndoManager.hasUndo" class="ellipsis_description"><p>Returns <code>true</code> if there are undo operations left to perform.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns <code>true</code> if there are undo operations left to perform.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="UndoManager.redo" data-title="UndoManager.redo (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="UndoManager.redo" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="UndoManager.redo" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">redo</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> dontSelect</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_UndoManager.redo" class="ellipsis_description"><p>Perform a redo operation on the document, reimplementing the last change.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Perform a redo operation on the document, reimplementing the last change.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">dontSelect</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. If <code>true</code>, doesn't select the range of where the change occured</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="UndoManager.reset" data-title="UndoManager.reset (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="UndoManager.reset" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="UndoManager.reset" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">reset</span></span><span class="emptyArgumentList">()</span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_UndoManager.reset" class="ellipsis_description"><p>Destroys the stack of undo and redo redo operations.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Destroys the stack of undo and redo redo operations.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="UndoManager.undo" data-title="UndoManager.undo (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="UndoManager.undo" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="UndoManager.undo" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">undo</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> dontSelect</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_UndoManager.undo" class="ellipsis_description"><p>Perform an undo operation on the document, reverting the last change.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Perform an undo operation on the document, reverting the last change.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">dontSelect</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. If <code>true</code>, doesn't select the range of where the change occured</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||||
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||||
<script defer src="./resources/javascripts/ga.js"></script>
|
||||
<div id="disqus_thread"></div>
|
||||
</div>
|
||||
2190
node_modules/ace/api/virtual_renderer.html
generated
vendored
Normal file
112
node_modules/ace/build_support/bookmarklet.html
generated
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<link href="style.css" rel="stylesheet" type="text/css">
|
||||
<title>Ace Bookmarklet Builder</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="wrapper">
|
||||
|
||||
<div class="content" style="width: 950px">
|
||||
<div class="column1" style="margin-top: 47px">
|
||||
<textarea id="textarea" style="width:300px; height:300px">
|
||||
/**
|
||||
* This is Ace injected using a bookmarklet.
|
||||
*/
|
||||
function foo() {
|
||||
var bar = true;
|
||||
}</textarea><br>
|
||||
SourceUrl: <br>
|
||||
<input id="srcURL" style="width:300px" value="http://ajaxorg.github.com/ace-builds/src-noconflict"></input><br>
|
||||
<button id="buBuild">Build Link</button> <br> <a href="#"></a>
|
||||
<a href="https://github.com/ajaxorg/ace/">
|
||||
<div class="fork_on_github" ></div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="column2">
|
||||
<h1>Ace Bookmarklet Builder</h1>
|
||||
|
||||
<p id="first">
|
||||
<strong>WARNING:</strong> Currently, this is only supported in non IE browsers.
|
||||
</p>
|
||||
|
||||
<h2>How to use it:</h2>
|
||||
<ul>
|
||||
<li>Select the options as you want them to be by default.</li>
|
||||
<li>Enter the "SourceUrl". This has to be the URL pointing to build/textarea/src/ (you can leave the default to server the scripts from GitHub).</li>
|
||||
<li>Click the "Build Link" button to generate your custom Ace Bookmarklet.</li>
|
||||
<li>Drag the generated link to your toolbar or store it somewhere else.</li>
|
||||
<li>Go to a page with a textarea element and click the bookmarklet - wait a little bit till the files are loaded.</li>
|
||||
<li>Click three times on the textarea you want to replace - Ace will replace it.</li>
|
||||
<li>To change settings, just click the red icon in the bottom right corner.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
function inject(options, callback) {
|
||||
var baseUrl = options.baseUrl || "../../src-noconflict";
|
||||
|
||||
var load = function(path, callback) {
|
||||
var head = document.getElementsByTagName('head')[0];
|
||||
var s = document.createElement('script');
|
||||
|
||||
s.src = baseUrl + "/" + path;
|
||||
head.appendChild(s);
|
||||
|
||||
s.onload = s.onreadystatechange = function(_, isAbort) {
|
||||
if (isAbort || !s.readyState || s.readyState == "loaded" || s.readyState == "complete") {
|
||||
s = s.onload = s.onreadystatechange = null;
|
||||
if (!isAbort)
|
||||
callback();
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
load("ace.js", function() {
|
||||
ace.config.loadModule("ace/ext/textarea", function() {
|
||||
var event = ace.require("ace/lib/event");
|
||||
var areas = document.getElementsByTagName("textarea");
|
||||
for (var i = 0; i < areas.length; i++) {
|
||||
event.addListener(areas[i], "click", function(e) {
|
||||
if (e.detail == 3) {
|
||||
ace.transformTextarea(e.target, options.ace);
|
||||
}
|
||||
});
|
||||
}
|
||||
callback && callback();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// Call the inject function to load the ace files.
|
||||
var textAce;
|
||||
inject({}, function () {
|
||||
// Transform the textarea on the page into an ace editor.
|
||||
var t = document.querySelector("textarea");
|
||||
textAce = ace.require("ace/ext/textarea").transformTextarea(t);
|
||||
setTimeout(function(){textAce.setDisplaySettings(true)});
|
||||
});
|
||||
|
||||
|
||||
document.getElementById("buBuild").onclick = function() {
|
||||
var injectSrc = inject.toString().split("\n").join("");
|
||||
injectSrc = injectSrc.replace(/\s+/g, " ");
|
||||
|
||||
var options = textAce.getOptions();
|
||||
options.baseUrl = document.getElementById("srcURL").value;
|
||||
|
||||
var a = document.querySelector("a");
|
||||
a.href = "javascript:(" + injectSrc + ")(" + JSON.stringify(options) + ")";
|
||||
a.innerHTML = "Ace Bookmarklet Link";
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
39
node_modules/ace/build_support/editor.html
generated
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Editor</title>
|
||||
<style type="text/css" media="screen">
|
||||
body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#editor {
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<pre id="editor">function foo(items) {
|
||||
var i;
|
||||
for (i = 0; i < items.length; i++) {
|
||||
alert("Ace Rocks " + items[i]);
|
||||
}
|
||||
}</pre>
|
||||
|
||||
<script src="src-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script>
|
||||
var editor = ace.edit("editor");
|
||||
editor.setTheme("ace/theme/twilight");
|
||||
editor.getSession().setMode("ace/mode/javascript");
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
187
node_modules/ace/build_support/mini_require.js
generated
vendored
Normal file
@ -0,0 +1,187 @@
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Distributed under the BSD license:
|
||||
*
|
||||
* Copyright (c) 2010, Ajax.org B.V.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* * Neither the name of Ajax.org B.V. nor the
|
||||
* names of its contributors may be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/**
|
||||
* Define a module along with a payload
|
||||
* @param module a name for the payload
|
||||
* @param payload a function to call with (require, exports, module) params
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
var ACE_NAMESPACE = "";
|
||||
|
||||
var global = (function() {
|
||||
return this;
|
||||
})();
|
||||
|
||||
|
||||
if (!ACE_NAMESPACE && typeof requirejs !== "undefined")
|
||||
return;
|
||||
|
||||
|
||||
var _define = function(module, deps, payload) {
|
||||
if (typeof module !== 'string') {
|
||||
if (_define.original)
|
||||
_define.original.apply(window, arguments);
|
||||
else {
|
||||
console.error('dropping module because define wasn\'t a string.');
|
||||
console.trace();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (arguments.length == 2)
|
||||
payload = deps;
|
||||
|
||||
if (!_define.modules) {
|
||||
_define.modules = {};
|
||||
_define.payloads = {};
|
||||
}
|
||||
|
||||
_define.payloads[module] = payload;
|
||||
_define.modules[module] = null;
|
||||
};
|
||||
|
||||
/**
|
||||
* Get at functionality define()ed using the function above
|
||||
*/
|
||||
var _require = function(parentId, module, callback) {
|
||||
if (Object.prototype.toString.call(module) === "[object Array]") {
|
||||
var params = [];
|
||||
for (var i = 0, l = module.length; i < l; ++i) {
|
||||
var dep = lookup(parentId, module[i]);
|
||||
if (!dep && _require.original)
|
||||
return _require.original.apply(window, arguments);
|
||||
params.push(dep);
|
||||
}
|
||||
if (callback) {
|
||||
callback.apply(null, params);
|
||||
}
|
||||
}
|
||||
else if (typeof module === 'string') {
|
||||
var payload = lookup(parentId, module);
|
||||
if (!payload && _require.original)
|
||||
return _require.original.apply(window, arguments);
|
||||
|
||||
if (callback) {
|
||||
callback();
|
||||
}
|
||||
|
||||
return payload;
|
||||
}
|
||||
else {
|
||||
if (_require.original)
|
||||
return _require.original.apply(window, arguments);
|
||||
}
|
||||
};
|
||||
|
||||
var normalizeModule = function(parentId, moduleName) {
|
||||
// normalize plugin requires
|
||||
if (moduleName.indexOf("!") !== -1) {
|
||||
var chunks = moduleName.split("!");
|
||||
return normalizeModule(parentId, chunks[0]) + "!" + normalizeModule(parentId, chunks[1]);
|
||||
}
|
||||
// normalize relative requires
|
||||
if (moduleName.charAt(0) == ".") {
|
||||
var base = parentId.split("/").slice(0, -1).join("/");
|
||||
moduleName = base + "/" + moduleName;
|
||||
|
||||
while(moduleName.indexOf(".") !== -1 && previous != moduleName) {
|
||||
var previous = moduleName;
|
||||
moduleName = moduleName.replace(/\/\.\//, "/").replace(/[^\/]+\/\.\.\//, "");
|
||||
}
|
||||
}
|
||||
|
||||
return moduleName;
|
||||
};
|
||||
|
||||
/**
|
||||
* Internal function to lookup moduleNames and resolve them by calling the
|
||||
* definition function if needed.
|
||||
*/
|
||||
var lookup = function(parentId, moduleName) {
|
||||
|
||||
moduleName = normalizeModule(parentId, moduleName);
|
||||
|
||||
var module = _define.modules[moduleName];
|
||||
if (!module) {
|
||||
module = _define.payloads[moduleName];
|
||||
if (typeof module === 'function') {
|
||||
var exports = {};
|
||||
var mod = {
|
||||
id: moduleName,
|
||||
uri: '',
|
||||
exports: exports,
|
||||
packaged: true
|
||||
};
|
||||
|
||||
var req = function(module, callback) {
|
||||
return _require(moduleName, module, callback);
|
||||
};
|
||||
|
||||
var returnValue = module(req, exports, mod);
|
||||
exports = returnValue || mod.exports;
|
||||
_define.modules[moduleName] = exports;
|
||||
delete _define.payloads[moduleName];
|
||||
}
|
||||
module = _define.modules[moduleName] = exports || module;
|
||||
}
|
||||
return module;
|
||||
};
|
||||
|
||||
function exportAce(ns) {
|
||||
var require = function(module, callback) {
|
||||
return _require("", module, callback);
|
||||
};
|
||||
|
||||
var root = global;
|
||||
if (ns) {
|
||||
if (!global[ns])
|
||||
global[ns] = {};
|
||||
root = global[ns];
|
||||
}
|
||||
|
||||
if (!root.define || !root.define.packaged) {
|
||||
_define.original = root.define;
|
||||
root.define = _define;
|
||||
root.define.packaged = true;
|
||||
}
|
||||
|
||||
if (!root.require || !root.require.packaged) {
|
||||
_require.original = root.require;
|
||||
root.require = require;
|
||||
root.require.packaged = true;
|
||||
}
|
||||
}
|
||||
|
||||
exportAce(ACE_NAMESPACE);
|
||||
|
||||
})();
|
||||
226
node_modules/ace/build_support/style.css
generated
vendored
Normal file
@ -0,0 +1,226 @@
|
||||
@import url(//fonts.googleapis.com/css?family=Droid+Sans+Mono);
|
||||
|
||||
body {
|
||||
margin:0;
|
||||
padding:0;
|
||||
background-color:#e6f5fc;
|
||||
|
||||
}
|
||||
|
||||
H2, H3, H4 {
|
||||
font-family:Trebuchet MS;
|
||||
font-weight:bold;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
H2 {
|
||||
font-size:28px;
|
||||
color:#263842;
|
||||
padding-bottom:6px;
|
||||
}
|
||||
|
||||
H3 {
|
||||
font-family:Trebuchet MS;
|
||||
font-weight:bold;
|
||||
font-size:22px;
|
||||
color:#253741;
|
||||
margin-top:43px;
|
||||
margin-bottom:8px;
|
||||
}
|
||||
|
||||
H4 {
|
||||
font-family:Trebuchet MS;
|
||||
font-weight:bold;
|
||||
font-size:21px;
|
||||
color:#222222;
|
||||
margin-bottom:4px;
|
||||
}
|
||||
|
||||
P {
|
||||
padding:13px 0;
|
||||
margin:0;
|
||||
line-height:22px;
|
||||
}
|
||||
|
||||
UL{
|
||||
line-height : 22px;
|
||||
}
|
||||
|
||||
PRE{
|
||||
background : #333;
|
||||
color : white;
|
||||
padding : 10px;
|
||||
}
|
||||
|
||||
#header {
|
||||
height : 227px;
|
||||
position:relative;
|
||||
overflow:hidden;
|
||||
background: url(images/background.png) repeat-x 0 0;
|
||||
border-bottom:1px solid #c9e8fa;
|
||||
}
|
||||
|
||||
#header .content .signature {
|
||||
font-family:Trebuchet MS;
|
||||
font-size:11px;
|
||||
color:#ebe4d6;
|
||||
position:absolute;
|
||||
bottom:5px;
|
||||
right:42px;
|
||||
letter-spacing : 1px;
|
||||
}
|
||||
|
||||
.content {
|
||||
width:970px;
|
||||
position:relative;
|
||||
margin:0 auto;
|
||||
}
|
||||
|
||||
#header .content {
|
||||
height:184px;
|
||||
margin-top:22px;
|
||||
}
|
||||
|
||||
#header .content .logo {
|
||||
width : 282px;
|
||||
height : 184px;
|
||||
background:url(images/logo.png) no-repeat 0 0;
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
}
|
||||
|
||||
#header .content .title {
|
||||
width : 605px;
|
||||
height : 58px;
|
||||
background:url(images/ace.png) no-repeat 0 0;
|
||||
position:absolute;
|
||||
top:98px;
|
||||
left:329px;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
background:url(images/body_background.png) repeat-x 0 0;
|
||||
min-height:250px;
|
||||
}
|
||||
|
||||
#wrapper .content {
|
||||
font-family:Arial;
|
||||
font-size:14px;
|
||||
color:#222222;
|
||||
width:1000px;
|
||||
}
|
||||
|
||||
#wrapper .content .column1 {
|
||||
position:relative;
|
||||
float:left;
|
||||
width:315px;
|
||||
margin-right:31px;
|
||||
}
|
||||
|
||||
#wrapper .content .column2 {
|
||||
position:relative;
|
||||
overflow:hidden;
|
||||
float:left;
|
||||
width:600px;
|
||||
padding-top:47px;
|
||||
}
|
||||
|
||||
.fork_on_github {
|
||||
width:310px;
|
||||
height:80px;
|
||||
background:url(images/fork_on_github.png) no-repeat 0 0;
|
||||
position:relative;
|
||||
overflow:hidden;
|
||||
margin-top:49px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.fork_on_github:hover {
|
||||
background-position:0 -80px;
|
||||
}
|
||||
|
||||
.divider {
|
||||
height:3px;
|
||||
background-color:#bedaea;
|
||||
margin-bottom:3px;
|
||||
}
|
||||
|
||||
.menu {
|
||||
padding:23px 0 0 24px;
|
||||
}
|
||||
|
||||
UL.content-list {
|
||||
padding:15px;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
UL.menu-list {
|
||||
padding:0;
|
||||
margin:0 0 20px 0;
|
||||
list-style-type:none;
|
||||
line-height : 16px;
|
||||
}
|
||||
|
||||
UL.menu-list LI {
|
||||
color:#2557b4;
|
||||
font-family:Trebuchet MS;
|
||||
font-size:14px;
|
||||
padding:7px 0;
|
||||
border-bottom:1px dotted #d6e2e7;
|
||||
}
|
||||
|
||||
UL.menu-list LI:last-child {
|
||||
border-bottom:0;
|
||||
}
|
||||
|
||||
A {
|
||||
color:#2557b4;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
A:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
P#first{
|
||||
background : rgba(255,255,255,0.5);
|
||||
padding : 20px;
|
||||
font-size : 16px;
|
||||
line-height : 24px;
|
||||
margin : 0 0 20px 0;
|
||||
}
|
||||
|
||||
#footer {
|
||||
height:40px;
|
||||
position:relative;
|
||||
overflow:hidden;
|
||||
background:url(images/bottombar.png) repeat-x 0 0;
|
||||
position:relative;
|
||||
margin-top:40px;
|
||||
}
|
||||
|
||||
UL.menu-footer {
|
||||
padding:0;
|
||||
margin:8px 11px 0 0;
|
||||
list-style-type:none;
|
||||
float:right;
|
||||
}
|
||||
|
||||
UL.menu-footer LI {
|
||||
color:white;
|
||||
font-family:Arial;
|
||||
font-size:12px;
|
||||
display:inline-block;
|
||||
margin:0 1px;
|
||||
}
|
||||
|
||||
UL.menu-footer LI A {
|
||||
color:#8dd0ff;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
UL.menu-footer LI A:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
45
node_modules/ace/demo/autocompletion.html
generated
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>ACE Autocompletion demo</title>
|
||||
<style type="text/css" media="screen">
|
||||
body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#editor {
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<pre id="editor"></pre>
|
||||
|
||||
<!-- load ace -->
|
||||
<script src="../build/src-noconflict/ace.js"></script>
|
||||
<!-- load ace language tools -->
|
||||
<script src="../build/src-noconflict/ext-language_tools.js"></script>
|
||||
<script>
|
||||
// trigger extension
|
||||
ace.require("ace/ext/language_tools");
|
||||
var editor = ace.edit("editor");
|
||||
editor.session.setMode("ace/mode/html");
|
||||
editor.setTheme("ace/theme/tomorrow");
|
||||
// enable autocompletion and snippets
|
||||
editor.setOptions({
|
||||
enableBasicAutocompletion: true,
|
||||
enableSnippets: true,
|
||||
enableLiveAutocompletion: false
|
||||
});
|
||||
</script>
|
||||
|
||||
<script src="./show_own_source.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
60
node_modules/ace/demo/autoresize.html
generated
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Editor</title>
|
||||
<style type="text/css" media="screen">
|
||||
|
||||
.ace_editor {
|
||||
position: relative !important;
|
||||
border: 1px solid lightgray;
|
||||
margin: auto;
|
||||
height: 200px;
|
||||
width: 80%;
|
||||
}
|
||||
.scrollmargin {
|
||||
height: 100px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<pre id="editor1">autoresizing editor</pre>
|
||||
<div class="scrollmargin"></div>
|
||||
<pre id="editor2">minHeight = 2 lines</pre>
|
||||
<div class="scrollmargin"></div>
|
||||
<pre id="editor"></pre>
|
||||
|
||||
<script src="kitchen-sink/require.js"></script>
|
||||
<script>
|
||||
// setup paths
|
||||
require.config({paths: { "ace" : "../lib/ace"}});
|
||||
// load ace and extensions
|
||||
require(["ace/ace"], function(ace) {
|
||||
|
||||
var editor1 = ace.edit("editor1");
|
||||
editor1.setTheme("ace/theme/tomorrow_night_eighties");
|
||||
editor1.session.setMode("ace/mode/html");
|
||||
editor1.setAutoScrollEditorIntoView(true);
|
||||
editor1.setOption("maxLines", 30);
|
||||
|
||||
var editor2 = ace.edit("editor2");
|
||||
editor2.setTheme("ace/theme/tomorrow_night_blue");
|
||||
editor2.session.setMode("ace/mode/html");
|
||||
editor2.setAutoScrollEditorIntoView(true);
|
||||
editor2.setOption("maxLines", 30);
|
||||
editor2.setOption("minLines", 2);
|
||||
|
||||
var editor = ace.edit("editor");
|
||||
editor.setTheme("ace/theme/tomorrow");
|
||||
editor.session.setMode("ace/mode/html");
|
||||
editor.setAutoScrollEditorIntoView(true);
|
||||
editor.setOption("maxLines", 100);
|
||||
});
|
||||
</script>
|
||||
|
||||
<script src="./show_own_source.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||