Permalink
Browse files

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

  • Loading branch information...
1 parent b0c6ec7 commit 3454ec072f45d522fe7386c5dc279c5a39fb4309 @Aqua-Ye Aqua-Ye committed Oct 7, 2011
Showing with 9 additions and 8 deletions.
  1. +9 −8 opadoc/opadoc.js
View
@@ -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() {} }); }

0 comments on commit 3454ec0

Please sign in to comment.