• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubybathyscaphegamephpguicwindows翻訳pythonomegattwitterframeworkbtronarduinovb.net計画中(planning stage)directxpreviewertestゲームエンジンdom

Voice data server for navigation voice changer app.


Commit MetaInfo

Revision89ced2bb4f7ec4c52ebb75b28c9ded32c9f0e55d (tree)
Time2016-10-05 21:33:47
AuthorHMML <hmml3939@gmai...>
CommiterHMML

Log Message

Use asset path for images.

Change Summary

  • delete: app/assets/javascripts/{jquery.raty.js => jquery.raty.js.erb}

Incremental Difference

similarity index 94%
rename from app/assets/javascripts/jquery.raty.js
rename to app/assets/javascripts/jquery.raty.js.erb
index bd6f2e5667b8e057c95417f76bffdb4b6422d8fc..27298bda8ce423d7bea9af2ee518ee2c9f0b7240
--- a/app/assets/javascripts/jquery.raty.js
+++ b/app/assets/javascripts/jquery.raty.js.erb
@@ -437,8 +437,8 @@
437437 $.fn.raty.defaults = {
438438 cancel : false,
439439 cancelHint : 'Cancel this rating!',
440- cancelOff : 'cancel-off.png',
441- cancelOn : 'cancel-on.png',
440+ cancelOff : '<%= asset_path 'cancel-off.png' %>',
441+ cancelOn : '<%= asset_path 'cancel-on.png' %>',
442442 cancelPlace : 'left',
443443 click : undefined,
444444 half : false,
@@ -459,9 +459,9 @@
459459 single : false,
460460 size : 16,
461461 space : true,
462- starHalf : 'star-half.png',
463- starOff : 'star-off.png',
464- starOn : 'star-on.png',
462+ starHalf : '<%= asset_path 'star-half.png' %>',
463+ starOff : '<%= asset_path 'star-off.png' %>',
464+ starOn : '<%= asset_path 'star-on.png' %>',
465465 target : undefined,
466466 targetFormat : '{score}',
467467 targetKeep : false,