15.09.2014 Views

JSON

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

supplant<br />

String.prototype.supplant = function (o) {<br />

return this.replace(/{([^{}]*)}/g,<br />

function (a, b) {<br />

var r = o[b];<br />

return typeof r === 'string' ?<br />

r : a;<br />

}<br />

);<br />

};

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!