mirror of https://github.com/zulip/zulip.git
zjsunit: Add __jquery to objects.
This makes it a bit easier to decipher issues with assert.deepEqual() failing. And we can use it for introspection.
This commit is contained in:
parent
1ab14f8d15
commit
1c4cdf8250
|
@ -442,6 +442,8 @@ function make_new_elem(selector, opts) {
|
||||||
|
|
||||||
self.selector = selector;
|
self.selector = selector;
|
||||||
|
|
||||||
|
self.__zjquery = true;
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue