Skip to content

Instantly share code, notes, and snippets.

@Raynos
Created September 8, 2011 16:54
Show Gist options
  • Save Raynos/1203895 to your computer and use it in GitHub Desktop.
Save Raynos/1203895 to your computer and use it in GitHub Desktop.
"prototype": function _prototype(proto) {
return this.assert(
proto.isPrototypeOf(this.obj),
"expected " + this.inspect + " to have " + i(proto) + " in it's prototype chain",
"expected " + this.inspect + " to not have "+ i(proto) + " in it's prototype chain"
);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment