MCPcopy Create free account
hub / github.com/GoogleTrends/data / trim

Function trim

Pikaday/pikaday.js:78–81  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

76 },
77
78 trim = function(str)
79 {
80 return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g,'');
81 },
82
83 hasClass = function(el, cn)
84 {

Callers 1

removeClassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected