Created
December 2, 2014 05:20
-
-
Save dburles/be5ba2c0105c20d3c40c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Blaze.TemplateInstance.prototype.setDefault = function(key, value) { | |
return Session.setDefault(this.view.name + '.' + key, value); | |
}; | |
Blaze.TemplateInstance.prototype.set = function(key, value) { | |
return Session.set(this.view.name + '.' + key, value); | |
}; | |
Blaze.TemplateInstance.prototype.get = function(key) { | |
return Session.get(this.view.name + '.' + key); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment