Skip to content

ScanThemes/jquery.optimizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

jquery.optimizer

Attempts to optimize your jQuery code on the fly.

Usage

Include your jQuery scripts in your page in the usual way, but instead of using type="text/javascript, use type="text/javascript+jquery:

<script src="foo.js" type="text/javascript+jquery"></script>

<script type="text/javascript+jquery">
  $.foo();
</script>

then, include the jquery.optimization.js script in your page as an ordinary Javascript resource, being careful to load it after all your jQuery scripts.:

<script src="jquery.optimizer.js" type="text/javascript"></script>

Optimizations

License

Released under the Apache License, Version 2.0

About

On-the-fly optimizations for jQuery-based code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.3%
  • HTML 12.7%