Permalink
Browse files

s/cal/call/ in LocalStore.

  • Loading branch information...
1 parent f3e4d28 commit 9e22f228ffe468186a015ab9b5bf0c1ab2d4b201 @jcoglan committed Dec 14, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 node/local_store.js
View
@@ -79,7 +79,7 @@ LocalStore.prototype.listServices = function(callback, context) {
LocalStore.prototype.saveGlobals = function(settings, callback, context) {
this.load(function(error, config) {
- if (error) return callback.cal(context, error);
+ if (error) return callback.call(context, error);
var saved = config.global || {},
updated = {};
@@ -94,7 +94,7 @@ LocalStore.prototype.saveGlobals = function(settings, callback, context) {
LocalStore.prototype.saveService = function(service, settings, callback, context) {
this.load(function(error, config) {
- if (error) return callback.cal(context, error);
+ if (error) return callback.call(context, error);
config.services = config.services || {};

0 comments on commit 9e22f22

Please sign in to comment.