Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
AGJS-245: removed leftovers: unused dependency jQuery + unused variab…
Browse files Browse the repository at this point in the history
…le _oncomplete
  • Loading branch information
lfryc committed Sep 24, 2014
1 parent d3ea4cd commit 3c14a1b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/aerogear.ajax.js
Expand Up @@ -48,7 +48,6 @@ AeroGear.ajax = function( settings ) {
accept = ( settings.accept || "application/json" ).toLowerCase(),
// TODO: compare contentType by checking if it starts with some value since it might contains the charset as well
contentType = ( settings.contentType || "application/json" ).toLowerCase(),
_oncomplete,
header,
name,
urlEncodedData = [],
Expand Down
1 change: 0 additions & 1 deletion tests/unit/aerogear-ajax/aerogear-ajax.html
Expand Up @@ -5,7 +5,6 @@
<script type="text/javascript" src="../../../external/es6-promise/promise-0.1.1.js"></script>
<script type="text/javascript" src="../../../src/aerogear.core.js"></script>
<script type="text/javascript" src="../../../src/aerogear.ajax.js"></script>
<script type="text/javascript" src="../../vendor/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="../../vendor/qunit.js"></script>
<script type="text/javascript" src="../../vendor/sinon-1.9.0.js"></script>
<script type="text/javascript" src="aerogear.ajax.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/aerogear-ajax/aerogear.ajax.js
@@ -1,4 +1,4 @@
(function( $ ) {
(function() {

module( "AeroGear.ajax - fake xhr", {
setup: function() {
Expand Down Expand Up @@ -490,4 +490,4 @@
AeroGear.ajax( this.settings ).then( this.settings.success );
this.server.respond();
});
})( jQuery );
})();

0 comments on commit 3c14a1b

Please sign in to comment.