Permalink
Browse files

Add domLoadScriptSync

  • Loading branch information...
koenbok committed May 15, 2014
1 parent a9fd591 commit 943df9ace5e76c94a50936679700a097277e0dec
Showing with 5 additions and 0 deletions.
  1. +5 −0 framer/Utils.coffee
@@ -278,6 +278,11 @@ Utils.domLoadDataSync = (path) ->
Utils.domLoadJSONSync = (path) ->
JSON.parse Utils.domLoadDataSync path
Utils.domLoadScriptSync = (path) ->
scriptData = Utils.domLoadDataSync path
eval scriptData
scriptData
######################################################
# GEOMERTY FUNCTIONS

0 comments on commit 943df9a

Please sign in to comment.