@jalik/observer
Advanced tools
Comparing version 1.1.3 to 1.1.4
# Changelog | ||
## v1.1.4 | ||
- Updates dependencies | ||
## v1.1.3 | ||
@@ -4,0 +7,0 @@ - Updates dependencies |
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -10,6 +8,8 @@ value: true | ||
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); | ||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } | ||
/* | ||
@@ -42,3 +42,4 @@ * The MIT License (MIT) | ||
function Observer(context) { | ||
(0, _classCallCheck2["default"])(this, Observer); | ||
_classCallCheck(this, Observer); | ||
this.context = context; | ||
@@ -54,3 +55,3 @@ this.events = {}; | ||
(0, _createClass2["default"])(Observer, [{ | ||
_createClass(Observer, [{ | ||
key: "attach", | ||
@@ -133,2 +134,3 @@ value: function attach(event, listener) { | ||
}]); | ||
return Observer; | ||
@@ -135,0 +137,0 @@ }(); |
{ | ||
"name": "@jalik/observer", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "A library to observe events and trigger callbacks.", | ||
@@ -34,18 +34,19 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "^7.5.5", | ||
"acorn": "^6.2.1", | ||
"@babel/core": "^7.7.4", | ||
"@babel/preset-env": "^7.7.4", | ||
"acorn": "^6.4.0", | ||
"ajv": "^6.10.2", | ||
"babel-preset-airbnb": "^4.0.1", | ||
"del": "^5.0.0", | ||
"babel-eslint": "^10.0.3", | ||
"del": "^5.1.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-airbnb": "^17.1.1", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-jest": "^22.13.6", | ||
"eslint-plugin-jest": "^22.21.0", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-react": "^7.14.3", | ||
"eslint-plugin-react": "^7.17.0", | ||
"gulp": "^4.0.2", | ||
"gulp-babel": "^8.0.0", | ||
"gulp-eslint": "^5.0.0", | ||
"jest": "^24.8.0" | ||
"jest": "^24.9.0" | ||
} | ||
} |
12996
8
216
16