Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #31203

How develop pure JS library involving multiple source files?

Newsgroups comp.lang.javascript
Date 2016-08-28 23:02 -0700
Message-ID <26eae79d-b1cd-4e4d-b795-608f470c97db@googlegroups.com> (permalink)
Subject How develop pure JS library involving multiple source files?
From kentilton@gmail.com

Show all headers | View raw


I am interested in porting a little dataflow aka reactive aka databinding library of mine from Common Lisp to javascript. It will be about 2kloc and would be edited most easily as about ten different .js files.

My immediate problem is quite simple: how do I edit/run/test as I go? Is it necessary to run a server and test in a browser where each file is loaded via a script tag? I do not plan immediately to mess with DOM since it is purely about the dataflow between JS objects, so it would be great to just sit in an IDE and hit Run to test as I go.

I have installed WebStorm and it works fine for a single source file, but for the life of me I do not see how to get it to load all the JS files I have added to the project. And I did see something suggesting I would have to use a build tool to concatenate the different JS files, suggesting WebStorm does not handle that for me.

If I have to test in a browser I will live, but an IDE would rock. Maybe I will see if Aptana is more approachable.

Insights welcome.

-kt

Back to comp.lang.javascript | Previous | NextNext in thread | Find similar | Unroll thread


Thread

How develop pure JS library involving multiple source files? kentilton@gmail.com - 2016-08-28 23:02 -0700
  Re: How develop pure JS library involving multiple source files? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-08-29 10:44 +0100
    Re: How develop pure JS library involving multiple source files? Ken Tilton <kentilton@gmail.com> - 2016-08-29 04:19 -0700
      Re: How develop pure JS library involving multiple source files? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-08-29 12:58 +0100

csiph-web