Example Project? #37

Closed
opened 2015-02-24 18:32:43 -05:00 by granicus422 · 2 comments
granicus422 commented 2015-02-24 18:32:43 -05:00 (Migrated from github.com)

Do you have an example project that shows, in the simplest manner possible, how to set up a webpage to use this project?

I am new to the pjax concept, as well as require.js, and there seem to be a lot of intermediate steps missing that describe how to set up your require calls in order to correctly load and call the pjax project's dependencies. A simple example project with two html pages showing the basic pjax loading functionality would answer all these setup questions.

Thank you.

Do you have an example project that shows, in the simplest manner possible, how to set up a webpage to use this project? I am new to the pjax concept, as well as require.js, and there seem to be a lot of intermediate steps missing that describe how to set up your require calls in order to correctly load and call the pjax project's dependencies. A simple example project with two html pages showing the basic pjax loading functionality would answer all these setup questions. Thank you.
MoOx commented 2015-02-25 01:42:16 -05:00 (Migrated from github.com)

This library is commonjs only (browserify, webpack).
If you want to use it in another env (amd, global) you will need to build a standalone build (using browseirfy --standalone Pjax index.js > Pjax.js)

This library is commonjs only (browserify, webpack). If you want to use it in another env (amd, global) you will need to build a standalone build (using `browseirfy --standalone Pjax index.js > Pjax.js`)
granicus422 commented 2015-02-25 16:08:24 -05:00 (Migrated from github.com)

Thank you. That was the exact information I needed. I find this library to be much more flexible than jquery-pjax, and making a standalone build of 0.1.4 works perfectly.

Thank you. That was the exact information I needed. I find this library to be much more flexible than jquery-pjax, and making a standalone build of 0.1.4 works perfectly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iLoveElysia/pjax#37