MCPcopy
hub / github.com/unconed/MathBox.js / getProps

Function getProps

src/Director.js:123–143  ·  view source on GitHub ↗
(op)

Source from the content-addressed store, hash-verified

121
122 // Get property names for op
123 function getProps(op) {
124 var verb = op[0],
125 options = op[2] || {};
126
127 var props = ['opacity'];
128 if (verb == 'animate') {
129 props = [];
130 for (i in options) {
131 if (i == 'style') {
132 for (j in options.style) {
133 props.push(j);
134 }
135 }
136 else {
137 props.push(i);
138 }
139 }
140 }
141// log('getProps', op, props);
142 return props;
143 }
144
145 // New rollback
146 var out = [], i;

Callers 1

Director.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected