MCPcopy Index your code
hub / github.com/mailru/FileAPI / _px

Function _px

lib/FileAPI.Camera.js:234–236  ·  view source on GitHub ↗

* Add "px" postfix, if value is a number * * @private * @param {*} val * @return {String}

(val)

Source from the content-addressed store, hash-verified

232 * @return {String}
233 */
234 function _px(val){
235 return val >= 0 ? val + 'px' : val;
236 }
237
238
239 /**

Callers 1

FileAPI.Camera.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected