Skip to content

Commit 3699e1b

Browse files
author
Samson
committed
clean up
1 parent d2cc69d commit 3699e1b

3 files changed

Lines changed: 1 addition & 9 deletions

File tree

build/build.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ if(cloudfront) {
138138
} else {
139139
index = index.replace('css/styles.css', 'version/' + version + '/css/styles.css');
140140
index = index.replace(' data-main="js/main"', ' data-main="version/' + version + '/js/main"');
141-
142141
}
143142

144143
index = index.replace('<meta data-server-url="https://s.apiengine.io" />', '<meta data-server-url="'+server+'" />')

js/models/feedback.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ define([
55
], function(_, Backbone, Session) {
66
var FeedbackModel = Backbone.Model.extend({
77
urlRoot: function () {
8-
98
return '/feedback';
10-
119
}
1210
});
1311
return FeedbackModel;

js/views/app.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,14 @@ define([
5252
'hitType': 'pageview',
5353
'page': $(this).attr('href')
5454
});
55-
// mixpanel.track_pageview();
5655
Backbone.router.navigate($(this).attr('href'), true);
5756
$(document).scrollTop(0);
5857
return false;
5958

6059
}
6160
});
6261
var notifications = new Notifications();
63-
var root = '/';
62+
var root = '/';
6463
if(window.location.hostname === 'localhost' && window.location.pathname.indexOf('relic') !== -1) {
6564
root = '/repos/apiengine-client/build/relic';
6665

@@ -70,10 +69,6 @@ define([
7069
Backbone.history.start({pushState: true, root: root});
7170
});
7271

73-
74-
//$.ajax('http://d3gscmgl75g1oq.cloudfront.net/user/thomasdavis/api/ApiEngine/1/resource/8', {
75-
//success: function () {console.log(arguments);}
76-
//});
7772
},
7873
events: {
7974
'click .js-feedback': 'openFeedback'

0 commit comments

Comments
 (0)