aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-28 09:50:28 -0700
committerJose Antonio Marquez2012-06-28 09:50:28 -0700
commitee1adbcc33932bc27966c02b159a3ab06966d4a5 (patch)
treea9d5ff91681aa06bf26cb62994461a58d3f80005 /js/document
parentca1e79d4dc36a55c47b6f8cb92069eafc95383b5 (diff)
parent299ad041ab8f8669b3688e5ce74df5213d82ade6 (diff)
downloadninja-ee1adbcc33932bc27966c02b159a3ab06966d4a5.tar.gz
Merge branch 'refs/heads/Ninja-Internal' into Document
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/templates/banner/index.html2
-rwxr-xr-xjs/document/templates/html/index.html2
-rwxr-xr-xjs/document/views/code.js2
3 files changed, 5 insertions, 1 deletions
diff --git a/js/document/templates/banner/index.html b/js/document/templates/banner/index.html
index 626dc0bc..037c1197 100755
--- a/js/document/templates/banner/index.html
+++ b/js/document/templates/banner/index.html
@@ -18,9 +18,11 @@
18 18
19 <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true"> 19 <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true">
20 * { 20 * {
21 -webkit-animation: none !important;
21 -webkit-transition-duration: 0s !important; 22 -webkit-transition-duration: 0s !important;
22 -webkit-animation-duration: 0s !important; 23 -webkit-animation-duration: 0s !important;
23 -webkit-animation-name: none !important; 24 -webkit-animation-name: none !important;
25 -webkit-animation-fill-mode: none !important;
24 } 26 }
25 27
26 body { 28 body {
diff --git a/js/document/templates/html/index.html b/js/document/templates/html/index.html
index 8fc0d82f..ef68a3c0 100755
--- a/js/document/templates/html/index.html
+++ b/js/document/templates/html/index.html
@@ -21,9 +21,11 @@
21 21
22 <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true"> 22 <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true">
23 * { 23 * {
24 -webkit-animation: none !important;
24 -webkit-transition-duration: 0s !important; 25 -webkit-transition-duration: 0s !important;
25 -webkit-animation-duration: 0s !important; 26 -webkit-animation-duration: 0s !important;
26 -webkit-animation-name: none !important; 27 -webkit-animation-name: none !important;
28 -webkit-animation-fill-mode: none !important;
27 } 29 }
28 30
29 body { 31 body {
diff --git a/js/document/views/code.js b/js/document/views/code.js
index c8b2a23e..5467b0f1 100755
--- a/js/document/views/code.js
+++ b/js/document/views/code.js
@@ -114,7 +114,7 @@ exports.CodeDocumentView = Montage.create(BaseDocumentView, {
114 // 114 //
115 this.textViewContainer.style.display="block"; 115 this.textViewContainer.style.display="block";
116 // 116 //
117 this.editor = this.application.ninja.codeEditorController.createEditor(this, type, file.extension, textDocument); 117 this.editor = this.application.ninja.codeEditorWrapper.createEditor(this, type, file.extension, textDocument);
118 this.editor.hline = this.editor.setLineClass(0, "activeline"); 118 this.editor.hline = this.editor.setLineClass(0, "activeline");
119 } 119 }
120 }, 120 },