Attempt to fix javascript load errors
authorLaury GvR <laury@gaslightmedia.com>
Fri, 16 Jan 2015 17:18:00 +0000 (12:18 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 16 Jan 2015 17:18:00 +0000 (12:18 -0500)
Gruntfile.js
header.php
js/custom/pageSetup.js [new file with mode: 0755]
js/pageSetup.js [deleted file]

index 6055dd4..48c481d 100755 (executable)
@@ -48,7 +48,7 @@ module.exports = function(grunt) {
         src: [
           'js/dollarsign.js',
           'js/foundation/js/foundation.min.js',
-          'js/custom/*.js'
+          'js/custom/*.js',
         ],
 
         dest: 'js/app.js'
@@ -82,3 +82,5 @@ module.exports = function(grunt) {
   grunt.registerTask('runwatch', ['sass','uglify', 'concat']);
   grunt.registerTask('default', ['runwatch','watch']);
 }
+
+}
\ No newline at end of file
index 37985ed..fc4ccc7 100755 (executable)
@@ -11,7 +11,7 @@
  <body>
      <div class="off-canvas-wrap" data-offcanvas>
         <div class="inner-wrap">
-                       <aside class="left-off-canvas-menu">
+            <aside class="left-off-canvas-menu">
                 <?php glm_offcanvas_menu(); ?>
             </aside>
             <div class="row content">
diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js
new file mode 100755 (executable)
index 0000000..6d21e36
--- /dev/null
@@ -0,0 +1,11 @@
+$(document).foundation();
+$(document).ready(function () {
+    $('ul.children').each(function () {
+        $(this).before('<a class="toggle" href="#"></a>');
+    });
+    $('a.toggle').click('click', function () {
+        console.log('clicked me!');
+        $(this).toggleClass('open');
+        $(this).siblings('ul').toggleClass('open');
+    });
+});
\ No newline at end of file
diff --git a/js/pageSetup.js b/js/pageSetup.js
deleted file mode 100755 (executable)
index 6d21e36..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-$(document).foundation();
-$(document).ready(function () {
-    $('ul.children').each(function () {
-        $(this).before('<a class="toggle" href="#"></a>');
-    });
-    $('a.toggle').click('click', function () {
-        console.log('clicked me!');
-        $(this).toggleClass('open');
-        $(this).siblings('ul').toggleClass('open');
-    });
-});
\ No newline at end of file