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

Commit

Permalink
Merge branch 'master' into greenkeeper-grunt-contrib-uglify-2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
swilliamset committed Apr 19, 2017
2 parents 2ea411b + d7c3ac8 commit 1d892f9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Expand Up @@ -25,7 +25,7 @@
"devDependencies": {
"jquery": null,
"jquery-1.9.1": "jquery#1.9.1",
"qunit": "2.x",
"qunit": "2.3.0",
"requirejs-text": "2.x",
"underscore": "1.x",
"blanket": "1.x",
Expand Down
2 changes: 1 addition & 1 deletion js/tree.js
Expand Up @@ -149,7 +149,7 @@
}

// Decorate $entity with data or other attributes making the
// element easily accessable with libraries like jQuery.
// element easily accessible with libraries like jQuery.
//
// Values are contained within the object returned
// for folders and items as attr:
Expand Down
2 changes: 1 addition & 1 deletion less/repeater.less
Expand Up @@ -113,7 +113,7 @@
/*
* reinforce spacing around control buttons
*/
&-itemization .selectlist, // TODO add specfic class for page size dropdown
&-itemization .selectlist, // TODO add specific class for page size dropdown
&-filters,
&-secondaryPaging,
&-primaryPaging,
Expand Down
10 changes: 4 additions & 6 deletions test/repeater-test.js
Expand Up @@ -380,14 +380,12 @@ define( function ( require ) {
QUnit.test( 'rendered.fu.repeater callback should receive correct data when called by renderItems function', function dataSourceCallbackTest( assert ) {
var ready = assert.async();
var $repeater = $( this.$markup );
var count = 0;
$repeater.on( 'rendered.fu.repeater', function rendered ( e, state ) {
count++;
// rendered is triggered on `this.$search` and `this.$element` in repeater.js
if ( e.target.id === $repeater.attr('id') ) {
assert.ok( state.data, 'data object exists' );
assert.equal( state.data.myVar, 'passalong', 'data returned from datasource was passed along' );

assert.ok( state.data, 'data object exists' );
assert.equal( state.data.myVar, 'passalong', 'data returned from datasource was passed along' );

if ( count === 2 ) {
ready();
}
} );
Expand Down
2 changes: 1 addition & 1 deletion test/scheduler-test.js
Expand Up @@ -208,7 +208,7 @@ define( function ( require ) {

$scheduler.scheduler( "value", { recurrencePattern: "FREQ=DAILY;INTERVAL=9;COUNT=4" } );
assert.ok( ( $scheduler.find( ".repeat-end .selectlist .selected-label" ).html() === "After" && $scheduler.find( ".repeat-end .spinbox" ).spinbox( "value" ) === "4" ),
"end after occurence(s) set correctly" );
"end after occurrence(s) set correctly" );

$scheduler.scheduler( "value", { recurrencePattern: "FREQ=DAILY;INTERVAL=9;UNTIL=20510331" } );

Expand Down

0 comments on commit 1d892f9

Please sign in to comment.