Permalink
Browse files

removed html tags from js code (typo)

  • Loading branch information...
1 parent 7df0912 commit 53f84b8a7bb401d9d749f7b4f1b4ab59a9a3cf6d @Grom-S Grom-S committed Feb 4, 2012
Showing with 1 addition and 17 deletions.
  1. +1 −17 code-reuse-patterns/klass.html
@@ -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
*/
@@ -161,7 +149,3 @@
</script>
</body>
</html>
-</script>
-<
-/body>
-< /html>

0 comments on commit 53f84b8

Please sign in to comment.