Switches to use GitUris

This commit is contained in:
Eric Amodio
2016-11-12 03:54:21 -05:00
parent a3895d27ab
commit 9c0a38958e
3 changed files with 31 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
'use strict';
// import { debounce as _debounce } from 'lodash';
const _debounce = require('lodash.debounce');
const _once = require('lodash.once');
export interface IDeferred {
cancel(): void;
@@ -11,4 +11,8 @@ export namespace Functions {
export function debounce<T extends Function>(fn: T, wait?: number, options?: any): T & IDeferred {
return _debounce(fn, wait, options);
}
export function once<T extends Function>(fn: T): T {
return _once(fn);
};
}