equal
deleted
inserted
replaced
15 deepEqual(wid._config, config, "Check if the parent div is set correctly"); |
15 deepEqual(wid._config, config, "Check if the parent div is set correctly"); |
16 ok(wid.selector, "Check if the jquery selector is set"); |
16 ok(wid.selector, "Check if the jquery selector is set"); |
17 |
17 |
18 }); |
18 }); |
19 |
19 |
|
20 test("test initialisation with more values", function() { |
|
21 var config = { container: "mydiv", widthmax: 640, heightmax: 480}; |
|
22 var wid = new IriSP.Widget(this.Popcorn, config, this.ser); |
|
23 deepEqual(wid._config, config, "Check if the parent div is set correctly"); |
|
24 ok(wid.selector, "Check if the jquery selector is set"); |
|
25 |
|
26 }); |
|
27 |
20 |
28 |
21 }; |
29 }; |