Browse Source

docs : index : typos

pull/96/head
David DeSandro 14 years ago
parent
commit
26d5b222d4
  1. 6
      index.html

6
index.html

@ -135,20 +135,20 @@ features:
.text('Could not load sites using Isotope :('); .text('Could not load sites using Isotope :(');
}; };
// dynamically load sites using Isotope from Ember app // dynamically load sites using Isotope from Zootool
$.getJSON('http://zootool.com/api/users/items/?username=desandro' + $.getJSON('http://zootool.com/api/users/items/?username=desandro' +
'&apikey=8b604e5d4841c2cd976241dd90d319d7' + '&apikey=8b604e5d4841c2cd976241dd90d319d7' +
'&tag=bestofisotope&callback=?') '&tag=bestofisotope&callback=?')
.error( ajaxError ) .error( ajaxError )
.success(function( data ){ .success(function( data ){
// proceed only if we have items // proceed only if we have data
if ( !data || !data.length ) { if ( !data || !data.length ) {
ajaxError(); ajaxError();
return; return;
} }
var items = [], var items = [],
item, image; item, datum;
for ( var i=0, len = data.length; i < len; i++ ) { for ( var i=0, len = data.length; i < len; i++ ) {
datum = data[i]; datum = data[i];

Loading…
Cancel
Save