Skip to content

Instantly share code, notes, and snippets.

@kuba-orlik
Created September 27, 2015 13:31
Show Gist options
  • Save kuba-orlik/dd1818ac887f5225c2d8 to your computer and use it in GitHub Desktop.
Save kuba-orlik/dd1818ac887f5225c2d8 to your computer and use it in GitHub Desktop.
diff --git a/lib/chip-types/field-type.js b/lib/chip-types/field-type.js
index 74fbbac..e70681e 100644
--- a/lib/chip-types/field-type.js
+++ b/lib/chip-types/field-type.js
@@ -71,6 +71,8 @@ FieldType.prototype = new function(){
} else {
ret = this["_" + method_name].bind(this);
}
+ console.log(this.name);
+ console.log(ret);
return Promise.method(ret);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment