mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: prep for es2017 builds
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { parse as parseType } from 'css-tree';
|
||||
const parse: typeof parseType = require('css-tree');
|
||||
import { parse } from 'css-tree';
|
||||
|
||||
function mapSelectors(selector: string): string[] {
|
||||
if (!selector) {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.XmlParser = exports.ParserEvent = exports.ParserEventType = void 0;
|
||||
var easysax = require("../js-libs/easysax");
|
||||
var easysax = require('../js-libs/easysax');
|
||||
var easysax_1 = require("../js-libs/easysax");
|
||||
var ParserEventType = (function () {
|
||||
function ParserEventType() {
|
||||
}
|
||||
@@ -413,7 +414,7 @@ function _HandleAmpEntities(found, decimalValue, hexValue, wordValue) {
|
||||
var XmlParser = (function () {
|
||||
function XmlParser(onEvent, onError, processNamespaces) {
|
||||
this._processNamespaces = processNamespaces;
|
||||
this._parser = new easysax.EasySAXParser();
|
||||
this._parser = new easysax_1.EasySAXParser();
|
||||
var that = this;
|
||||
this._parser.on('startNode', function (elem, attr, uq, tagend, str, pos) {
|
||||
var attributes = attr();
|
||||
|
||||
Reference in New Issue
Block a user