Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Commit 1d892f9

Browse files
authored
Merge branch 'master' into greenkeeper-grunt-contrib-uglify-2.3.0
2 parents 2ea411b + d7c3ac8 commit 1d892f9

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
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",

js/tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
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:

less/repeater.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
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,

test/repeater-test.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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
} );

test/scheduler-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)