JavaScriptPatterns
JavaScriptPatterns copied to clipboard
Results
2
JavaScriptPatterns issues
Sort by
recently updated
recently updated
newest added
On p. 178 your book provides an example of a jQuery plugin like this: ``` $.fn.yeller = function () { this.each(function (_, item) { $(item).val($(item).val().toUpperCase()); return this; }); } ```...
Hello, shouldn't the Tournament class actually have something like `this.events = [];`? Because when you run code likes this: ``` var tournament = new Tournament(); tournament.events.push(new Event("Joust")); ``` the tournament...