File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ names with the parent object. Here's an example:
98
98
99
99
``` js
100
100
/**
101
- * This method has hierachical params
101
+ * This method has hierarchical params
102
102
* @param {Object} animals different kinds of animals
103
103
* @param {String} animals.fishes number of kinds of fish
104
104
*/
@@ -113,8 +113,8 @@ explicit syntax is required.
113
113
114
114
## Object Factories
115
115
116
- Libraries like [ d3] ( http ://d3js.org/ ) eschew JavaScript's ` new ` operator
117
- in favor of the [ 'object factory' or 'module pattern'] ( http ://www. macwright.org/2012/06/04/the-module-pattern.html) .
116
+ Libraries like [ d3] ( https ://d3js.org) eschew JavaScript's ` new ` operator
117
+ in favor of the [ 'object factory' or 'module pattern'] ( https ://macwright.org/2012/06/04/the-module-pattern.html) .
118
118
119
119
The factory function is a normal function that yields an object. That object
120
120
has properties. In this case, we don't use the ` @class ` tag because
You can’t perform that action at this time.
0 commit comments