Skip to content

Commit

Permalink
removed html tags from js code (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grom-S committed Feb 4, 2012
1 parent 7df0912 commit 53f84b8
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions code-reuse-patterns/klass.html
Expand Up @@ -79,19 +79,7 @@

console.log(clark instanceof Man); // true
console.log(clark instanceof SuperMan); // true
<
!doctype
html >
< html
lang = "en" >
< head >
< title > JavaScript
Patterns < /title>
< meta
charset = "utf-8" >
< /head>
< body >
< script >

/* Title: Classical Pattern #5 - A Temporary Constructor (a pattern that should be generally avoided)
Description: first borrow the constructor and then also set the child's prototype to point to a new instance of the constructor
*/
Expand Down Expand Up @@ -161,7 +149,3 @@
</script>
</body>
</html>
</script>
<
/body>
< /html>

0 comments on commit 53f84b8

Please sign in to comment.