FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
version:1.0 javascript常用的代码 · JokeWorkStation/javascript@5752722 · GitHub
JokeWorkStation
javascript
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commit
5752722
Browse files
Browse the repository at this point in the history
Browse files
wchaowu
committed
version:1.0 javascript常用的代码
1 parent
bbb88fa
commit
5752722
Copy full SHA for 5752722
105 files changed
+15
-9
Lines changed: 15 additions & 9 deletions
File tree
Expand file tree
Collapse file tree
Open diff view settings
Filter options
.idea
jsLibraryMappings.xml
JavaScript-Design-Patterns
Chaining
6.01 - Introduction to chaining.js
6.02 - The structure of the chain.js
6.03 - Building a chainable JavaScript library.js
6.04 - Using callbacks.js
Encapsulation-and-Information-Hiding
3.01 - Book example class.js
3.02 - Fully exposed object.js
3.03 - Private methods with underscores.js
3.04 - Scope, nested functions, and closures.js
3.05 - Private methods with closures.js
3.06 - Static members.js
3.07 - Constants.js
The-Adapter-Pattern
11.01 - Characteristics of an adapter.js
11.02 - Adapting one library to another.js
11.03 - Adapting an email API.html
11.04 - More on adapting an email API.js
The-Bridge-Pattern
8.01 - Event listener example.js
8.02 - Other examples of bridges.js
8.03 - Bridging multiple classes together.js
8.04 - Building an XHR connection queue.js
8.05 - XHR connection queue example page.html
8.06 - Where have bridges been used_.js
The-Chain-of-Responsibility-Pattern
17.01 - PublicLibrary class.js
17.02 - PublicLibrary class with hard-coded catalogs.js
17.03 - PublicLibrary class with chain of responsibility catalogs.js
17.04 - GenreCatalog and SciFiCatalog classes.js
17.05 - The findBooks method.js
17.06 - DynamicGallery class from Chapter 9.js
17.07 - DynamicGallery class with optimization.js
17.08 - DynamicGallery class with tags.js
The-Command-Pattern
16.01 - StopAd and StartAd classes.js
16.02 - Commands using closures.js
16.03 - Using interfaces with the command pattern.js
16.04 - Types of commands.js
16.05 - Menu commands.js
16.06 - Undo with reversible commands.js
16.07 - Undo with command logging.js
The-Composite-Pattern
9.01 - Form validation.js
9.02 - Adding operations to FormItem.js
9.03 - Adding classes to the hierarchy.js
9.04 - Image gallery example.js
The-Decorator-Pattern
12.01 - Structure of the decorator.js
12.02 - In what ways can a decorator modify its component.js
12.03 - The role of the factory.js
12.04 - Function decorators.js
12.05 - Method profiler.js
The-Facade-Pattern
10.01 - Some facades you probably already know about.js
10.02 - Facades as convenience methods.js
10.03 - Setting styles on HTML elements.js
10.04 - Creating an event utility.js
The-Factory-Pattern
7.01 - The simple factory.js
7.02 - The factory pattern.js
7.03 - XHR factory example.js
7.04 - Specialized connection objects.js
7.05 - Choosing connection objects at run-time.js
7.06 - RSS reader example.js
The-Flyweight-Pattern
13.01 - Car registration example.js
13.02 - Web calendar example.js
13.03 - Tooltip example.js
13.04 - Storing instances for later reuse.js
The-Observer-Pattern
15.01 - Sellsian approach.js
15.02 - Newspapers and subscribers.js
15.03 - Building an observer API.js
15.04 - Animation example.js
15.05 - Event listeners are also observers.js
The-Proxy-Pattern
14.01 - PublicLibrary class from Chapter 3.js
14.02 - PublicLibraryProxy class.js
14.03 - PublicLibraryVirtualProxy class.js
14.04 - Page statistics example.js
14.05 - General pattern for wrapping a web service.js
14.06 - Directory lookup example.js
14.07 - General pattern for creating a virtual proxy.js
The-Singleton-Pattern
5.01 - Basic structure of the singleton.js
5.02 - Namespacing.js
5.03 - Wrappers for page specific code.js
5.04 - Private methods with underscores.js
5.05 - Private methods with closures.js
5.06 - Comparing the two techniques.js
5.07 - Lazy instantiation.js
5.08 - Branching.js
5.09 - Creating XHR objects with branching.js
README.md
object-oriented
Expressive-JavaScript
1.01 - The flexibility of JavaScript.js
1.02 - Functions as first-class objects.js
1.03 - The mutability of objects.js
Inheritance
4.01 - Classical inheritance.js
4.02 - The prototype chain.js
4.03 - The extend function.js
4.04 - Prototypal inheritance.js
4.05 - Asymmetrical reading and writing.js
4.06 - The clone function.js
4.07 - Mixin classes.js
4.08 - The augment function.js
4.09 - Edit-in-place example, classical.js
4.10 - Edit-in-place example, prototypal.js
4.11 - Edit-in-place example, mixin.js
Interfaces
2.01 - Describing interfaces with comments.js
2.02 - Emulating interfaces with attribute checking.js
2.03 - Emulating interfaces with duck typing.js
2.04 - The interface implementation for this book.js
2.05 - The Interface class.js
2.06 - When to use the Interface class.js
2.07 - An example illustrating the use of the Interface class.js
Introduction
Interface.js
Library.js
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file tree
Collapse file tree
Open diff view settings
Collapse file
.idea/jsLibraryMappings.xml
Copy file name to clipboard
Expand all lines: .idea/jsLibraryMappings.xml
+7
Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about
customizing how changed files appear on GitHub.
Collapse file
…ining/6.01 - Introduction to chaining.js …ining/6.01 - Introduction to chaining.js
Pro-JavaScript-Design-Patterns/Chapter06-Chaining/6.01 - Introduction to chaining.js renamed to JavaScript-Design-Patterns/Chaining/6.01 - Introduction to chaining.js
Pro-JavaScript-Design-Patterns/Chapter06-Chaining/6.01 - Introduction to chaining.js renamed to JavaScript-Design-Patterns/Chaining/6.01 - Introduction to chaining.js
Copy file name to clipboard
File renamed without changes.
Collapse file
…ing/6.02 - The structure of the chain.js …ing/6.02 - The structure of the chain.js
Pro-JavaScript-Design-Patterns/Chapter06-Chaining/6.02 - The structure of the chain.js renamed to JavaScript-Design-Patterns/Chaining/6.02 - The structure of the chain.js
Pro-JavaScript-Design-Patterns/Chapter06-Chaining/6.02 - The structure of the chain.js renamed to JavaScript-Design-Patterns/Chaining/6.02 - The structure of the chain.js
Copy file name to clipboard
File renamed without changes.
Collapse file
…ilding a chainable JavaScript library.js …ilding a chainable JavaScript library.js
Pro-JavaScript-Design-Patterns/Chapter06-Chaining/6.03 - Building a chainable JavaScript library.js renamed to JavaScript-Design-Patterns/Chaining/6.03 - Building a chainable JavaScript library.js
Pro-JavaScript-Design-Patterns/Chapter06-Chaining/6.03 - Building a chainable JavaScript library.js renamed to JavaScript-Design-Patterns/Chaining/6.03 - Building a chainable JavaScript library.js
Copy file name to clipboard
File renamed without changes.
Collapse file
…ter06-Chaining/6.04 - Using callbacks.js …terns/Chaining/6.04 - Using callbacks.js
Pro-JavaScript-Design-Patterns/Chapter06-Chaining/6.04 - Using callbacks.js renamed to JavaScript-Design-Patterns/Chaining/6.04 - Using callbacks.js
Pro-JavaScript-Design-Patterns/Chapter06-Chaining/6.04 - Using callbacks.js renamed to JavaScript-Design-Patterns/Chaining/6.04 - Using callbacks.js
Copy file name to clipboard
File renamed without changes.
Collapse file
…tion-Hiding/3.01 - Book example class.js …tion-Hiding/3.01 - Book example class.js
Pro-JavaScript-Design-Patterns/Chapter03-Encapsulation-and-Information-Hiding/3.01 - Book example class.js renamed to JavaScript-Design-Patterns/Encapsulation-and-Information-Hiding/3.01 - Book example class.js
Pro-JavaScript-Design-Patterns/Chapter03-Encapsulation-and-Information-Hiding/3.01 - Book example class.js renamed to JavaScript-Design-Patterns/Encapsulation-and-Information-Hiding/3.01 - Book example class.js
Copy file name to clipboard
File renamed without changes.
Collapse file
…on-Hiding/3.02 - Fully exposed object.js …on-Hiding/3.02 - Fully exposed object.js
Pro-JavaScript-Design-Patterns/Chapter03-Encapsulation-and-Information-Hiding/3.02 - Fully exposed object.js renamed to JavaScript-Design-Patterns/Encapsulation-and-Information-Hiding/3.02 - Fully exposed object.js
Pro-JavaScript-Design-Patterns/Chapter03-Encapsulation-and-Information-Hiding/3.02 - Fully exposed object.js renamed to JavaScript-Design-Patterns/Encapsulation-and-Information-Hiding/3.02 - Fully exposed object.js
Copy file name to clipboard
File renamed without changes.
Collapse file
…03 - Private methods with underscores.js …03 - Private methods with underscores.js
Pro-JavaScript-Design-Patterns/Chapter03-Encapsulation-and-Information-Hiding/3.03 - Private methods with underscores.js renamed to JavaScript-Design-Patterns/Encapsulation-and-Information-Hiding/3.03 - Private methods with underscores.js
Pro-JavaScript-Design-Patterns/Chapter03-Encapsulation-and-Information-Hiding/3.03 - Private methods with underscores.js renamed to JavaScript-Design-Patterns/Encapsulation-and-Information-Hiding/3.03 - Private methods with underscores.js
Copy file name to clipboard
File renamed without changes.
Collapse file
…Scope, nested functions, and closures.js …Scope, nested functions, and closures.js
Pro-JavaScript-Design-Patterns/Chapter03-Encapsulation-and-Information-Hiding/3.04 - Scope, nested functions, and closures.js renamed to JavaScript-Design-Patterns/Encapsulation-and-Information-Hiding/3.04 - Scope, nested functions, and closures.js
Pro-JavaScript-Design-Patterns/Chapter03-Encapsulation-and-Information-Hiding/3.04 - Scope, nested functions, and closures.js renamed to JavaScript-Design-Patterns/Encapsulation-and-Information-Hiding/3.04 - Scope, nested functions, and closures.js
Copy file name to clipboard
File renamed without changes.
Collapse file
…/3.05 - Private methods with closures.js …/3.05 - Private methods with closures.js
Pro-JavaScript-Design-Patterns/Chapter03-Encapsulation-and-Information-Hiding/3.05 - Private methods with closures.js renamed to JavaScript-Design-Patterns/Encapsulation-and-Information-Hiding/3.05 - Private methods with closures.js
Pro-JavaScript-Design-Patterns/Chapter03-Encapsulation-and-Information-Hiding/3.05 - Private methods with closures.js renamed to JavaScript-Design-Patterns/Encapsulation-and-Information-Hiding/3.05 - Private methods with closures.js
Copy file name to clipboard
File renamed without changes.
0 commit comments
Comments
0
(0)
Back
|
FazBrowse Home
|
New Git URL
0 commit comments