Skip to content

Commit

Permalink
Merging coop182#31 and bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
coop182 committed Jul 9, 2013
1 parent c05d636 commit d23735d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
1 change: 1 addition & 0 deletions Readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,6 @@ Thanks to:

<ul>
<li>@crccheck - https://github.com/crccheck</li>
<li>@larryaubstore - https://github.com/larryaubstore</li>
<li>@MikeSilvis - https://github.com/MikeSilvis</li>
</ul>
2 changes: 1 addition & 1 deletion dfp.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"ads",
"advertising"
],
"version": "1.0.13",
"version": "1.0.14",
"author": {
"name": "Matt Cooper",
"email": "[email protected]",
Expand Down
7 changes: 4 additions & 3 deletions jquery.dfp.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* jQuery DFP v1.0.13
* jQuery DFP v1.0.14
* http://github.com/coop182/jquery.dfp.js
*
* Copyright 2013 Matt Cooper
Expand Down Expand Up @@ -146,8 +146,9 @@
}

// Sets custom targeting for just THIS ad unit if it has been specified
if ($adUnit.data("targeting")) {
$.each($adUnit.data("targeting"), function (k, v) {
var targeting = $adUnit.data("targeting");
if (targeting) {
$.each(targeting, function (k, v) {
googleAdUnit.setTargeting(k, v);
});
}
Expand Down
18 changes: 9 additions & 9 deletions jquery.dfp.min.js

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

0 comments on commit d23735d

Please sign in to comment.