Skip to content

Commit

Permalink
Remove add slashes to adunit name code. Fixes coop182#74, Fixes coop1…
Browse files Browse the repository at this point in the history
  • Loading branch information
coop182 committed Aug 26, 2014
1 parent 37c60dd commit b68cdcc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.dfp",
"version": "1.1.3",
"version": "1.1.4",
"main": "jquery.dfp.js",
"ignore": [
"img/",
Expand Down
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.1.3",
"version": "1.1.4",
"author": {
"name": "Matt Cooper",
"email": "[email protected]",
Expand Down
3 changes: 1 addition & 2 deletions jquery.dfp.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* jQuery DFP v1.1.3
* jQuery DFP v1.1.4
* http://github.com/coop182/jquery.dfp.js
*
* Copyright 2014 Matt Cooper
Expand Down Expand Up @@ -369,7 +369,6 @@
getName = function ($adUnit) {

var adUnitName = $adUnit.data('adunit') || dfpOptions.namespace || $adUnit.attr('id') || '';
adUnitName = adUnitName.replace(/\//g, '//');
if (typeof dfpOptions.alterAdUnitName === 'function') {
adUnitName = dfpOptions.alterAdUnitName.call(this, adUnitName, $adUnit);
}
Expand Down
4 changes: 2 additions & 2 deletions jquery.dfp.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.dfp",
"version": "1.1.3",
"version": "1.1.4",
"devDependencies": {
"grunt": "~0.4",
"grunt-contrib-jshint": "~0.9",
Expand Down

0 comments on commit b68cdcc

Please sign in to comment.