[html] add formatter

This commit is contained in:
Martin Aeschlimann
2016-09-09 15:26:03 +02:00
parent bb9a0f89ad
commit 49dfae7e00
10 changed files with 1738 additions and 12 deletions

View File

@@ -0,0 +1,11 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/*
* Mock for the JS formatter. Ignore formatting of JS content in HTML.
*/
export function js_beautify(js_source_text: string, options: any) {
// no formatting
return js_source_text;
}