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

Function normalizeStyleData

static/vuejs/vue.runtime.js:5558–5565  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

5556
5557// merge static and dynamic style data on the same vnode
5558function normalizeStyleData (data) {
5559 var style = normalizeStyleBinding(data.style);
5560 // static style is pre-processed into an object during compilation
5561 // and is always a fresh object, so it's safe to merge into it
5562 return data.staticStyle
5563 ? extend(data.staticStyle, style)
5564 : style
5565}
5566
5567// normalize possible array / string values into Object
5568function normalizeStyleBinding (bindingStyle) {

Callers 1

getStyleFunction · 0.70

Calls 2

normalizeStyleBindingFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected