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

Commit

Permalink
fixing new instances
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Jan 19, 2015
1 parent 235f4af commit f1e78a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/angular-locker.js
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@
* @return {self}
*/
driver: function (driver) {
return new Locker(driver, this._namespace, this._eventsEnabled);
return new Locker(driver, this._namespace, this._eventsEnabled, this._separator);
},

/**
Expand All @@ -598,7 +598,7 @@
* @return {self}
*/
namespace: function (namespace) {
return new Locker(this._deriveDriver(this._driver), namespace, this._eventsEnabled);
return new Locker(this._deriveDriver(this._driver), namespace, this._eventsEnabled, this._separator);
},

/**
Expand Down

0 comments on commit f1e78a2

Please sign in to comment.