[Noisebridge-discuss] JavaScript Class

Garrett Smith dhtmlkitchen at gmail.com
Thu Dec 5 01:05:44 UTC 2013


Part II of the lesson on the Factory pattern.

Last week, we covered Part 1 of the Factory lesson,
https://noisebridge.net/wiki/JavaScript/Notes/Factory#Factory_Example up to
newApply.

Some of you struggled to grasp Function.prototype.apply and context
(context determines the `this` value). So, for this week's homework, please
do the following:
https://noisebridge.net/wiki/JavaScript/Notes/Function#Variable_this

Friday's class will be a review of that. I will then move on to Abstract
Factory using a closure and also a Parameter Object:
https://noisebridge.net/wiki/JavaScript/Notes/ParameterObject
-- 
Garrett
@xkit
ChordCycles.com
garretts.github.io
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.noisebridge.net/pipermail/noisebridge-discuss/attachments/20131204/fd70678b/attachment-0002.html>


More information about the Noisebridge-discuss mailing list