Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Removed use of normalize().
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbarnas committed Aug 25, 2016
1 parent b2d7ad7 commit 01116d8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/model/composer/modifyselection.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,16 +387,6 @@ describe( 'Delete utils', () => {

function test( title, input, output, options ) {
it( title, () => {
// FIXME: This is wrong. Proper polyfill should be used, like https://github.com/walling/unorm.
if ( !String.prototype.normalize ) {
String.prototype.normalize = function() {
return String( this );
};
}

input = input.normalize();
output = output.normalize();

setData( document, input );

// Creating new instance of selection instead of operation on engine.model.Document#selection.
Expand Down

0 comments on commit 01116d8

Please sign in to comment.