Skip to content

Commit

Permalink
Remove default request
Browse files Browse the repository at this point in the history
  • Loading branch information
Yadickson Soto committed Feb 12, 2019
1 parent fcb5e52 commit 02f03ee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "angularjs-atmosphere",
"version": "1.1.2",
"version": "1.1.3",
"description": "Angular JS atmosphere wrapper",
"main": "dist/angularjs-atmosphere.js",
"dependencies": {
Expand Down
7 changes: 1 addition & 6 deletions src/angularjs-atmosphere.js
Expand Up @@ -18,8 +18,7 @@
close: close,
on: on,
off: off,
emit: emit,
request: request
emit: emit
};

function init(requestObj) {
Expand Down Expand Up @@ -92,10 +91,6 @@
}
}

function request() {
return atmosphere.AtmosphereRequest();
}

}]);

})();
7 changes: 0 additions & 7 deletions test/angularjs-atmosphere-test.js
Expand Up @@ -124,13 +124,6 @@
expect(fn2.called).to.be.false;
});

it('call default request', function() {

var request = atmosphereService.request();

expect(!!request).to.be.true;
});

});

})();

0 comments on commit 02f03ee

Please sign in to comment.