Skip to content

Commit

Permalink
pushes fixes back to v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo-Marques committed Jun 6, 2016
1 parent 125bce9 commit 794de55
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 63 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "angular-off-click",
"version": "1.0.2",
"version": "1.0.1",
"main": [
"./dist/angular-off-click.js"
],
Expand Down
6 changes: 4 additions & 2 deletions dist/angular-off-click.js
Expand Up @@ -118,9 +118,11 @@ angular.module('offClick').directive('offClickFilter', ["OffClickFilterCache", "
restrict: 'A',
compile: function compile(elem, attrs) {
return function (scope, element) {
$parse(attrs.offClickFilter)(scope).split(',').map(function (x) {
filters = $parse(attrs.offClickFilter)(scope).split(',').map(function (x) {
return x.trim();
}).forEach(function (filter) {
});

filters.forEach(function (filter) {
OffClickFilterCache[filter] ? OffClickFilterCache[filter].push(elem[0]) : OffClickFilterCache[filter] = [elem[0]];
});

Expand Down
2 changes: 1 addition & 1 deletion dist/angular-off-click.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 0 additions & 58 deletions npm-debug.log

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "angular-off-click",
"version": "1.0.2",
"version": "1.0.1",
"repository": {
"type": "git"
},
Expand Down

0 comments on commit 794de55

Please sign in to comment.