chicagoboss and jquery

23 views
Skip to first unread message

杨小东

unread,
Jan 28, 2015, 5:07:46 PM1/28/15
to chicagoboss
Dear Friends:
    I have read the document "tutorial.pdf" in the chicagoboss homepage, and I found that in page 28 the example code import jquery from "http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js", but now, I have downloaded jquery and want to import the lib locally, so which directory should I put the jquery.js in or should I modify some configure? 
  

Dmitry Polyanovsky

unread,
Jan 28, 2015, 5:08:43 PM1/28/15
to chica...@googlegroups.com, xd....@nf-3.com
you should put it into /priv/static directory

Kai Janson

unread,
Jan 28, 2015, 6:45:57 PM1/28/15
to chica...@googlegroups.com, xd....@nf-3.com
I usually stick CSS/JavaScript/images/staticstuff into their respective subdirectories in /priv/static/

--Kai

Sent from my tricorder
--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/29257960-0808-4c61-b2de-df65aa0a0bc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

emacstheviking

unread,
Jan 29, 2015, 12:09:30 PM1/29/15
to chica...@googlegroups.com
https://github.com/emacstheviking/bingo_boss

That uses AngularJS and jQuery and is a working example of how *I* did it but as they say, "/priv/static" works as the starting point for static files.

Hope that helps....to get it working after you check it out, 

$ rebar g-d clean compile
$ ./init-dev.sh

IT doesn't work in deploy mode but that's another issue!



On 23 January 2015 at 02:57, 杨小东 <xd....@nf-3.com> wrote:
Dear Friends:
    I have read the document "tutorial.pdf" in the chicagoboss homepage, and I found that in page 28 the example code import jquery from "http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js", but now, I have downloaded jquery and want to import the lib locally, so which directory should I put the jquery.js in or should I modify some configure? 
  

--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.

kotedo

unread,
Jan 29, 2015, 4:23:41 PM1/29/15
to chica...@googlegroups.com
Hi,

I made the application compile and start up by removing everything under deps/*
and then ran:

./rebar get-deps compile && ./init-dev.sh

—Kai


emacstheviking

unread,
Jan 29, 2015, 4:33:54 PM1/29/15
to chica...@googlegroups.com
So, Kotedo, you are now happy, your questions are being answered?

Sorry, but your last post didn't really say if you still had issues or you are now back on track with learning how to do what you want!

If you have any questions about the bingo application ask away.

Sean


Reply all
Reply to author
Forward
0 new messages