Skip to content

highruned/ls-frontend-jquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published