gitextract_ubd058uh/ ├── README.md ├── cn/ │ └── index.html ├── code-reuse-patterns/ │ ├── borrowing-methods.html │ ├── cp1-default.html │ ├── cp2-rent-a-constructor.html │ ├── cp3-rent-and-set-prototype.html │ ├── cp4-share-the-prototype.html │ ├── cp5-a-temporary-constructor.html │ ├── inheritance-by-copying-properties.html │ ├── klass.html │ ├── mix-ins.html │ └── prototypal-inheritance.html ├── css/ │ └── style.css ├── design-patterns/ │ ├── builder.html │ ├── chain-of-responsibility.html │ ├── command.html │ ├── decorator.html │ ├── facade.html │ ├── factory.html │ ├── iterator.html │ ├── mediator.html │ ├── multiton.html │ ├── observer.html │ ├── proxy.html │ ├── singleton.html │ ├── strategy.html │ └── visitor.html ├── dom-and-browser/ │ └── event-handling.html ├── function-patterns/ │ ├── callback.html │ ├── callbacks-and-scope.html │ ├── configuration-objects.html │ ├── currying.html │ ├── enforcing-new-in-constructors.html │ ├── function-call.html │ ├── immediate-functions.html │ ├── immediate-object-initialization.html │ ├── init-time-branching.html │ ├── memoization.html │ ├── partial-application.html │ ├── returning-functions.html │ ├── self-defining-functions.html │ └── self-overwrite.html ├── general-patterns/ │ ├── access-to-global-object.html │ ├── avoiding-eval.html │ ├── avoiding-implied-typecasting.html │ ├── built-in-prototypes.html │ ├── conditionals.html │ ├── for-in-loops.html │ ├── for-loops.html │ ├── function-declarations.html │ ├── global-import.html │ ├── globals.html │ ├── hoisting.html │ ├── iife-for-loop.html │ ├── map-and-filter-by-reduce.html │ ├── minimizing-globals.html │ ├── parseint.html │ ├── shim-sniffing.html │ ├── single-var-pattern.html │ └── switch-pattern.html ├── img/ │ └── .gitignore ├── index.html ├── jquery-patterns/ │ ├── append.html │ ├── cache-selector.html │ ├── context-and-find.html │ ├── data.html │ ├── decending-from-id.html │ ├── detach.html │ ├── event-delegation.html │ ├── left-and-right.html │ ├── pubsub-callback.html │ ├── pubsub-custom-events.html │ ├── pubsub-observable.html │ ├── pubsub-plugin.html │ ├── requery.html │ ├── specific-when-needed.html │ ├── universal-selector.html │ └── window-scroll-event.html ├── jquery-plugin-patterns/ │ ├── amd-commonjs/ │ │ ├── pluginCore.js │ │ ├── pluginExtension.js │ │ └── usage.html │ ├── basic.html │ ├── best-options.html │ ├── custom-events.html │ ├── extend.html │ ├── highly-configurable-mutable.html │ ├── jquery-mobile-ui-widget-factory.html │ ├── lightweight.html │ ├── namespaced-starter.html │ ├── prototypal-inheritance.html │ ├── ui-widget-factory-bridge.html │ ├── ui-widget-factory-mobile.html │ ├── ui-widget-factory.html │ └── ui-widget-requirejs-module.html ├── js/ │ ├── libs/ │ │ └── jquery-1.6.4.js │ ├── plugins.js │ └── script.js ├── literals-and-constructors/ │ ├── array-literal.html │ ├── enforcing-new.html │ ├── json.html │ ├── object-literal.html │ ├── primitive-wrappers.html │ └── regular-expression-literal.html └── object-creation-patterns/ ├── chaining.html ├── declaring-dependencies.html ├── inheritence.html ├── module.html ├── module2.html ├── module3-augmentation.html ├── module4-loose-augmentation.html ├── module5-tight-augmentation.html ├── module6-clone-inheritance.html ├── module7-cross-file.html ├── namespace.html ├── object-constants.html ├── private-properties-and-methods.html ├── revelation.html ├── sandbox.html ├── static-members.html ├── sub-module.html └── sugar-method.html