« first day (1277 days earlier)      last day (1381 days later) » 

m59
6:57 PM
@TehShrike Do you mind off-topic javascript discussion? You seem like the most appropriate source for a topic on my mind. I haven't been sure whether our previous off-topic discussions were ok here. :)
I'll just throw this one out there and let me know if it's a problem. I'm looking at ui-bootstrap on GitHub. They don't have any kind of server/index.html going on, so it looks like they just write/run tests with Karma and aren't ever manually viewing/using their components in a browser. I don't find that feasible if for no other reason than that I want to actually experience my creations, but more practically because its helpful in development to see if I'm pleased with it.
Do people really skip that and just run tests?
I was previously under the impression that every front-end project or module had to have some kind of index.html file including the project scripts and something to startup a server so that it could be served to the browser.
 
@m59 I could see that in their case I suppose, since the idea is to rely on Bootstrap for everything to do with the display
I'm not a good one to ask - I've written a lot of JS tests, but I haven't yet written tests that involve the DOM or template rendering
I do all that in-app :-x
 
m59
7:13 PM
but it sounds like it would make sense for me to go the server/file route as well?
 
it probably depends on the module. Most of the stuff I make there's a pretty clear delineation between graphical bits and mostly-code bits
What are you making that has graphical elements but isn't very general?
I'll bet the Angular-ui guys use angular-ui.github.io
I dunno, everything I've done that I wanted to test in a browser by hand was part of a business app where I just tested it in that app
 
m59
7:36 PM
You're saying perhaps they test it out withing their own website using it? I considered going that route.
The difficulty I run into there is that I would want to build that site within the same project so I wouldn't have to switch to a dependent "site" project
and I can't find a good way of organizing that
 
 
4 hours later…
11:28 PM
@m59 npm link!
 

« first day (1277 days earlier)      last day (1381 days later) »