Permalink
Browse files

JS comment cleanup

  • Loading branch information...
1 parent 2d956ec commit 725a75ebf0e815b4191f04e23920587367a32588 Andrew Appleton committed Jan 3, 2012
Showing with 22 additions and 26 deletions.
  1. +7 −10 js/plugins.js
  2. +15 −16 js/script.js
View
@@ -1,10 +1,7 @@
-/*
-
-Author: Andrew Appleton
-Author URL: http://floatleft.com/
-
-Contents:
-
-1. JavaScript plugins
-
-*/
+//
+// Author: Andrew Appleton
+// Author URL: http://floatleft.com/
+//
+// Contents:
+//
+// 1. JavaScript plugins
View
@@ -1,17 +1,15 @@
-/*
-
-Author: Andrew Appleton
-Author URL: http://floatleft.com/
-
-Contents:
-
-1. Global Scripts
-2. Modules
-3. Pages
-
-*/
-
-/************************ 1. Global Scripts ************************************/
+//
+// Author: Andrew Appleton
+// Author URL: http://floatleft.com/
+//
+// Contents:
+//
+// 1. Global Scripts
+// 2. Modules
+// 3. Pages
+
+
+//*********************** 1. Global Scripts ***********************************
// Global object - all modules live under this
window.App = window.App || {};
@@ -24,7 +22,7 @@ App.htmlID = function(id, fn){
});
};
-/************************ 2. Modules *******************************************/
+//************************ 2. Modules *****************************************
// All modules to follow this pattern
App.ModuleName = function(){
var publics, privates;
@@ -54,8 +52,9 @@ App.SubModule = function(){
return publics;
};
-/************************ 3. Pages *********************************************/
+//************************ 3. Pages *******************************************
// Everything in this section scoped to <html> ID
App.htmlID('index', function(){
+ //Instatiate a module object
var myModule = App.SubModule();
});

0 comments on commit 725a75e

Please sign in to comment.