Merge pull request #1425 from danyaPostfactum/misc

Micro bug fixes (IE8 issues and mistypes)
This commit is contained in:
Harutyun Amirjanyan 2013-05-12 11:19:05 -07:00
commit f68b8b9719
4 changed files with 4 additions and 4 deletions

View file

@ -91,7 +91,7 @@ require("ace/multi_select").MultiSelect(env.editor);
var consoleEl = dom.createElement("div");
container.parentNode.appendChild(consoleEl);
consoleEl.style.cssText = "position:fixed; bottom:1px; right:0;\
border:1px solid #baf; zIndex:100";
border:1px solid #baf; z-index:100";
var cmdLine = new layout.singleLineEditor(consoleEl);
cmdLine.editor = env.editor;

View file

@ -205,7 +205,7 @@ exports.fillDropdown = function(el, values) {
function elt(tag, attributes, content) {
var el = dom.createElement(tag);
if (typeof content == "string") {
el.textContent = content;
el.appendChild(document.createTextNode(content));
} else if (content) {
content.forEach(function(ch) {
el.appendChild(ch);

View file

@ -276,7 +276,7 @@
</tr>
<tr>
<td colspan="2">
<input type="button" value="Edit Snippets", onclick="env.editSnippets()">
<input type="button" value="Edit Snippets" onclick="env.editSnippets()">
</td>
</tr>
</table>

View file

@ -655,7 +655,7 @@ module.exports = {
};
module.exports.backspace = module.exports.left = module.exports.h;
module.exports.space = module.exports.return = module.exports.right = module.exports.l;
module.exports.space = module.exports['return'] = module.exports.right = module.exports.l;
module.exports.up = module.exports.k;
module.exports.down = module.exports.j;
module.exports.pagedown = module.exports["ctrl-d"];