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

Commit

Permalink
adding jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Jun 20, 2015
1 parent ba709d3 commit 8275723
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions jsdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"opts": {
"destination": "./docs/"
},
"templates": {
"cleverLinks" : false,
"monospaceLinks" : false,
"outputSourceFiles" : false,
"outputSourcePath" : false,
"collapseSymbols" : false,
"inverseNav" : true
},
"opts": {
"encoding": "utf8",
"private": false
}
}
4 changes: 2 additions & 2 deletions src/angular-locker.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@
// no need to create a new instance if the driver is the same
if (driver === this._options.driver) return this;

return this.instance(angular.extend(this._options, { driver: _value(driver) }));
return this.instance(angular.extend(this._options, { driver: driver }));
},

/**
Expand All @@ -655,7 +655,7 @@
// no need to create a new instance if the namespace is the same
if (namespace === this._namespace) return this;

return this.instance(angular.extend(this._options, { namespace: _value(namespace) }));
return this.instance(angular.extend(this._options, { namespace: namespace }));
},

/**
Expand Down

0 comments on commit 8275723

Please sign in to comment.