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 2525 "devDependencies" : {
2626 "jquery" : null ,
2727 "jquery-1.9.1" : " jquery#1.9.1" ,
28- "qunit" : " 2.x " ,
28+ "qunit" : " 2.3.0 " ,
2929 "requirejs-text" : " 2.x" ,
3030 "underscore" : " 1.x" ,
3131 "blanket" : " 1.x" ,
Original file line number Diff line number Diff line change 149149 }
150150
151151 // 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.
153153 //
154154 // Values are contained within the object returned
155155 // for folders and items as attr:
Original file line number Diff line number Diff line change 113113 /*
114114 * reinforce spacing around control buttons
115115 */
116- &-itemization .selectlist , // TODO add specfic class for page size dropdown
116+ &-itemization .selectlist , // TODO add specific class for page size dropdown
117117 &-filters ,
118118 &-secondaryPaging ,
119119 &-primaryPaging ,
Original file line number Diff line number Diff line change @@ -380,14 +380,12 @@ define( function ( require ) {
380380 QUnit . test ( 'rendered.fu.repeater callback should receive correct data when called by renderItems function' , function dataSourceCallbackTest ( assert ) {
381381 var ready = assert . async ( ) ;
382382 var $repeater = $ ( this . $markup ) ;
383- var count = 0 ;
384383 $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' ) ;
386388
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 ) {
391389 ready ( ) ;
392390 }
393391 } ) ;
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ define( function ( require ) {
208208
209209 $scheduler . scheduler ( "value" , { recurrencePattern : "FREQ=DAILY;INTERVAL=9;COUNT=4" } ) ;
210210 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" ) ;
212212
213213 $scheduler . scheduler ( "value" , { recurrencePattern : "FREQ=DAILY;INTERVAL=9;UNTIL=20510331" } ) ;
214214
You can’t perform that action at this time.
0 commit comments