From 6f300be1dd6489ec47c8eda73a8d6e5b9aebf08f Mon Sep 17 00:00:00 2001 From: Nicolas PERU Date: Sun, 20 May 2012 22:49:40 +0200 Subject: [PATCH] issue #14 : fallback for jquery throttle plugin --- app/views/main.scala.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/main.scala.html b/app/views/main.scala.html index d11515c..d98c41e 100644 --- a/app/views/main.scala.html +++ b/app/views/main.scala.html @@ -12,7 +12,6 @@ if (window.jQuery === undefined) { //assume if we did not load jQuery then CDN is down or we are offline so we serve the files document.write(unescape("%3Cscript src='@routes.Assets.at("javascripts/jquery-1.7.1.min.js")' type='text/javascript'%3E%3C/script%3E")); - document.write(unescape("%3Cscript src='@routes.Assets.at("javascripts/jquery.ba-throttle-debounce.min.js")' type='text/javascript'%3E%3C/script%3E")); document.write(unescape("%3Cscript src='@routes.Assets.at("javascripts/bootstrap.min.js")' type='text/javascript'%3E%3C/script%3E")); } @@ -41,6 +40,11 @@ } +