Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
updating jscs
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Jun 9, 2015
1 parent a046dd7 commit b87e506
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .jscsrc
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,15 @@
"requireSpaceBeforeBlockStatements": true,
"requireSpacesInForStatement": true,
"requireLineFeedAtFileEnd": true,
"requireSpaceAfterLineComment": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireSpacesInFunctionExpression": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
},

"requireSpaceAfterPrefixUnaryOperators": ["!"],

"disallowSpacesInCallExpression": true,
"disallowSpaceAfterObjectKeys": true,
"requireSpaceBeforeObjectValues": true,
Expand Down
8 changes: 2 additions & 6 deletions dist/angular-locker.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@
* Trigger an error
*
* @param {String} msg
*
* @return {void}
*/
var _error = function (msg) {
throw new Error('[angular-locker] ' + msg);
Expand Down Expand Up @@ -232,8 +230,6 @@
*
* @param {String} name
* @param {Object} payload
*
* @return {void}
*/
this._event = function (name, payload) {
if (this._options.eventsEnabled) {
Expand Down Expand Up @@ -332,7 +328,7 @@
* @param {Mixed} value
* @param {Mixed} def
*
* @return {Locker}
* @return {Locker|Boolean}
*/
put: function (key, value, def) {
if (! _defined(key)) return false;
Expand Down Expand Up @@ -592,7 +588,7 @@
* @param {String} driver
* @return {Boolean}
*/
supported: function(driver) {
supported: function (driver) {
return this._checkSupport(driver);
},

Expand Down
Loading

0 comments on commit b87e506

Please sign in to comment.