Ticket #38489: fix-spelling-qunit.patch
File fix-spelling-qunit.patch, 4.0 KB (added by , 4 years ago) |
---|
-
tests/qunit/editor/plugins/image.js
346 346 347 347 }); 348 348 349 test('Advanced image dialog overrid en border style options on empty editor', function(){349 test('Advanced image dialog overridden border style options on empty editor', function(){ 350 350 editor.settings.image_advtab = true; 351 351 editor.settings.image_dimensions = false; 352 352 … … 376 376 377 377 }); 378 378 379 test('Advanced image dialog overrid en margin style options on empty editor', function(){379 test('Advanced image dialog overridden margin style options on empty editor', function(){ 380 380 editor.settings.image_advtab = true; 381 381 editor.settings.image_dimensions = false; 382 382 -
tests/qunit/editor/tinymce/Formatter_apply.js
151 151 rng.setEnd(editor.dom.select('p')[0].lastChild, 2); 152 152 editor.selection.setRng(rng); 153 153 editor.formatter.toggle('format'); 154 equal(getContent(), '<p><b>1234</b></p>', 'Extend format ing if start of selection is already formatted');154 equal(getContent(), '<p><b>1234</b></p>', 'Extend formatting if start of selection is already formatted'); 155 155 }); 156 156 157 157 test('Inline element on partially selected text', function() { -
tests/qunit/editor/tinymce/dom/DOMUtils.js
612 612 ok(DOM.isEmpty(DOM.get('test')), 'Non empty complex HTML with space'); 613 613 614 614 DOM.setHTML('test', '<div><span><b></b></span><b></b><em><a name="x"></a></em></div>'); 615 ok(!DOM.isEmpty(DOM.get('test')), 'Non empty complex HTML with a chor name');615 ok(!DOM.isEmpty(DOM.get('test')), 'Non empty complex HTML with anchor name'); 616 616 617 617 DOM.setHTML('test', '<img src="tinymce/ui/img/raster.gif">'); 618 618 ok(!DOM.isEmpty(DOM.get('test')), 'Non empty html with img element'); -
tests/qunit/vendor/qunit.js
1401 1401 } 1402 1402 }; 1403 1403 1404 // Provide an alternative to assert.throws(), for enviro ments that consider throws a reserved word1404 // Provide an alternative to assert.throws(), for environments that consider throws a reserved word 1405 1405 // Known to us are: Closure Compiler, Narwhal 1406 1406 (function() { 1407 1407 /*jshint sub:true */ -
tests/qunit/vendor/sinon.js
179 179 // contain already visited objects 180 180 var objects1 = [], 181 181 objects2 = [], 182 // contain path es (position in the object structure)182 // contain paths (position in the object structure) 183 183 // of the already visited objects 184 184 // indexes same as in objects arrays 185 185 paths1 = [], … … 294 294 index1 = isObject1 ? getIndex(objects1, value1) : -1; 295 295 index2 = isObject2 ? getIndex(objects2, value2) : -1; 296 296 297 // determine the new path es of the objects297 // determine the new paths of the objects 298 298 // - for non cyclic objects the current path will be extended 299 299 // by current property name 300 300 // - for cyclic objects the stored path is taken … … 310 310 return true; 311 311 } 312 312 313 // remember the current objects and their path es313 // remember the current objects and their paths 314 314 if (index1 === -1 && isObject1) { 315 315 objects1.push(value1); 316 316 paths1.push(newPath1);