Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BEBD2200B13 for ; Tue, 31 May 2016 08:46:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BD99C160A56; Tue, 31 May 2016 06:46:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3D9C2160A4A for ; Tue, 31 May 2016 08:46:18 +0200 (CEST) Received: (qmail 62232 invoked by uid 500); 31 May 2016 06:46:16 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 61274 invoked by uid 99); 31 May 2016 06:46:16 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2016 06:46:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 33EBDE6994; Tue, 31 May 2016 06:46:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: an-selm@apache.org To: commits@cordova.apache.org Date: Tue, 31 May 2016 06:46:34 -0000 Message-Id: In-Reply-To: <9f146ed9636b4bbca441baf2a2cb3e9a@git.apache.org> References: <9f146ed9636b4bbca441baf2a2cb3e9a@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [20/51] [partial] cordova-windows git commit: CB-11334 Reorganize node_modules back to hierarchy tree archived-at: Tue, 31 May 2016 06:46:20 -0000 http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/4c0c81a1/node_modules/elementtree/node_modules/sax/examples/strict.dtd ---------------------------------------------------------------------- diff --git a/node_modules/elementtree/node_modules/sax/examples/strict.dtd b/node_modules/elementtree/node_modules/sax/examples/strict.dtd new file mode 100644 index 0000000..b274559 --- /dev/null +++ b/node_modules/elementtree/node_modules/sax/examples/strict.dtd @@ -0,0 +1,870 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%HTMLlat1; + + +%HTMLsymbol; + + +%HTMLspecial; + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/4c0c81a1/node_modules/elementtree/node_modules/sax/examples/switch-bench.js ---------------------------------------------------------------------- diff --git a/node_modules/elementtree/node_modules/sax/examples/switch-bench.js b/node_modules/elementtree/node_modules/sax/examples/switch-bench.js new file mode 100644 index 0000000..4d3cf14 --- /dev/null +++ b/node_modules/elementtree/node_modules/sax/examples/switch-bench.js @@ -0,0 +1,45 @@ +#!/usr/local/bin/node-bench + +var Promise = require("events").Promise; + +var xml = require("posix").cat("test.xml").wait(), + path = require("path"), + sax = require("../lib/sax"), + saxT = require("../lib/sax-trampoline"), + + parser = sax.parser(false, {trim:true}), + parserT = saxT.parser(false, {trim:true}), + + sys = require("sys"); + + +var count = exports.stepsPerLap = 500, + l = xml.length, + runs = 0; +exports.countPerLap = 1000; +exports.compare = { + "switch" : function () { + // sys.debug("switch runs: "+runs++); + // for (var x = 0; x < l; x += 1000) { + // parser.write(xml.substr(x, 1000)) + // } + // for (var i = 0; i < count; i ++) { + parser.write(xml); + parser.close(); + // } + // done(); + }, + trampoline : function () { + // sys.debug("trampoline runs: "+runs++); + // for (var x = 0; x < l; x += 1000) { + // parserT.write(xml.substr(x, 1000)) + // } + // for (var i = 0; i < count; i ++) { + parserT.write(xml); + parserT.close(); + // } + // done(); + }, +}; + +sys.debug("rock and roll..."); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/4c0c81a1/node_modules/elementtree/node_modules/sax/examples/test.html ---------------------------------------------------------------------- diff --git a/node_modules/elementtree/node_modules/sax/examples/test.html b/node_modules/elementtree/node_modules/sax/examples/test.html new file mode 100644 index 0000000..61f8f1a --- /dev/null +++ b/node_modules/elementtree/node_modules/sax/examples/test.html @@ -0,0 +1,15 @@ + + + + + testing the parser + + + +

hello + + + + --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org