atma-utils
Advanced tools
Comparing version 0.1.33 to 0.1.34
@@ -833,2 +833,8 @@ var _Array_slice, | ||
return fn_proxy(this.reject, this); | ||
}, | ||
"catch": function (cb) { | ||
return this.fail(cb); | ||
}, | ||
"finally": function (cb) { | ||
return this.always(cb); | ||
} | ||
@@ -835,0 +841,0 @@ }; |
@@ -775,2 +775,8 @@ (function(factory){ | ||
return fn_proxy(this.reject, this); | ||
}, | ||
"catch": function (cb) { | ||
return this.fail(cb); | ||
}, | ||
"finally": function (cb) { | ||
return this.always(cb); | ||
} | ||
@@ -777,0 +783,0 @@ }; |
{ | ||
"name": "atma-utils", | ||
"description": "Helpers", | ||
"version": "0.1.33", | ||
"version": "0.1.34", | ||
"author": "Alexander Kit <alex.kit@atmajs.com>", | ||
@@ -27,3 +27,3 @@ "repository": { | ||
"build": "app-bundler", | ||
"release": "atma bump && npm run build && git add -A && git commit -am \"bump\" && git push && npm publish" | ||
"release": "echo \"Run atma pub -m \"message\"\"" | ||
}, | ||
@@ -30,0 +30,0 @@ "keywords": [], |
@@ -30,8 +30,8 @@ declare module "atma-utils" { | ||
export class class_EventEmitter { | ||
on: (event: string, cb: Function) => this | ||
once: (event: string, cb: Function) => this | ||
off: (event: string, cb?: Function) => this | ||
emit: (event: string, ...args: any[]) => this | ||
trigger: (event: string, ...args: any[]) => this | ||
pipe: (eventName: string) => (...args) => void | ||
on (event: string, cb: Function): this | ||
once (event: string, cb: Function): this | ||
off (event: string, cb?: Function): this | ||
emit (event: string, ...args: any[]): this | ||
trigger (event: string, ...args: any[]): this | ||
pipe (eventName: string): (...args) => void | ||
} | ||
@@ -38,0 +38,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
177293
5683