This repository was archived by the owner on Feb 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 25
25
"devDependencies" : {
26
26
"jquery" : null ,
27
27
"jquery-1.9.1" : " jquery#1.9.1" ,
28
- "qunit" : " 2.x " ,
28
+ "qunit" : " 2.3.0 " ,
29
29
"requirejs-text" : " 2.x" ,
30
30
"underscore" : " 1.x" ,
31
31
"blanket" : " 1.x" ,
Original file line number Diff line number Diff line change 149
149
}
150
150
151
151
// Decorate $entity with data or other attributes making the
152
- // element easily accessable with libraries like jQuery.
152
+ // element easily accessible with libraries like jQuery.
153
153
//
154
154
// Values are contained within the object returned
155
155
// for folders and items as attr:
Original file line number Diff line number Diff line change 113
113
/*
114
114
* reinforce spacing around control buttons
115
115
*/
116
- &-itemization .selectlist , // TODO add specfic class for page size dropdown
116
+ &-itemization .selectlist , // TODO add specific class for page size dropdown
117
117
&-filters ,
118
118
&-secondaryPaging ,
119
119
&-primaryPaging ,
Original file line number Diff line number Diff line change @@ -380,14 +380,12 @@ define( function ( require ) {
380
380
QUnit . test ( 'rendered.fu.repeater callback should receive correct data when called by renderItems function' , function dataSourceCallbackTest ( assert ) {
381
381
var ready = assert . async ( ) ;
382
382
var $repeater = $ ( this . $markup ) ;
383
- var count = 0 ;
384
383
$repeater . on ( 'rendered.fu.repeater' , function rendered ( e , state ) {
385
- count ++ ;
384
+ // rendered is triggered on `this.$search` and `this.$element` in repeater.js
385
+ if ( e . target . id === $repeater . attr ( 'id' ) ) {
386
+ assert . ok ( state . data , 'data object exists' ) ;
387
+ assert . equal ( state . data . myVar , 'passalong' , 'data returned from datasource was passed along' ) ;
386
388
387
- assert . ok ( state . data , 'data object exists' ) ;
388
- assert . equal ( state . data . myVar , 'passalong' , 'data returned from datasource was passed along' ) ;
389
-
390
- if ( count === 2 ) {
391
389
ready ( ) ;
392
390
}
393
391
} ) ;
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ define( function ( require ) {
208
208
209
209
$scheduler . scheduler ( "value" , { recurrencePattern : "FREQ=DAILY;INTERVAL=9;COUNT=4" } ) ;
210
210
assert . ok ( ( $scheduler . find ( ".repeat-end .selectlist .selected-label" ) . html ( ) === "After" && $scheduler . find ( ".repeat-end .spinbox" ) . spinbox ( "value" ) === "4" ) ,
211
- "end after occurence (s) set correctly" ) ;
211
+ "end after occurrence (s) set correctly" ) ;
212
212
213
213
$scheduler . scheduler ( "value" , { recurrencePattern : "FREQ=DAILY;INTERVAL=9;UNTIL=20510331" } ) ;
214
214
You can’t perform that action at this time.
0 commit comments