mirror of https://github.com/vuejs/vue.git
use string key for keywords for older browser compatibility
This commit is contained in:
parent
e39c581e24
commit
4c0c8876e4
|
|
@ -36,7 +36,7 @@ exports.extend = function (extendOptions) {
|
|||
Super.options,
|
||||
extendOptions || {}
|
||||
)
|
||||
Sub.super = Super
|
||||
Sub['super'] = Super
|
||||
// allow further extension
|
||||
Sub.extend = Super.extend
|
||||
// create asset registers, so extended classes
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ function compileParamAttributes (el, attrs, options) {
|
|||
*/
|
||||
|
||||
function makeParamsLinkFn (params, options) {
|
||||
var def = options.directives.with
|
||||
var def = options.directives['with']
|
||||
return function paramsLinkFn (vm, el) {
|
||||
var i = params.length
|
||||
var param
|
||||
|
|
|
|||
Loading…
Reference in New Issue