Skip to content

Commit f1b3657

Browse files
author
dimaspirit
committed
add use strict and fix bug
1 parent 9aeb895 commit f1b3657

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

spec/QB-ChatSpec.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
describe('Chat API', function() {
2+
'use strict';
3+
24
var LOGIN_TIMEOUT = 10000;
35
var MESSAGING_TIMEOUT = 1500;
46
var IQ_TIMEOUT = 1000;
@@ -179,7 +181,8 @@ describe('Chat API', function() {
179181
{user_id: 1111111, action: "deny"},
180182
{user_id: 1010101, action: "allow"}
181183
];
182-
list = {name: "test", items: usersObj};
184+
185+
var list = {name: "test", items: usersObj};
183186

184187
QB.chat.privacylist.create(list, function(error) {
185188
if(error){

0 commit comments

Comments
 (0)