PageSourceSearch

https://www.addismap.com/_static/bootstrap/bootstrap-rating.min.js

js addismap.com collected 2026-10-02 17:06:35 UTC 1,475 bytes, 3 lines download raw bytes

1// bootstrap-rating - v0.0.1 - (c) 2014 dreyescat 
2// https://github.com/dreyescat/bootstrap-rating MIT
3!function(a,b){"use strict";var c=5;a.fn.rating=function(d){this.each(function(){var e=a(this),f=a.extend({},e.data(),d);f.start=parseInt(f.start,10)||b,f.stop=parseInt(f.stop,10)||f.start+c||b,f.step=parseInt(f.step,10)||b,f=a.extend({},a.fn.rating.defaults,f);for(var g=function(a){var b=m.children();b.eq(a).prevAll(".rating-symbol").addBack().removeClass(f.empty).addClass(f.filled),b.eq(a).nextAll(".rating-symbol").removeClass(f.filled).addClass(f.empty)},h=function(a){return f.start+a*f.step},i=function(a){return Math.max(Math.ceil((a-f.start)/f.step),0)},j=function(a){var b=f.step>0?f.start:f.stop,c=f.step>0?f.stop-1:f.start+1;return a>=b&&c>=a&&(f.start+a)%f.step===0},k=function(a){var b=parseInt(a,10);j(b)&&g(i(b))},l=function(a){return function(){e.prop("disabled")||e.prop("readonly")||a.call(this)}},m=a("<div></div>").insertBefore(e),n=0;n<i(f.stop);n++)m.append('<div class="rating-symbol '+f.empty+'"></div>');k(e.val()),e.on("change",function(){k(a(this).val())}),m.on("click",".rating-symbol",l(function(){e.val(h(a(this).index())).change()})).on("mouseenter",".rating-symbol",l(function(){g(a(this).index())})).on("mouseleave",".rating-symbol",l(function(){g(i(e.val()))}))})},a.fn.rating.defaults={filled:"glyphicon glyphicon-star",empty:"glyphicon glyphicon-star-empty",start:0,stop:c,step:1},a(function(){a("input.rating").rating()})}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.