MCPcopy Create free account
hub / github.com/TruthHun/BookStack / normalizeStyleData

Function normalizeStyleData

static/vuejs/vue.common.js:6012–6019  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

6010
6011// merge static and dynamic style data on the same vnode
6012function normalizeStyleData (data) {
6013 var style = normalizeStyleBinding(data.style);
6014 // static style is pre-processed into an object during compilation
6015 // and is always a fresh object, so it's safe to merge into it
6016 return data.staticStyle
6017 ? extend(data.staticStyle, style)
6018 : style
6019}
6020
6021// normalize possible array / string values into Object
6022function normalizeStyleBinding (bindingStyle) {

Callers 1

getStyleFunction · 0.70

Calls 2

normalizeStyleBindingFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected