Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent fff08c2 commit 926e233246be1cfbb680063a73f84fb0ca2a3e0f @tnhu committed Feb 3, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 README.md
View
@@ -67,12 +67,10 @@ var Student = Class(Person, {
constructor: function(id, name, age) {
this.id = id;
Student.$super.call(this, name, age); // Invoke parent's constructor
- // this.$super(name, age); // This api is removed since v2.1.0
},
toString: function() {
return this.id + "/" + Student.$superp.toString.call(this); // Invoke parent's toString method
- // return this.id + "/" + this.$super(); // This api is removed since v2.1.0
}
});
@@ -433,4 +431,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+THE SOFTWARE.

0 comments on commit 926e233

Please sign in to comment.