Created
June 7, 2017 20:51
-
-
Save goto-bus-stop/ad66aedbc09f25d0bf51181f68342212 to your computer and use it in GitHub Desktop.
browser-pack-flat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* browserify /tmp/index.js -p browser-pack-flat/plugin | |
*/ | |
(function(){var __module_4 = {};'use strict'; | |
__module_4 = Number.isNaN || function (x) { | |
return x !== x; | |
}; | |
var __module_2 = {};'use strict'; | |
var __numberIsNan_2 = __module_4; | |
__module_2 = Number.isFinite || function (val) { | |
return !(typeof val !== 'number' || __numberIsNan_2(val) || val === Infinity || val === -Infinity); | |
}; | |
var __module_3 = {};// https://github.com/paulmillr/es6-shim | |
// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isinteger | |
var __isFinite_3 = __module_2; | |
__module_3 = Number.isInteger || function(val) { | |
return typeof val === "number" && | |
__isFinite_3(val) && | |
Math.floor(val) === val; | |
}; | |
var __module_1 = {};var __isInteger_1 = __module_3 | |
console.log( | |
__isInteger_1(10) | |
) | |
}());% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* browserify /tmp/index.js | |
*/ | |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
var isInteger = require('is-integer') | |
console.log( | |
isInteger(10) | |
) | |
},{"is-integer":3}],2:[function(require,module,exports){ | |
'use strict'; | |
var numberIsNan = require('number-is-nan'); | |
module.exports = Number.isFinite || function (val) { | |
return !(typeof val !== 'number' || numberIsNan(val) || val === Infinity || val === -Infinity); | |
}; | |
},{"number-is-nan":4}],3:[function(require,module,exports){ | |
// https://github.com/paulmillr/es6-shim | |
// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isinteger | |
var isFinite = require("is-finite"); | |
module.exports = Number.isInteger || function(val) { | |
return typeof val === "number" && | |
isFinite(val) && | |
Math.floor(val) === val; | |
}; | |
},{"is-finite":2}],4:[function(require,module,exports){ | |
'use strict'; | |
module.exports = Number.isNaN || function (x) { | |
return x !== x; | |
}; | |
},{}]},{},[1]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var isInteger = require('is-integer') | |
console.log( | |
isInteger(10) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment