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

Function addTimestamp

static/cropper/2.3.4/cropper.js:147–151  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

145 }
146
147 function addTimestamp(url) {
148 var timestamp = 'timestamp=' + (new Date()).getTime();
149
150 return (url + (url.indexOf('?') === -1 ? '?' : '&') + timestamp);
151 }
152
153 function getCrossOrigin(crossOrigin) {
154 return crossOrigin ? ' crossOrigin="' + crossOrigin + '"' : '';

Callers 1

cropper.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected