Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor changes

  • Loading branch information...
commit cf0519a4ce3a715b2833c0c3902d3d116f3c2b45 1 parent f223500
Michael Angeletti authored
View
2  README.md
@@ -45,7 +45,7 @@ If the same ad unit should display in two different locations for two different
Finally, at the bottom of the page, another tag outputs the javascript necessary to facilitate displaying the ads:
- {% adgeletti_init %}
+ {% adgeletti_go %}
Integration
-----------
View
4 adgeletti/media/adgeletti.js
@@ -1,6 +1,4 @@
-/*
- * @requires GPT library (e.g., //www.googletagservices.com/tag/js/gpt.js)
- */
+// @requires GPT library (e.g., //www.googletagservices.com/tag/js/gpt.js)
// Set up a simple console noop for clients without a console
window.console = window.console || {log: function(m){}, error: function(m){}};
View
6 adgeletti/templatetags/adgeletti_tags.py
@@ -69,7 +69,7 @@ def build_div(div_id):
def render(self, context):
if FIRED in context and context[FIRED]:
- return error('adgeletti_go has already been fired.')
+ return error(u'`adgeletti_go` has already been fired.')
if ADS not in context:
context[ADS] = {}
@@ -99,7 +99,7 @@ def render(self, context):
return content
-@register.tag(name="adgeletti_go")
+@register.tag(name='adgeletti_go')
def parse_adgeletti_go(parser, token):
"""Parser for adgeletti_go tag. Usage:
{% adgeletti_go %}
@@ -123,7 +123,7 @@ def render(self, context):
return u''
if context[FIRED]:
- return error(u'adgeletti_go has already been fired.')
+ return error(u'`adgeletti_go` has already been fired.')
else:
context[FIRED] = True

0 comments on commit cf0519a

Please sign in to comment.
Something went wrong with that request. Please try again.