Get off off rails-assets
Just moving the things we currently use (and should drop in the ASAP) to vendor/assets
This commit is contained in:
parent
9fd0807a9a
commit
b6560dbb34
659 changed files with 129299 additions and 67 deletions
6
vendor/assets/javascripts/momentjs/src/lib/utils/is-number.js
vendored
Normal file
6
vendor/assets/javascripts/momentjs/src/lib/utils/is-number.js
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
export default function isNumber(input) {
|
||||
return (
|
||||
typeof input === 'number' ||
|
||||
Object.prototype.toString.call(input) === '[object Number]'
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue