From 7f9ee706fe11554c369b7fcc8cb75b72ba09f51d Mon Sep 17 00:00:00 2001 From: Gabe Hopper Date: Thu, 28 Aug 2014 11:57:16 -0700 Subject: [PATCH] remove jquery from app-async.js and add app-async.js to assets. --- lib/assets.js | 11 +++++------ public/js/app-async.js | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/assets.js b/lib/assets.js index 8f506de..cfc8b3b 100644 --- a/lib/assets.js +++ b/lib/assets.js @@ -8,10 +8,10 @@ "scripts": ["socket.io/socket.io.js"], - "trailingScripts": - ["js/libs/underscore/underscore-1.4.4.js", + "trailingScripts": ["js/libs/underscore/underscore-1.4.4.js", "js/libs/jquery/jquery-1.9.1.js", "js/libs/backbone/backbone-1.0.0.js", + "js/app-async.js", "js/app-utils.js", "js/app-starter.js", "js/app-store.js", @@ -36,10 +36,9 @@ "content": "black" } ], - "htmlFiles": - [ - path.join(templates, "container.html") - ], + "htmlFiles": [ + path.join(templates, "container.html") + ], "links": [ { "rel": "apple-touch-startup-image", diff --git a/public/js/app-async.js b/public/js/app-async.js index 6610448..3719371 100644 --- a/public/js/app-async.js +++ b/public/js/app-async.js @@ -1,5 +1,5 @@ /*global PhoneGap:false, require:false */ -(function ($, _, app) { +(function (_, app) { "use strict"; app.async = app.async || {}; @@ -18,4 +18,4 @@ }); }; -})($, _, window["jolira-app"]); \ No newline at end of file +})(_, window["jolira-app"]); \ No newline at end of file