Skip to content

Commit

Permalink
removing outdated files no longer needed since the switch to AMD
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Dec 18, 2011
1 parent dc45d58 commit d9eb981
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 70 deletions.
33 changes: 0 additions & 33 deletions app/init.js

This file was deleted.

32 changes: 0 additions & 32 deletions app/scripts.js

This file was deleted.

8 changes: 4 additions & 4 deletions app/ui.js
Expand Up @@ -5,15 +5,15 @@ define( ['jquery', 'utils' ],
"use strict";

var ui = {};
ui.nextOption = $( '#nextSet' ),
ui.prevOption = $( '#prevSet' );
ui.nextOption = $( '#nextSet' );
ui.prevOption = $( '#prevSet' );

ui.nextOption.bind( 'click', function( e ) {
ui.nextOption.on( 'click', function( e ) {
e.preventDefault();
utils.historySwitch( 'next' );
} );

ui.prevOption.bind( 'click', function( e ) {
ui.prevOption.on( 'click', function( e ) {
e.preventDefault();
utils.historySwitch( 'prev' );
} );
Expand Down
1 change: 0 additions & 1 deletion app/utils.js
Expand Up @@ -138,7 +138,6 @@ define( ['jquery' ],
serviceUrl += "&method=flickr.photos.getInfo&photo_id=" + query + "&api_key=" + apiKey;
}

console.log(serviceUrl);

return $.ajax( serviceUrl, { dataType: "json" } );
};
Expand Down

0 comments on commit d9eb981

Please sign in to comment.