Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
crobinson42 authored Jul 20, 2017
2 parents 298d490 + 2ece951 commit 43e0271
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 72 deletions.
46 changes: 46 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
coverage/
dev/
node_modules/
src/
test/

.eslintrc
.travis.yml
rollup.config.js
yarn.lock

*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz

pids
logs
results

npm-debug.log
node_modules

coverage/
doc/
bower_components/

*.iml
.idea/

*.png
CONTRIBUTING.md
favicon.ico
circle.yml
bower.json
.bowerrc
Gruntfile.js
*.start.js
karma.conf.js
junit/
test/
lib/
src/
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.0.0 - 7JUN17 - [email protected]
- breaking change - no longer shipping npm build with sourcemaps due to
and issue with IE11 and production bundles consuming this package from
node_modules that has a .js.map file attached to it

## 1.0.0 - 27APR17 - [email protected]
- complete rewrite over lib

Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
## Event Sky (event-sky)
An event aggregate utility for front-end apps.
An event pub/sub aggregate utility for javascript apps.

When designing front-end apps it's best to keep modules/features loosely coupled. A great method for accomplishing this is events. "Event Sky" was designed to help your apps work without knowing about eachother by utilizing the events with Event Sky.
When designing javascript apps it's best to keep modules/features loosely coupled. A great method for accomplishing this is events via publish/subscribe handlers. "Event Sky" was designed to help your apps work without knowing about eachother by utilizing the events with Event Sky.

[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com)
[![npm version](https://badge.fury.io/js/event-sky.svg)](https://badge.fury.io/js/event-sky)
[![Build Status](https://travis-ci.org/crobinson42/event-sky.svg?branch=master)](https://travis-ci.org/crobinson42/event-sky)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![forthebadge](https://img.shields.io/badge/Module-CommonJs-green.svg)](http://pizza.com)
[![forthebadge](https://img.shields.io/badge/Browser-EventSky-orange.svg)](http://pizza.com)

[![forthebadge](https://img.shields.io/badge/Mom%20Made-Pizza%20Rolls-blue.svg)](http://pizza.com)

An event pub-sub aggregate utility for javascript environments.

Expand Down
68 changes: 0 additions & 68 deletions mixin.js

This file was deleted.

2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ export default {
uglify(),
],
dest: 'build.js',
sourceMap: true,
sourceMap: false,
}
4 changes: 4 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ class EventSky {
this.beforeAll = this._utils.curryWhenHandler.bind(this)('beforeAll')
this.afterAll = this._utils.curryWhenHandler.bind(this)('afterAll')

// bind methods
this.off = this.off.bind(this)
this.trigger = this.trigger.bind(this)

// extend a chain call for eventSky.off.all()
this.off.all = this.allOff.bind(this)
}
Expand Down
File renamed without changes.

0 comments on commit 43e0271

Please sign in to comment.