'use strict';
/**
 * PhantomJS does not have a `bind` method :(
 * polyfill'it!
 */
Function.prototype.bind=Function.prototype.bind||function(b){if(typeof this!=="function"){throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");}var a=Array.prototype.slice,f=a.call(arguments,1),e=this,c=function(){},d=function(){return e.apply(this instanceof c?this:b||window,f.concat(a.call(arguments)));};c.prototype=this.prototype;d.prototype=new c();return d;};

var tests = Object.keys(window.__karma__.files).filter(function (file) {
      return /-spec\.js$/.test(file);
});

requirejs.config({
    // Karma serves files from '/base'
    baseUrl: '/base/src',

    paths: {
        'jquery': '../lib/jquery/jquery'
    },

    // ask Require.js to load these files (all our tests)
    deps: tests,

    // start test run, once Require.js is done
    callback: window.__karma__.start
});


@@ -100,17 +100,19 @@
 ype.bind
-=
+ = 
 Function
@@ -126,18 +126,20 @@
 ype.bind
+ 
 %7C%7C
+ 
 function
@@ -145,11 +145,18 @@
 n(b)
-%7B
+ %7B%0A    
 if
+ 
 (typ
@@ -167,11 +167,13 @@
 this
+ 
 !==
+ 
 %22fun
@@ -179,17 +179,27 @@
 nction%22)
-%7B
+ %7B%0A        
 throw ne
@@ -286,15 +286,27 @@
 e%22);
-%7D
+%0A    %7D%0A    
 var a
-=
+ = 
 Arra
@@ -327,10 +327,21 @@
 ice,
-f=
+%0A        f = 
 a.ca
@@ -357,20 +357,43 @@
 nts,
+ 
 1),
-e=this,c=
+%0A        e = this,%0A        c = 
 func
@@ -402,13 +402,17 @@
 on()
+ 
 %7B%7D,
-d=
+ d = 
 func
@@ -417,17 +417,31 @@
 nction()
-%7B
+ %7B%0A            
 return e
@@ -468,24 +468,31 @@
 of c
-?
+ ? 
 this
-:b
+ : b 
 %7C%7C
+ 
 window,
+ 
 f.co
@@ -516,18 +516,32 @@
 ents)));
-%7D;
+%0A        %7D;%0A    
 c.protot
@@ -543,17 +543,19 @@
 rototype
-=
+ = 
 this.pro
@@ -561,16 +561,21 @@
 ototype;
+%0A    
 d.protot
@@ -581,17 +581,19 @@
 type
-=
+ = 
 new c();
 retu
@@ -588,16 +588,21 @@
 new c();
+%0A    
 return d
@@ -602,16 +602,17 @@
 eturn d;
+%0A
 %7D;%0A%0Avar 
@@ -670,17 +670,16 @@
 function
- 
 (file) %7B
@@ -675,26 +675,24 @@
 ion(file) %7B%0A
-  
     return /
@@ -1026,14 +1026,12 @@
 __.start%0A%7D);
-%0A%0A

Update test main format