Created
April 7, 2016 06:34
-
-
Save honewatson/4d0ee3abc0d9d8f2970a30247526f866 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var b = []; | |
var f; | |
var s = document.createElement('script'); | |
s.src = 'https://code.jquery.com/jquery-1.11.1.min.js'; | |
s.onload = function() { | |
var ifr = window.jQuery('.iframe-container.main iframe')[0]; | |
f = new F(ifr.contentWindow, ifr.contentDocument, ifr.contentWindow.jQuery, ifr.contentWindow.EasyEdit, ifr.contentWindow.EasyEdit.wizard); | |
}; | |
document.body.appendChild(s); | |
var F = function(window, document, $, EasyEdit, wizard) { | |
this.window = window; | |
this.document = document; | |
this.$ = $; | |
this.EasyEdit = EasyEdit; | |
this.wizard = wizard; | |
console.log(this.window); | |
console.log(this.document); | |
console.log(this.$); | |
console.log(this.EasyEdit); | |
console.log(wizard); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment