Created
March 18, 2017 08:56
-
-
Save stnight/9ec320216f489f84ee087e41620070ad to your computer and use it in GitHub Desktop.
This file contains 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 page = e.detail.page; | |
$$(page.container).find("script").each(function(el){ | |
if ($(this).attr('src')){ | |
jQuery.getScript($(this).attr('src')); | |
} else { | |
eval($(this).text()); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment