Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update README.md

  • Loading branch information...
commit 926e233246be1cfbb680063a73f84fb0ca2a3e0f 1 parent fff08c2
@tnhu authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 README.md
View
4 README.md
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.