@@ -3,14 +3,13 @@ define([
33 'underscore' ,
44 'backbone' ,
55 'mustache' ,
6- 'addthis' ,
76 'models/session' ,
87 'text!templates/apis/list.html' ,
98 'text!templates/apis/list-item.html' ,
109 'collections/apis' ,
1110 'models/api' ,
1211 'models/follower'
13- ] , function ( $ , _ , Backbone , Mustache , unused , Session , apisListTemplate , apisListItemTemplate , ApisCollection , ApiModel , FollowerModel ) {
12+ ] , function ( $ , _ , Backbone , Mustache , Session , apisListTemplate , apisListItemTemplate , ApisCollection , ApiModel , FollowerModel ) {
1413 var ApisPage = Backbone . View . extend ( {
1514 el : '.private-container' ,
1615 initialize : function ( ) {
@@ -110,15 +109,15 @@ define([
110109 that . $el . html ( Mustache . render ( apisListTemplate , { authed : Session . get ( 'auth' ) , currentUser : that . options . currentUser , _ :_ , is_public : that . options . is_public , apis : collection . models , username : Session . get ( 'login' ) , location : that . options . location } , { listtemplate : apisListItemTemplate } ) ) ;
111110
112111 // activate the share buttons
113- _ . each ( collection . models , function ( model ) {
112+ /* _.each(collection.models, function(model) {
114113 addthis.button('#' + model.get('user') + '-' + model.get('name'), {
115114 services_compact : "facebook,twitter,digg,pinterest,email",
116115 ui_click : true
117116 }, {
118117 url: Backbone.router.getBaseUrl() + model.get('user') + '/' + model.get('name'),
119118 title: model.get('name') + ' on API Engine'
120119 });
121- } ) ;
120+ });*/
122121 }
123122 } ) ;
124123
0 commit comments