[01:33] There we go, from the top guys [01:34] https://twitter.com/kripken/status/840368640805412864 [01:34] So compile away with impunity and hack not needed [01:35] *** arkiver has joined #jsmess [03:50] My decision with the phantomjs thing is wait for phantom 2.5 to come out of beta and then run it [03:50] I'm not going to chase down 1,000 library dependencies [04:22] a better option might be chrome --headless [04:24] Nope [04:24] This all gets away from what I want to do [04:24] For all this, I already solved all this with screenshotgun [04:25] The advantages I want, going headless just adds more crap [04:25] This is my problem, don't worry about it [04:25] We just need to set up an emularity testbench at the archive [04:25] and turbo it [04:26] yeah, it's just almost identical to a problem I'm slacking on solving at work :D [13:59] :) [14:14] So, I downloaded PhantomJS into windows (used the windows version) [14:14] It works [15:26] http://fos.textfiles.com/pacman.gif [15:31] http://fos.textfiles.com/pacman-boot.gif [15:35] http://fos.textfiles.com/pacman.png example screenshot [15:41] So, it's worth it to get it running on my box. [16:12] OK, good news. [16:13] I got PhantomJS 2.5 working on FOS [16:29] However, archive.js is failing [16:33] But now we: 1. Know it works on the emulation 2. Can nail it down [16:33] root@teamarchive0:/0/PHANTOM/phantomjs-2.5.0-beta-ubuntu-trusty/bin# ./phantomjs archive.js [16:33] CONSOLE: TypeError: SyntheticEvent.augmentClass is not a function. (In 'SyntheticEvent.augmentClass(SyntheticCompositionEvent, CompositionEventInterface)', 'SyntheticEvent.augmentClass' is undefined) (from line # in "") [16:33] CONSOLE: TypeError: undefined is not an object (evaluating 'React.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED') (from line # in "") [16:33] CONSOLE: ReferenceError: Can't find variable: React (from line # in "") [16:33] CONSOLE: TypeError: undefined is not an object (evaluating 'AJS.emulator.start') (from line # in "") [17:45] looks like you need to include React [17:47] https://facebook.github.io/react/docs/installation.html [17:48] install the npm modules react and react-dom, then find dist/react.js and dist/react-dom.js, and include those in your setup [17:48] I'm not sure exactly what you need React for though [18:01] Some IA silliness no doubt. [18:02] *** db48x has quit IRC (Read error: Operation timed out) [18:03] *** db48x has joined #jsmess [18:05] React installed. Now looking for the dists. [18:09] How do I include them, asked Jason [18:12] Think I found it [18:18] [18:19] In the archive.js? [18:22] Oh wait... hmmm [18:33] http://teamarchive0.fnf.archive.org/PHANTOM/frames/screenshot0.png [18:33] So obviously it screenshots fine. [18:33] Grabs the canvas, which is good. [18:45] Vito`: Any thoughts [18:59] *** zino has quit IRC (Remote host closed the connection) [19:12] bai: Thoughts [19:12] what's the problem now? [19:13] So [19:13] I upgraded from Version 2.1.1 of PhantomJS to 2.5. [19:14] I then used the proper testing harness of going to the old javascript pacman page. [19:14] (So I didn't deal with IA, just with the code) [19:16] So, the straight works [19:16] I.e. http://teamarchive0.fnf.archive.org/PHANTOM/pacman.js [19:16] Boomity boom boom [19:17] That's the screenshots I put on twitter you saw [19:17] That means jsmess/emularity works [19:19] Now, I'm using the code from before to do what we did with archive [19:19] Running into things [19:22] And there you go [19:23] oh...yeah I dunno about how the archive stuff is set up, I'm kind of shocked to hear you guys use react at all given the licensing derpiness, but I know that's not helping this situation :D [19:23] but do you need all the archive stuff if you're just gonna cut it out anyway? [19:29] No, we don't need it ideally. [19:29] And in the original phantomjs it didn't seem to use it. [19:59] *** zino has joined #jsmess [20:06] https://twitter.com/textfiles/status/840655155162951681 [20:08] Verified - the windows version does the same thing as the linux version. [20:23] hitsthings is attacking [20:46] Verified [20:47] React is loaded on every page [20:47] In this case, I think we can blackhole it if someone knows how [20:47] sorry, haven't played with 2.5 at all, and am heading out [20:47] I might be able to look at it tonight if it's still a problem [20:47] * SketchCow pinches Vito`'s cheeks [20:47] I think we just need to polyfill horseshit [20:55] https://medium.com/@ericclemmons/react-event-preventdefault-78c28c950e46#.fzx09g5ci [20:57] https://github.com/erikras/react-native-listener [21:27] I wish I could help but I've remained wilfully ignorant of all things react [21:27] so I have no idea what it's doing with synthesized events [23:57] Understood