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

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Apr 10, 2015
1 parent 31e6240 commit c81f2d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/angular-locker.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
*/
driver: function (driver) {
// no need to create a new instance if the driver is the same
if (this._resolveDriver(driver) === this._driver) return this;
if (driver === this._options.driver) return this;

return this.instance(angular.extend(this._options, { driver: driver }));
},
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-locker.min.js

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

Loading

0 comments on commit c81f2d6

Please sign in to comment.