Skip to content

Commit

Permalink
INTEGRATE: Improve ES6 inheritance example
Browse files Browse the repository at this point in the history
* master:
  Remove extraneous code from ES6 inheritance example
  • Loading branch information
jamesshore committed Mar 3, 2018
2 parents 8ad27cf + 7017730 commit db12ef4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/user_code.js
Expand Up @@ -120,11 +120,7 @@ window.jdls = window.jdls || {};
'}\n' +
'\n' +
'// Instantiate\n' +
'this.instance = new Child();\n' +
'\n' +
'// Run method (check the log)\n' +
'this.instance.method();\n' +
'\n'
'this.instance = new Child();\n'
};

samples.inception = { name: "Inception!", code: 'this.jdls = jdls;\n' +
Expand Down

0 comments on commit db12ef4

Please sign in to comment.