Metamaps.JIT no more erb extension
This commit is contained in:
parent
b230c343b1
commit
24368fef60
2 changed files with 4 additions and 2 deletions
|
@ -29,10 +29,10 @@ Metamaps.JIT = {
|
||||||
$('.takeScreenshot').click(Metamaps.Map.exportImage)
|
$('.takeScreenshot').click(Metamaps.Map.exportImage)
|
||||||
|
|
||||||
self.topicDescImage = new Image()
|
self.topicDescImage = new Image()
|
||||||
self.topicDescImage.src = '<%= asset_path('topic_description_signifier.png') %>'
|
self.topicDescImage.src = Metamaps.Erb['topic_description_signifier.png']
|
||||||
|
|
||||||
self.topicLinkImage = new Image()
|
self.topicLinkImage = new Image()
|
||||||
self.topicLinkImage.src = '<%= asset_path('topic_link_signifier.png') %>'
|
self.topicLinkImage.src = Metamaps.Erb['topic_link_signifier.png']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* convert our topic JSON into something JIT can use
|
* convert our topic JSON into something JIT can use
|
|
@ -25,6 +25,8 @@ Metamaps.Erb['REALTIME_SERVER'] = '<%= ENV['REALTIME_SERVER'] %>'
|
||||||
Metamaps.Erb['junto_spinner_darkgrey.gif'] = '<%= asset_path('junto_spinner_darkgrey.gif') %>'
|
Metamaps.Erb['junto_spinner_darkgrey.gif'] = '<%= asset_path('junto_spinner_darkgrey.gif') %>'
|
||||||
Metamaps.Erb['user.png'] = '<%= asset_path('user.png') %>'
|
Metamaps.Erb['user.png'] = '<%= asset_path('user.png') %>'
|
||||||
Metamaps.Erb['icons/wildcard.png'] = '<%= asset_path('icons/wildcard.png') %>'
|
Metamaps.Erb['icons/wildcard.png'] = '<%= asset_path('icons/wildcard.png') %>'
|
||||||
|
Metamaps.Erb['topic_description_signifier.png'] = '<%= asset_path('topic_description_signifier.png') %>'
|
||||||
|
Metamaps.Erb['topic_link_signifier.png'] = '<%= asset_path('topic_link_signifier.png') %>'
|
||||||
|
|
||||||
Metamaps.Settings = {
|
Metamaps.Settings = {
|
||||||
embed: false, // indicates that the app is on a page that is optimized for embedding in iFrames on other web pages
|
embed: false, // indicates that the app is on a page that is optimized for embedding in iFrames on other web pages
|
||||||
|
|
Loading…
Add table
Reference in a new issue