Giter VIP home page Giter VIP logo

bdajax's Introduction

Conestack

This package contains the constack organization docs and a setup for working on packages of this organization.

Install System dependencies (Debian/Ubuntu):

$ make dependencies

Install development environment:

$ make project-install

Build docs:

$ make docs

Run tests:

$ make test

Cleanup development environment:

$ make project-clean

Cleanup development environment including sources directory:

$ make project-full-clean

Happy hacking!

bdajax's People

Contributors

agitator avatar chaoflow avatar jensens avatar rnixx avatar thet avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bdajax's Issues

Move ``document.ready`` calls to the end of all JS resources

When loading JavaScript with <script src="..." async="async"/> then those are loaded while the DOM tree is still parsed and eventually afterwards. document.ready is thrown when the DOM tree is loaded and eventually before the async scripts are finished loading.
Currently bdajax and the shop bundles are not ready to be loaded asynchronously because document.ready is always loaded on top of the JavaScript resources - before the code they try to initialize is actually loaded.

With async loading, this line errors with Cannot set "spinner" on undefined (or similar):
https://github.com/bluedynamics/bdajax/blob/master/src/bdajax/resources/bdajax.js#L20

The whole document.ready needs to be moved to to the end of the script before })(jQuery); in line 798. For bdajax and all other shop scripts.

Then async="async" works nicely.

Moving ajax-* divs in a different section

Currently there some divs (ajax-form,ajax-overlays.etc) defined in bdajax.pt. They are put into the template inside

. Unfortunately some diazo's templates may remove that section, so I wonder if it is possible to move them in a different place (maybe the content div?) or use METAL to fill up a template slot.

Make used overlay implementation pluggable

Currently, bdajax:overlay uses the overlay implementation from jquerytools. We should wrap bdajax internal overlay calls into a dedicated API and make the concrete overlay implementation pluggable. Thus some can use the overlay/dialog implementation from bootstrap, jqueryui, jquerytools, etc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.