« first day (85 days earlier)      last day (466 days later) » 

11:32 PM
Is Cheddar running in the frontend? or backend?
also just use private GitHub repos
 
@Quill I can't get browserify to work and I guess that'll be a pain so I'm planning to run Cheddar in the backend and the REPL just sends a request (idk if REST or WS yet), backend checks if client is not being evil, backend executes, etc.
 
What's wrong with browserify?
Just concat all the cheddar files and compile them to es5
Change the input method to be from some function that you can connect to an input box
 
@Quill it's not working :/
 
show me what's wrong
 
It doesn't support dynamic requires
e.g.
 
11:36 PM
you gotta add requirejs
 
wait wat
 
where do you think the syntax came from? it was originally a browser thing with requirejs
 
wtf why did absolutely no tutorial mention that
[Error] Error: Mismatched anonymous define() module: function (){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
i found a bug
 
because usually compilation comes with requirejs
 
so I can just skip browserifying?
[Error] ReferenceError: Can't find variable: module
	(anonymous function)
dammit
 
11:39 PM
20 messages moved from The Nineteenth Byte
You posted your code result :p pretty big
 
._. heh whoops
 
so where on cloud9 is the browserify settings?
 
oh I'm not doing this on C9 I'm doing it locally >_>
is that wrong?
idk i dont know anything about anything
 
That's not wrong, I was just hoping I could see how you're doing it
 
oh okay, I could move it to C9
@Quill okay, should be running now at here. But there is error in the console but it works fine in node :/
 

« first day (85 days earlier)      last day (466 days later) »