Gut Loca calls.
parent
ca8d6e4281
commit
8e64f835d8
|
@ -56,9 +56,6 @@
|
|||
},
|
||||
|
||||
copy: function() {
|
||||
|
||||
window.ll('tagEvent', 'Copied snipt');
|
||||
|
||||
$('textarea', this.$copyModal).remove();
|
||||
|
||||
window.ui_halted = true;
|
||||
|
@ -87,9 +84,6 @@
|
|||
this.model.destroy();
|
||||
},
|
||||
edit: function(adding) {
|
||||
|
||||
window.ll('tagEvent', 'Edited snipt');
|
||||
|
||||
window.editing = true;
|
||||
window.ui_halted = true;
|
||||
|
||||
|
@ -293,9 +287,6 @@
|
|||
return false;
|
||||
},
|
||||
embed: function() {
|
||||
|
||||
window.ll('tagEvent', 'Embedded snipt');
|
||||
|
||||
$('textarea', this.$embedModal).remove();
|
||||
|
||||
window.ui_halted = true;
|
||||
|
@ -355,7 +346,6 @@
|
|||
success: function() {
|
||||
that.$el.removeClass('favorited');
|
||||
that.$favorite.text('Favorite');
|
||||
window.ll('tagEvent', 'Unfavorited snipt');
|
||||
},
|
||||
headers: {
|
||||
'Authorization': 'ApiKey ' + window.user + ':' + window.api_key
|
||||
|
@ -370,7 +360,6 @@
|
|||
that.$el.addClass('favorited');
|
||||
that.model.set({'favorite_id': resp.id}, {'silent': true});
|
||||
that.$favorite.text('Favorited');
|
||||
window.ll('tagEvent', 'Favorited snipt');
|
||||
},
|
||||
headers: {
|
||||
'Authorization': 'ApiKey ' + window.user + ':' + window.api_key
|
||||
|
@ -738,10 +727,6 @@
|
|||
});
|
||||
},
|
||||
addNewSnipt: function() {
|
||||
|
||||
window.ll('tagEvent', 'Added snipt');
|
||||
window.ll('tagScreen', 'Add snipt view');
|
||||
|
||||
var $articleNewSnipt = $('article#new-snipt');
|
||||
|
||||
if ($articleNewSnipt.length === 0) {
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
$scope.$root.account = response.data;
|
||||
$scope.$root.$watch('account.list_view', function(newView, oldView) {
|
||||
if (oldView !== newView) {
|
||||
if (newView === 'N') {
|
||||
window.ll('tagEvent', 'Switched to normal view');
|
||||
} else {
|
||||
window.ll('tagEvent', 'Switched to compact view');
|
||||
}
|
||||
AccountStorage.saveAccount($scope.$root.account, ['list_view']).then(function(response) {
|
||||
$scope.$root.account = response.data;
|
||||
});
|
||||
|
|
|
@ -26,9 +26,3 @@
|
|||
</fieldset>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
{% block analytics %}
|
||||
{% if not debug %}
|
||||
window.ll('tagScreen', 'Pro signup complete view');
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -64,9 +64,3 @@
|
|||
</fieldset>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
{% block analytics %}
|
||||
{% if not debug %}
|
||||
window.ll('tagScreen', 'Team beta signup view');
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -70,9 +70,3 @@
|
|||
</section>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block analytics %}
|
||||
{% if not debug %}
|
||||
window.ll('tagScreen', 'Team members view');
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -17,8 +17,4 @@
|
|||
})();
|
||||
|
||||
</script>
|
||||
{% else %}
|
||||
<script>
|
||||
window.ll = function() {};
|
||||
</script>
|
||||
{% endif %}
|
||||
|
|
|
@ -60,9 +60,3 @@
|
|||
{% csrf_token %}
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
{% block analytics %}
|
||||
{% if not debug %}
|
||||
window.ll('tagScreen', 'Login view');
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -86,9 +86,3 @@
|
|||
</form>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block analytics %}
|
||||
{% if not debug %}
|
||||
window.ll('tagScreen', 'Signup view');
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -133,14 +133,3 @@
|
|||
}());
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block analytics %}
|
||||
{% if not debug %}
|
||||
window.ll('tagScreen', 'Search view');
|
||||
{% if query %}
|
||||
window.ll('tagEvent', 'Searched', { query: "{{ query }}" });
|
||||
{% else %}
|
||||
window.ll('tagEvent', 'Visited search page');
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue