Skip to content

Commit

Permalink
Node documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
ezequiel committed Sep 11, 2013
1 parent 5d1317f commit df32166
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/node/js/node-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,16 @@ Y.mix(Y_Node.prototype, {
Y.one(node).append(this);
return this;
},


// This method is deprecated, and is intentionally left undocumented.
// Use `setHTML` instead.
setContent: function(content) {
this._insert(content, 'replace');
return this;
},


// This method is deprecated, and is intentionally left undocumented.
// Use `getHTML` instead.
getContent: function() {
var node = this;

Expand Down

0 comments on commit df32166

Please sign in to comment.