標籤:property get rcu 提示 lis whether tools res hand
//配置項
var config = { /** * Option merge strategies (used in core/util/options)//選項合并策略 */ optionMergeStrategies: Object.create(null), /** * Whether to suppress warnings.//是否抑制警告 */ silent: false, /** * Show production mode//生產模式 tip message on boot?//提示資訊引導 */ productionTip: "development" !== ‘production‘, /** * Whether to enable devtools//是否啟用開發人員工具 */ devtools: "development" !== ‘production‘, /** * Whether to record perf//是否記錄效能 */ performance: "development" !== ‘production‘, /** * Error handler for watcher errors//錯誤處理觀察錯誤 */ errorHandler: null, /** * Ignore certain custom elements//忽略某些自訂元素 */ ignoredElements: [], /** * Custom user key aliases for v-on//自訂使用者鍵別名 */ keyCodes: Object.create(null), /** * Check if a tag is reserved so that it cannot be registered as a//檢查如果一個標籤被保留所以它將不會被註冊為一個組件 * component. This is platform-dependent and may be overwritten.//這是與平台相關的可能被覆蓋 */ isReservedTag: no, /** * Check if a tag is an unknown element.檢查一個標籤是否是未知的元素 * Platform-dependent.//平台相關 */ isUnknownElement: no, /** * Get the namespace of an element//得到一個元素的命名空間 */ getTagNamespace: noop, /** * Parse the real tag name for the specific platform.//針對特殊的平台解析真正的標籤名稱 */ parsePlatformTagName: identity, /** * Check if an attribute must be bound using property, e.g. value//檢查是否一個屬性必須被限制用一個屬性 * Platform-dependent. */ mustUseProp: no, /** * List of asset types that a component can own.//組件能擁有的資產類型列表 */ _assetTypes: [ ‘component‘, ‘directive‘, ‘filter‘ ], /** * List of lifecycle hooks.//鉤子的生命週期 */ _lifecycleHooks: [ ‘beforeCreate‘, ‘created‘, ‘beforeMount‘, ‘mounted‘, ‘beforeUpdate‘, ‘updated‘, ‘beforeDestroy‘, ‘destroyed‘, ‘activated‘, ‘deactivated‘ ], /** * Max circular updates allowed in a scheduler flush cycle.最大迴圈更新允許在一個調度沖洗迴圈 */ _maxUpdateCount: 100};
vue.js源碼學習分享(五)