use string key for keywords for older browser compatibility

This commit is contained in:
Evan You 2014-09-09 00:06:58 -04:00
parent e39c581e24
commit 4c0c8876e4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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