Evan You před 11 roky
rodič
revize
7ca58c3fa8
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 1 1
      src/api/child.js
  2. 2 2
      src/api/global.js

+ 1 - 1
src/api/child.js

@@ -1,7 +1,7 @@
 var _ = require('../util')
 var _ = require('../util')
 
 
 /**
 /**
- * Create a child instance that prototypally inehrits
+ * Create a child instance that prototypally inherits
  * data on parent. To achieve that we create an intermediate
  * data on parent. To achieve that we create an intermediate
  * constructor with its prototype pointing to parent.
  * constructor with its prototype pointing to parent.
  *
  *

+ 2 - 2
src/api/global.js

@@ -6,8 +6,8 @@ var config = require('../config')
  */
  */
 
 
 exports.util = _
 exports.util = _
+exports.config = config
 exports.nextTick = _.nextTick
 exports.nextTick = _.nextTick
-exports.config = require('../config')
 exports.compiler = require('../compiler')
 exports.compiler = require('../compiler')
 
 
 exports.parsers = {
 exports.parsers = {
@@ -28,7 +28,7 @@ exports.cid = 0
 var cid = 1
 var cid = 1
 
 
 /**
 /**
- * Class inehritance
+ * Class inheritance
  *
  *
  * @param {Object} extendOptions
  * @param {Object} extendOptions
  */
  */