Skip to content

Commit 5bc054a

Browse files
committed
Small doc update
1 parent bacddf6 commit 5bc054a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ test.js
7575
define(["chai","angular","angular-mocks","angular-socket-io"],function(chai){
7676
describe("Test Suite",function(){
7777
beforeEach(module("app"))
78-
it("should be using the mock ng-socket.io",$inject(function($rootScope,$controller){
78+
it("should be using the mock ng-socket.io",inject(function($rootScope,$controller){
7979
var expect = chai.expect
8080
, scope = $rootScope.$new()
8181
, ctrl = $controller("MyController",{$scope: scope})
@@ -94,7 +94,7 @@ define(["angular","ng-socket-io"],function(ng){
9494
app.controller("MyController",["$scope","socket",function($scope,socket){
9595
//load items now
9696
$scope.items = []
97-
socket.emit("loadItems",function({},function(res){
97+
socket.emit("loadItems",{},function(res){
9898
$scope.items = res.res
9999
})
100100
//setup functions

0 commit comments

Comments
 (0)