Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7acbe69

Browse files
author
Rich Loveland
committed
Update setPriceGranularity() examples
Addresses prebid#249 Solution was to load Prebid.js before anything else on the page (with "async" turned off to avoid the race with the call to `setPriceGranularity()`).
1 parent d6b0bb5 commit 7acbe69

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

dev-docs/examples/custom-price-bucket-using-setpricegranularity.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
layout: example
33
title: Custom Price Bucket using `setPriceGranularity`
44
description: Custom Price Bucket using the `setPriceGranularity` method
5-
65
top_nav_section: dev_docs
76
nav_section: quick-start
8-
97
hide: true
108

119
about:
@@ -14,7 +12,7 @@ about:
1412
- Integration with DFP's GPT single request asynchronous mode.
1513
- One set of line items for all bidders.
1614

17-
jsfiddle_link: jsfiddle.net/prebid/bp9magow/86/embedded/html,result
15+
jsfiddle_link: jsfiddle.net/prebid/bp9magow/95/embedded/html,result
1816
code_height: 3166
1917
code_lines: 146
2018
pid: 101

dev-docs/examples/simplified-price-bucket-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hide: true
1111
about:
1212
- Simplified price bucket setup with one function call to <a href="/dev-docs/publisher-api-reference.html#module_pbjs.setPriceGranularity"><code>pbjs.setPriceGranularity()</code></a>
1313

14-
jsfiddle_link: jsfiddle.net/prebid/bp9magow/84/embedded/html,result
14+
jsfiddle_link: jsfiddle.net/prebid/bp9magow/96/embedded/html,result
1515
code_height: 2641
1616
code_lines: 121
1717

0 commit comments

Comments
 (0)