Skip to content

Commit

Permalink
applied changes in issue chuanxshi#34
Browse files Browse the repository at this point in the history
  • Loading branch information
chuanxshi committed Feb 2, 2012
1 parent 554e419 commit 882a348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions general-patterns/built-in-prototypes.html
Expand Up @@ -19,8 +19,8 @@
* the code or already part of the JavaScript engine of one of the browsers you support.
* 3. You clearly document and communicate the change with the team.
*/
if (typeof Object.protoype.myMethod !== "function") {
Object.protoype.myMethod = function () {
if (typeof Object.prototype.myMethod !== "function") {
Object.prototype.myMethod = function () {
// implementation...
};
}
Expand Down

0 comments on commit 882a348

Please sign in to comment.