1/* 2======================================================= 3Author:PixelsHarmony (http://www.pixelsharmony.com/) 4Date:02 July, 2016 5Version:1.0 6Description:Volatile - Social Widgets Config 7======================================================= 8 JavaScript Content 9======================================================= 10======================================================= 11 Flickr Feed 12======================================================= 13*/ 14function phflickrfeed() { 15 if ($('#flickrfeed').length && jQuery()) { 16 jQuery("#flickrfeed").html(""); 17 $('#flickrfeed').jflickrfeed({ 18 limit: 9, 19 qstrings: { 20 id: '45388974@N00' 21 }, 22 itemTemplate: '<li>' + '<a href="{{image_b}}"><img src="{{image_s}}" alt="{{title}}"/></a>' + '</li>' 23 }); 24 }; 25}; 26/* 27======================================================= 28 Dribbble Feed 29======================================================= 30*/ 31function phdribbblefeed() { 32 if ($('.shots').length && jQuery()) { 33 $.jribbble.setToken('976f17c9cd8240402efc535b3d4995380276e8f2c5700eaf62caafc1ec616190'); 34 $.jribbble.users('pixelsharmony').shots({ 35 per_page: 9 36 }).then(function(shots) { 37 var html = []; 38 shots.forEach(function(shot) { 39 html.push('<li>'); 40 html.push('<a href="' + shot.html_url + '" target="_blank">'); 41 html.push('<img src="' + shot.images.normal + '">'); 42 html.push('</a></li>'); 43 }); 44 $('.shots').html(html.join('')); 45 }); 46 }; 47}; 48/* 49======================================================= 50 Twitter Feed 51======================================================= 52*/ 53function phtwitterfeed() { 54 if ($('.tweet').length && jQuery()) { 55 $('.tweet').twittie({ 56 username: 'pixelsharmony', 57 dateFormat: '%b. %d, %Y', 58 template: '{{tweet}} <div class="date">{{date}}</div>', 59 count: 2, 60 apiPath: 'plugins/tweetie/api/tweet.php', 61 loadingText: 'Loading!' 62 }); 63 }; 64}; 65/* 66======================================================= 67 Call Functions 68======================================================= 69*/ 70$(document).ready(function() { 71 phtwitterfeed(); 72 phflickrfeed(); 73 phdribbblefeed(); 74});
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.