-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
3,760 additions
and
799 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
'use strict'; | ||
|
||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
|
||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
|
||
var uuid = _interopDefault(require('uuid')); | ||
var v1 = _interopDefault(require('uuid/v1')); | ||
var v4 = _interopDefault(require('uuid/v4')); | ||
var v5 = _interopDefault(require('uuid/v5')); | ||
|
||
var uuid = { v1: v1, v4: v4, v5: v5 }; | ||
|
||
var install = function (Vue) { | ||
Vue.prototype.$uuid = uuid; | ||
}; | ||
|
||
module.exports = install; | ||
exports.uuid = uuid; | ||
exports['default'] = install; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import v1 from 'uuid/v1'; | ||
import v4 from 'uuid/v4'; | ||
import v5 from 'uuid/v5'; | ||
|
||
var uuid = { v1: v1, v4: v4, v5: v5 }; | ||
|
||
var install = function (Vue) { | ||
Vue.prototype.$uuid = uuid; | ||
}; | ||
|
||
export { uuid }; | ||
export default install; |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.