Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Commit node6 updates

  • Loading branch information...
commit 2f90fa2b75ea3ddf5cfacc952a8714328f28358e 1 parent 94a5e3f
Garen Torikian gjtorikian authored
Showing with 6 additions and 3 deletions.
  1. +1 −1  apf-node.js
  2. +1 −1  apf-o3.js
  3. +4 −1 core/browsers/o3.js
2  apf-node.js
View
@@ -26,7 +26,7 @@ var util = require("util");
self = window = global;
-self.sys = util;
+self.util = util;
require("./apf-o3");
require("./loader-o3");
2  apf-o3.js
View
@@ -195,7 +195,7 @@ apf = {
+ dt.getMinutes().toPrettyDigit() + ":"
+ dt.getSeconds().toPrettyDigit() + "." + ms;
- sys.puts((nodate ? "" : date) + " " + msg + (data ? "Extra information:\n" + data : ""));
+ util.puts((nodate ? "" : date) + " " + msg + (data ? "Extra information:\n" + data : ""));
},
//#endif
5 core/browsers/o3.js
View
@@ -5,10 +5,13 @@
apf.runO3 = function(){
//apf.importClass(runNonIe, true, self);
//
+
+ /*define your XMLParser in the packager
if (process.version.split(".")[1] > 2)
var XMLParser = require("libxml/lib/libxml");
else // probably won't work, but who runs node < 0.2 ?
- var XMLParser = require('node-o3-xml'); // needs definition in package.json
+ var XMLParser = require('node-o3-xml');
+ */
//var XMLParser = require('o3').xml;
//var XMLDocument = XMLParser.parseFromString("<root />", "text/xml");
Please sign in to comment.
Something went wrong with that request. Please try again.