diff --git a/assets/scripts/app/templates/repos/show/tools.hbs b/assets/scripts/app/templates/repos/show/tools.hbs
index 8e0785d5..b2541b3c 100644
--- a/assets/scripts/app/templates/repos/show/tools.hbs
+++ b/assets/scripts/app/templates/repos/show/tools.hbs
@@ -60,7 +60,7 @@
suite on Travis CI allows to track changes in coverage over time. If you haven't tried it out already, sign
up today for to improve your code's quality. New customers get 20% off for the first three months!
-
+
It only takes a few steps, once you've set up your project:
diff --git a/assets/scripts/app/views/repo/list.coffee b/assets/scripts/app/views/repo/list.coffee
index 90593a01..4509761d 100644
--- a/assets/scripts/app/views/repo/list.coffee
+++ b/assets/scripts/app/views/repo/list.coffee
@@ -1,14 +1,14 @@
@Travis.reopen
ReposView: Travis.View.extend
templateName: 'repos/list'
-
+
ReposListView: Em.CollectionView.extend
elementId: 'repos'
tagName: 'ul'
-
+
emptyView: Ember.View.extend
template: Ember.Handlebars.compile('
Loading
')
-
+
itemViewClass: Travis.View.extend
repoBinding: 'content'
classNames: ['repo']
@@ -16,34 +16,34 @@
selected: (->
@get('content') == @get('controller.selectedRepo')
).property('controller.selectedRepo')
-
+
color: (->
Travis.Helpers.colorForState(@get('repo.lastBuildState'))
).property('repo.lastBuildState')
-
+
click: ->
@get('controller').transitionToRoute('/' + @get('repo.slug'))
-
+
ReposListTabsView: Travis.View.extend
templateName: 'repos/list/tabs'
tabBinding: 'controller.tab'
currentUserBinding: 'controller.currentUser.id'
-
+
activate: (name) ->
@get('controller').transitionToRoot()
@get('controller').activate(name)
-
+
classRecent: (->
'active' if @get('tab') == 'recent'
).property('tab')
-
+
classOwned: (->
classes = []
classes.push('active') if @get('tab') == 'owned'
classes.push('display-inline') if @get('currentUser')
classes.join(' ')
).property('tab', 'currentUser')
-
+
classSearch: (->
'active' if @get('tab') == 'search'
).property('tab')
diff --git a/assets/scripts/spec/vendor/jquery.mockjax.js b/assets/scripts/spec/vendor/jquery.mockjax.js
index 7bd2bf3d..e487b2db 100644
--- a/assets/scripts/spec/vendor/jquery.mockjax.js
+++ b/assets/scripts/spec/vendor/jquery.mockjax.js
@@ -14,11 +14,11 @@
(function($) {
var _ajax = $.ajax,
mockHandlers = [],
- CALLBACK_REGEX = /=\?(&|$)/,
+ CALLBACK_REGEX = /=\?(&|$)/,
jsc = (new Date()).getTime();
-
- // Parse the given XML string.
+
+ // Parse the given XML string.
function parseXML(xml) {
if ( window['DOMParser'] == undefined && window.ActiveXObject ) {
DOMParser = function() { };
@@ -53,7 +53,7 @@
(s.context ? $(s.context) : $.event).trigger(type, args);
}
- // Check if the data field on the mock handler and the request match. This
+ // Check if the data field on the mock handler and the request match. This
// can be used to restrict a mock handler to being used only when a certain
// set of data is passed to it.
function isMockDataEqual( mock, live ) {
@@ -103,7 +103,7 @@
} else {
// Look for a simple wildcard '*' or a direct URL match
var star = handler.url.indexOf('*');
- if (handler.url !== requestSettings.url && star === -1 ||
+ if (handler.url !== requestSettings.url && star === -1 ||
!new RegExp(handler.url.replace(/[-[\]{}()+?.,\\^$|#\s]/g, "\\$&").replace('*', '.+')).test(requestSettings.url)) {
return null;
}
@@ -117,7 +117,7 @@
}
}
// Inspect the request type
- if ( handler && handler.type &&
+ if ( handler && handler.type &&
handler.type.toLowerCase() != requestSettings.type.toLowerCase() ) {
// The request type doesn't match (GET vs. POST)
return null;
@@ -283,7 +283,7 @@
if(requestSettings.type.toUpperCase() === "GET" && remote ) {
var newMockReturn = processJsonpRequest( requestSettings, mockHandler, origSettings );
- // Check if we are supposed to return a Deferred back to the mock call, or just
+ // Check if we are supposed to return a Deferred back to the mock call, or just
// signal success
if(newMockReturn) {
return newMockReturn;
@@ -299,14 +299,14 @@
function processJsonpUrl( requestSettings ) {
if ( requestSettings.type.toUpperCase() === "GET" ) {
if ( !CALLBACK_REGEX.test( requestSettings.url ) ) {
- requestSettings.url += (/\?/.test( requestSettings.url ) ? "&" : "?") +
+ requestSettings.url += (/\?/.test( requestSettings.url ) ? "&" : "?") +
(requestSettings.jsonp || "callback") + "=?";
}
} else if ( !requestSettings.data || !CALLBACK_REGEX.test(requestSettings.data) ) {
requestSettings.data = (requestSettings.data ? requestSettings.data + "&" : "") + (requestSettings.jsonp || "callback") + "=?";
}
}
-
+
// Process a JSONP request by evaluating the mocked response text
function processJsonpRequest( requestSettings, mockHandler, origSettings ) {
// Synthesize the mock request for adding a script tag
@@ -407,7 +407,7 @@
}
- // The core $.ajax replacement.
+ // The core $.ajax replacement.
function handleAjax( url, origSettings ) {
var mockRequest, requestSettings, mockHandler;
@@ -419,7 +419,7 @@
// work around to support 1.5 signature
origSettings.url = url;
}
-
+
// Extend the original settings for the request
requestSettings = $.extend(true, {}, $.ajaxSettings, origSettings);
@@ -429,7 +429,7 @@
if ( !mockHandlers[k] ) {
continue;
}
-
+
mockHandler = getMockForRequest( mockHandlers[k], requestSettings );
if(!mockHandler) {
// No valid mock found for this request
diff --git a/assets/scripts/vendor/ember.js b/assets/scripts/vendor/ember.js
index 7635284e..33248fc3 100644
--- a/assets/scripts/vendor/ember.js
+++ b/assets/scripts/vendor/ember.js
@@ -2016,7 +2016,7 @@ function suspendListener(obj, eventName, target, method, callback) {
Suspends multiple listeners during a callback.
-
+
@method suspendListeners
@for Ember
@param obj
@@ -2082,7 +2082,7 @@ function watchedEvents(obj) {
is skipped, and once listeners are removed. A listener without
a target is executed on the passed object. If an array of actions
is not passed, the actions stored on the passed object are invoked.
-
+
@method sendEvent
@for Ember
@param obj
@@ -2837,14 +2837,14 @@ Map.create = function() {
Map.prototype = {
/**
This property will change as the number of objects in the map changes.
-
+
@property length
@type number
@default 0
*/
length: 0,
-
-
+
+
/**
Retrieve the value associated with a given key.
@@ -4438,7 +4438,7 @@ Ember.computed.alias = function(dependentKey) {
@return {Ember.ComputedProperty} computed property which creates an
one way computed property to the original value for property.
- Where `computed.alias` aliases `get` and `set`, and allows for bidirectional
+ Where `computed.alias` aliases `get` and `set`, and allows for bidirectional
data flow, `computed.oneWay` only provides an aliased `get`. The `set` will
not mutate the upstream property, rather causes the current property to
become the value set. This causes the downstream property to permentantly
@@ -8679,7 +8679,7 @@ Ember.Error.prototype = Ember.create(Error.prototype);
(function() {
/**
Expose RSVP implementation
-
+
Documentation can be found here: https://github.com/tildeio/rsvp.js/blob/master/README.md
@class RSVP
@@ -20624,7 +20624,7 @@ if (Handlebars.compile) {
var template = Ember.Handlebars.template(templateSpec);
template.isMethod = false; //Make sure we don't wrap templates with ._super
-
+
return template;
};
}
@@ -24307,7 +24307,7 @@ helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
var buffer = '', stack1, hashTypes, hashContexts, escapeExpression=this.escapeExpression, self=this;
function program1(depth0,data) {
-
+
var buffer = '', hashTypes, hashContexts;
data.buffer.push("