Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
aheckmann committed Jun 13, 2012
1 parent b018c9b commit 0ab7607
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/document.js
Expand Up @@ -550,20 +550,6 @@ Document.prototype.setValue = function (path, val) {
return this;
};

/**
* Triggers casting on a specific path
*
* @todo - deprecate? not used anywhere
* @param {String} path
* @api public
*/

Document.prototype.doCast = function (path) {
var schema = this.schema.path(path);
if (schema)
this.setValue(path, this.getValue(path));
};

/**
* Gets a path
*
Expand Down

0 comments on commit 0ab7607

Please sign in to comment.