Skip to content

Commit

Permalink
removed strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Shah committed Oct 1, 2015
1 parent a0c8641 commit 2bec95c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
9 changes: 2 additions & 7 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module.exports = function(grunt) {
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n',
mangle: false
},
dist: {
Expand All @@ -19,14 +18,10 @@ module.exports = function(grunt) {
options: {
// options here to override JSHint defaults
globals: {
jQuery: true,
console: true,
module: true,
document: true,
strict: true
},
strict: true,
undef: true
document: true
},
}
},
jscs: {
Expand Down
11 changes: 3 additions & 8 deletions agile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
(function () {
"use strict";

/** UTILITY FUNCTIONS */

/**
Expand Down Expand Up @@ -68,7 +65,7 @@
}
return str.rtrim('&');
}

/** VALIDATIONS FUNCTIONS */

/**
Expand All @@ -93,7 +90,7 @@

/**
* Returns a character from the specified ASCII value.
* @return character
* @return character
*/
function chr(asc) {
return String.fromCharCode(asc);
Expand Down Expand Up @@ -508,6 +505,4 @@
return i;
}
}
};

}());
};
3 changes: 1 addition & 2 deletions agile.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>Agile JS Examples</title>
<script type="text/javascript" src="agile-js.min.js"></script>
<script type="text/javascript" src="agile.min.js"></script>
</head>
<body>

Expand Down

0 comments on commit 2bec95c

Please sign in to comment.