Merge pull request #847 from ajaxorg/gh-pages
Miscellaneous small bugfixes
This commit is contained in:
commit
4e020ed6e4
6 changed files with 9 additions and 11 deletions
2
.gitmodules
vendored
2
.gitmodules
vendored
|
|
@ -3,4 +3,4 @@
|
||||||
url = git://github.com/ajaxorg/ace.wiki.git
|
url = git://github.com/ajaxorg/ace.wiki.git
|
||||||
[submodule "build"]
|
[submodule "build"]
|
||||||
path = build
|
path = build
|
||||||
url = https://github.com/ajaxorg/ace-builds.git
|
url = git://github.com/ajaxorg/ace-builds.git
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,9 @@ Features
|
||||||
Take Ace for a spin!
|
Take Ace for a spin!
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
Check out the Ace live [demo](http://ajaxorg.github.com/ace-builds/kitchen-sink.html) or get a [Cloud9 IDE account](http://c9.io) to experience Ace while editing one of your own GitHub projects.
|
Check out the Ace live [demo](http://ajaxorg.github.com/ace/build/kitchen-sink.html) or get a [Cloud9 IDE account](http://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.com/ace-builds/textarea/editor.html).
|
If you want, you can use Ace as a textarea replacement thanks to the [Ace Bookmarklet](http://ajaxorg.github.com/ace/build/textarea/editor.html).
|
||||||
|
|
||||||
Getting the code
|
Getting the code
|
||||||
----------------
|
----------------
|
||||||
|
|
@ -123,7 +123,7 @@ The editor can then be opened at http://localhost:8888/kitchen-sink.html.
|
||||||
Package Ace
|
Package Ace
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
To package Ace we use the dryice build tool developed by the Mozilla Skywriter team. (see the [wiki](https://github.com/ajaxorg/ace/wiki/Building-ace) more for details)
|
To package Ace we use the dryice build tool developed by the Mozilla Skywriter team. (see the [wiki](https://github.com/ajaxorg/ace/wiki/Building-ace) for more details)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install
|
npm install
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@
|
||||||
|
|
||||||
<h2>Take Ace for a spin!</h2>
|
<h2>Take Ace for a spin!</h2>
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
<p>Check out the <a href="http://ajaxorg.github.com/ace-builds/kitchen-sink.html">Ace live demo</a> or get a <a href="http://c9.io">Cloud9 IDE account</a> to experience Ace while editing one of your own GitHub projects.</p>
|
<p>Check out the <a href="./build/kitchen-sink.html">Ace live demo</a> or get a <a href="http://c9.io">Cloud9 IDE account</a> to experience Ace while editing one of your own GitHub projects.</p>
|
||||||
|
|
||||||
<h2>History</h2>
|
<h2>History</h2>
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@ var TextInput = function(parentNode, host) {
|
||||||
});
|
});
|
||||||
event.addListener(text, "cut", onCut); // for ie9 context menu
|
event.addListener(text, "cut", onCut); // for ie9 context menu
|
||||||
}
|
}
|
||||||
else if (useragent.isOpera) {
|
else if (useragent.isOpera && !("KeyboardEvent" in window)) {
|
||||||
event.addListener(parentNode, "keydown", function(e) {
|
event.addListener(parentNode, "keydown", function(e) {
|
||||||
if ((useragent.isMac && !e.metaKey) || !e.ctrlKey)
|
if ((useragent.isMac && !e.metaKey) || !e.ctrlKey)
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@ EventEmitter._dispatchEvent = function(eventName, e) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
e = e || {};
|
e = e || {};
|
||||||
|
if (!e.type)
|
||||||
e.type = eventName;
|
e.type = eventName;
|
||||||
|
|
||||||
if (!e.stopPropagation) {
|
if (!e.stopPropagation) {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
"description": "Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE",
|
"description": "Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE",
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"homepage" : "http://github.com/ajaxorg/ace",
|
"homepage" : "http://github.com/ajaxorg/ace",
|
||||||
"engines": {"node": ">= 0.4.0"},
|
"engines": {"node": ">= 0.6.0"},
|
||||||
"author": "Fabian Jakobs <fabian@ajax.org>",
|
"author": "Fabian Jakobs <fabian@ajax.org>",
|
||||||
"main": "lib/ace",
|
"main": "lib/ace",
|
||||||
"repository" : {
|
"repository" : {
|
||||||
|
|
@ -19,9 +19,6 @@
|
||||||
"dryice": "",
|
"dryice": "",
|
||||||
"panino" : "~1.0.15"
|
"panino" : "~1.0.15"
|
||||||
},
|
},
|
||||||
"engines": {
|
|
||||||
"node": "~0.6.0"
|
|
||||||
},
|
|
||||||
"mappings": {
|
"mappings": {
|
||||||
"ace": "."
|
"ace": "."
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue