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