From 78e3fd38c14f5c9cb068a2503d98ef25b1dd2126 Mon Sep 17 00:00:00 2001 From: Roly Rudy Gutierrez Pinto Date: Thu, 3 Jul 2014 17:12:19 -0400 Subject: [PATCH] minimal change rake pmdynaform --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 5250df34d..5a16724d1 100644 --- a/Rakefile +++ b/Rakefile @@ -151,7 +151,7 @@ def buildPmdynaform(homeDir, targetDir, mode) system("cp -r #{homeDir}/build #{pmdynaformDir}") system("cp -r #{homeDir}/libs #{pmdynaformDir}") system("rm #{pmdynaformDir}/build/appBuild.js") - readyForm = "$(document).ready(function () {var data = document.location.search.replace(\"?data=\", \"\");data = decodeURIComponent(data);if (typeof data !== \"object\")data = JSON.parse(data);$(\".pmdynaform-container\").remove();new PMDynaform.View.Form({tagName: \"div\", renderTo: $(\".container\"), model: new PMDynaform.Model.Form(data)});});" + readyForm = "" system("echo '#{readyForm}' >> #{pmdynaformDir}/build/appBuild.js ") puts "\nPmDynaform Build Finished!".magenta