2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-12 16:52:26 +03:00

refactor: rename to template module

This commit is contained in:
pimlie
2019-03-10 11:55:00 +01:00
committed by Alexander Lichter
parent 2adba84e58
commit f92fb67619
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import deepmerge from 'deepmerge'
import applyTemplate from './applyTemplate'
import { applyTemplate } from './template'
import { metaInfoAttributeKeys } from './constants'
export function arrayMerge({ component, tagIDKeyName, metaTemplateKeyName, contentKeyName }, target, source) {
@@ -1,6 +1,6 @@
import { isUndefined, isFunction } from './is-type'
export default function applyTemplate({ component, metaTemplateKeyName, contentKeyName }, headObject, template, chunk) {
export function applyTemplate({ component, metaTemplateKeyName, contentKeyName }, headObject, template, chunk) {
if (isUndefined(template)) {
template = headObject[metaTemplateKeyName]
delete headObject[metaTemplateKeyName]