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

Function normalizeStyleData

static/vuejs/vue.esm.js:6010–6017  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

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

Callers 1

getStyleFunction · 0.70

Calls 2

normalizeStyleBindingFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected