aerykk / ls-frontend-jquery

Drop-in jQuery replacement for the LemonStand frontend library.

Home Page:lemonstandapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ls-frontend-jquery

jQuery alternative to the front-end library for LemonStand.

Installation

  1. Remove <?= include_resources() ?> from your templates.
  2. Include jQuery first, then ls_frontend.js into your template.
  3. Include ls_frontend.css if you want default styles.
  4. Remove any references to jQuery.noConflict(). The $ (money) variable is required.

Example (upload files and change the appropriate paths)

<link href="<?= root_url('/') ?>resources/css/ls_frontend.css" rel="stylesheet" media="screen" />
<script src="<?= root_url('/') ?>resources/js/jquery-1.4.2.min.js"></script>
<script src="<?= root_url('/') ?>resources/js/ls_frontend.js"></script>

Technical

MooTools (language prototyping, class centric), is a much different library than jQuery (chaining, functional plugin centric). Compromises have been made to maintain backwards compatibility.

About

Drop-in jQuery replacement for the LemonStand frontend library.

lemonstandapp.com


Languages

Language:JavaScript 100.0%