Skip to content

Commit

Permalink
v3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
georapbox committed Jan 30, 2019
1 parent 1dcab29 commit 90a4d0a
Show file tree
Hide file tree
Showing 15 changed files with 3,893 additions and 538 deletions.
4 changes: 2 additions & 2 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ engines:
enabled: false
eslint:
enabled: true
channel: "eslint-4"
channel: "eslint-5"
csslint:
enabled: false
duplication:
Expand All @@ -18,5 +18,5 @@ ratings:
- src/**
exclude_paths:
- dist/**/*
- tests/**/*
- test/**/*
- examples/
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"env": {
"browser": true,
"node": true,
"jasmine": true,
"mocha": true,
"commonjs": true,
"amd": true
},
Expand Down
71 changes: 64 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,65 @@
node_modules
/demo
/tests/*.html
/coverage
/temp
.idea
npm-debug.log
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# production
dist
lib

# misc
.DS_Store
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- 6.10.2
- 10.15.0
branches:
only:
- master
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## v3.5.0
- Update `devDependencies`
- Use `mocha` and `chai` for testing instead of `karma` and `jasmine`
- Drop support Bower support
- Exclude `dist` folder from source control

## v3.4.0
- Add static method `PubSub.noConflict()` to roll back the global `PubSub` identifier. Used in a normal browser global namespace environment to avoid conflicts, etc.

Expand Down
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,14 @@ Javascript implementation of the [Publish/Subscribe](http://en.wikipedia.org/wik

## Install

### Git
```sh
$ git clone https://github.com/georapbox/PubSub.git
```

### npm
```sh
$ npm install PubSub
```

### Bower
```sh
$ bower install georapbox.pubsub.js
### Old school browser global
```html
<script src="https://unpkg.com/PubSub@<YOUR_PREFERRED_VERSION>/dist/pubsub.min.js"></script>
```

## API
Expand Down
23 changes: 0 additions & 23 deletions bower.json

This file was deleted.

13 changes: 0 additions & 13 deletions dist/pubsub.min.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/pubsub.min.js.map

This file was deleted.

104 changes: 0 additions & 104 deletions karma.conf.js

This file was deleted.

Loading

0 comments on commit 90a4d0a

Please sign in to comment.