vendor/assets/javascripts/bower/vue/src/utils.js in fluentd-ui-0.3.0 vs vendor/assets/javascripts/bower/vue/src/utils.js in fluentd-ui-0.3.1

- old
+ new

@@ -31,10 +31,15 @@ * Convert a string template to a dom fragment */ toFragment: require('./fragment'), /** + * Parse the various types of template options + */ + parseTemplateOption: require('./template-parser.js'), + + /** * get a value from an object keypath */ get: function (obj, key) { /* jshint eqeqeq: false */ key = normalizeKeypath(key) @@ -224,19 +229,19 @@ components[key] = utils.toConstructor(components[key]) } } if (partials) { for (key in partials) { - partials[key] = utils.toFragment(partials[key]) + partials[key] = utils.parseTemplateOption(partials[key]) } } if (filters) { for (key in filters) { utils.checkFilter(filters[key]) } } if (template) { - options.template = utils.toFragment(template) + options.template = utils.parseTemplateOption(template) } }, /** * used to defer batch updates \ No newline at end of file