PageSourceSearch

https://www.premier-motorsports.com/DesktopModules/Blog/Templates/_default/template.js?cdv=1478

js premier-motorsports.com collected 2026-10-08 19:23:03 UTC 3,041 bytes, 82 lines download raw bytes

1(function ($, Sys) {
2 $(document).ready(function () {
3  $('a[href$=".gif"], a[href$=".jpg"], a[href$=".png"], a[href$=".bmp"]').colorbox();
4  $(".moment").each(function(i, el) {
5    var e = $(el);
6    e.html(moment(e.attr('data-time')).fromNow());
7  });
8  $(".momentabs").each(function(i, el) {
9    var e = $(el);
10    e.html(moment(e.attr('data-time')).format('LL'));
11  });
12  $('#cmdComment').click(function () {
13   $dialogComment.dialog('open');
14   return false;
15  });
16  $('#sharrre').sharrre({
17   share: {
18    googlePlus: false,
19    facebook: true,
20    twitter: true
21   },
22   urlCurl: '',
23   template: '<a href="#"><img src="/DesktopModules/Dominion/Common/Images/Facebook.png" alt="Facebook" class="socialicons facebook"></a><a href="#"><img src="/DesktopModules/Dominion/Common/Images/social_x.svg" alt="X/Twitter" class="fa fa-twitter socialicons twitter"></a>',
24   enableHover: false,
25   enableTracking: true,
26   render: function (api, options) {
27    $(api.element).on('click', '.twitter', function () {
28     api.openPopup('twitter');
29    });
30    $(api.element).on('click', '.facebook', function () {
31     api.openPopup('facebook');
32    });
33    $(api.element).on('click', '.googleplus', function () {
34     api.openPopup('googlePlus');
35    });
36   }
37  });
38  SyntaxHighlighter.autoloader.apply(null, shpath(
39  'applescript            @shBrushAppleScript.js',
40  'actionscript3 as3      @shBrushAS3.js',
41  'bash shell             @shBrushBash.js',
42  'coldfusion cf          @shBrushColdFusion.js',
43  'cpp c                  @shBrushCpp.js',
44  'c# c-sharp csharp      @shBrushCSharp.js',
45  'css                    @shBrushCss.js',
46  'delphi pascal          @shBrushDelphi.js',
47  'diff patch pas         @shBrushDiff.js',
48  'erl erlang             @shBrushErlang.js',
49  'groovy                 @shBrushGroovy.js',
50  'java                   @shBrushJava.js',
51  'jfx javafx             @shBrushJavaFX.js',
52  'js jscript javascript  @shBrushJScript.js',
53  'perl pl                @shBrushPerl.js',
54  'php                    @shBrushPhp.js',
55  'text plain             @shBrushPlain.js',
56  'ps                     @shBrushPowerShell.js',
57  'py python              @shBrushPython.js',
58  'ruby rails ror rb      @shBrushRuby.js',
59  'sass scss              @shBrushSass.js',
60  'scala                  @shBrushScala.js',
61  'sql                    @shBrushSql.js',
62  'vb vbnet               @shBrushVb.js',
63  'xml xhtml xslt html    @shBrushXml.js'
64  ));
65  SyntaxHighlighter.all();
66 });
67} (jQuery, window.Sys));
68function karmaToggle(blogId, commentId, karma, confirmation, success) {
69  if (confirmation != null) {
70   if (!confirm(confirmation)) {
71    return false;
72   }
73  }
74  blogService.karmaComment(blogId, commentId, karma, success)
75  return false;
76};
77function shpath() {
78 var args = arguments, result = [];
79 for (var i = 0; i < args.length; i++)
80  result.push(args[i].replace('@', appPath+'/desktopmodules/blog/templates/_default/js/highlighter/'));
81 return result
82};

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.