Navigation Menu

Skip to content

Commit

Permalink
Change to just memoize purely on uri for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveWang committed Aug 9, 2011
1 parent f62f6f9 commit 20850b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/now.js
@@ -1,7 +1,7 @@
(function () {
var nowObjects = {};
var noConflict = function (uri, options) {
uri = io.util.uniqueUri(io.util.parseUri(uri || ''));
uri = uri || '';
if (nowObjects[uri]) {
return nowObjects[uri];
}
Expand Down

0 comments on commit 20850b1

Please sign in to comment.