[html] Format onPaste issues with HTML. Fixes #21218

This commit is contained in:
Martin Aeschlimann
2017-04-21 13:59:46 +02:00
parent 2ef2602cc8
commit ef9e03c8ad
10 changed files with 59 additions and 21 deletions

View File

@@ -0,0 +1,13 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
export function pushAll<T>(to: T[], from: T[]) {
if (from) {
for (var i = 0; i < from.length; i++) {
to.push(from[i]);
}
}
}