~webapps/unity-js-scopes/node.js

« back to all changes in this revision

Viewing changes to deps/npm/node_modules/normalize-package-data/lib/safe_format.js

  • Committer: Marcus Tomlinson
  • Date: 2015-11-13 07:59:04 UTC
  • Revision ID: marcus.tomlinson@canonical.com-20151113075904-h0swczmoq1rvstfc
Node v4 (stable)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
var util = require('util')
 
2
 
 
3
module.exports = function() {
 
4
  var args = Array.prototype.slice.call(arguments, 0)
 
5
  args.forEach(function(arg) {
 
6
    if (!arg) throw new TypeError('Bad arguments.')
 
7
  })
 
8
  return util.format.apply(null, arguments)
 
9
}
 
 
b'\\ No newline at end of file'