UNPKG

react_ujs

Version:

Rails UJS for the react-rails gem

10 lines (8 loc) 246 B
var util = require('util') module.exports = function() { var args = Array.prototype.slice.call(arguments, 0) args.forEach(function(arg) { if (!arg) throw new TypeError('Bad arguments.') }) return util.format.apply(null, arguments) }