Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[cleanup] opadoc: removed what seems to be a useless function

  • Loading branch information...
commit 3454ec072f45d522fe7386c5dc279c5a39fb4309 1 parent b0c6ec7
@Aqua-Ye Aqua-Ye authored
Showing with 9 additions and 8 deletions.
  1. +9 −8 opadoc/opadoc.js
View
17 opadoc/opadoc.js
@@ -268,16 +268,17 @@ function init() {
});
}
+// Initiliaze communication with #doc iframe
function initMessage() {
var iframe = document.getElementById('doc').contentWindow;
iframe.postMessage("Hello", "*");
}
-/**
-* A hack for avoiding an error, when opa generates static pages
-* Opa generates javascript code like this :
-*
-* $('#drorwaflpuhsioqawokdsealauvjlact').css({ 'color': 'rgb(0,0,0)'})
-*
-**/
-function $(){ return({ css : function() {} }); }
+// /**
+// * A hack for avoiding an error, when opa generates static pages
+// * Opa generates javascript code like this :
+// *
+// * $('#drorwaflpuhsioqawokdsealauvjlact').css({ 'color': 'rgb(0,0,0)'})
+// *
+// **/
+// function $(){ return({ css : function() {} }); }
Please sign in to comment.
Something went wrong with that request. Please try again.