Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • PeoplePods 0.9
  • Brackets Sprint 8
  • elFinder 2.0 RC1
  • BBClone 0.6.1
  • Twitter Follow Box...
  • Multilingual Press...
  • SimplePie 1.2.1
  • TinyTips 1.2
  • SWFUpload 2.2.0.1 ...
  • Head Cleaner 1.4.2.9
  • Home > Scripts > AJAX

    Yepnope 1.5.4

    Download button


    Downloads: 221  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Yepnope Development Team | More scripts
    yepnopejs.com
    Other Free / Open Source License - WTFPL License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    JavaScript
    April 17th, 2012, 14:05 GMT [view history]
    C: \ AJAX

     Read user reviews (0)  Refer to a friend  Subscribe

    Yepnope description

    This is an JavaScript asynchronous conditional resource loader to load only the scripts that the users need

    Its purpose is to speed up page load time.

    Documentation on how to use it is included in the project's README file, but the programmer basically includes under "yep" the scripts he wants to load at one point, and under "nope" the scripts he does not need for that moment.


    Here are some key features of "Yepnope":

    · yepnope.js is only 1.6kb - smaller than most and certainly a good size for its functionality set.
    · yepnope.js is called a "resource loader" because it can work with both JavaScript and CSS.
    · yepnope.js has a full test suite in QUnit that you can run in your set of supported browsers to make sure it works. (We run it via TestSwarm in every browser we can get our hands on)
    · yepnope.js fully decouples preloading from execution. This means that you have ultimate control of when your resource is executed and you can change that order on the fly.
    · The yepnope.js api is friendly and encourages logical grouping of resources.
    · yepnope.js is modular. It has a whole system for adding your own functionality and a couple examples of how you might do that. (Prefixes and filters).
    · The yepnope.js API encourages you to only load the resources that you need. This means that even when it's slower than another script loader, it still can come out on top, because you could avoid an entire resource.
    · yepnope.js is integrated into Modernizr.
    · yepnope.js always executes things in the order they are listed. This is a pro for some, and a con for others. We think it's a friendly default.
    · yepnope.js has the capability to do resource fallbacks and still download dependent scripts in parallel with the first.
    · yepnope.js always executes things in the order they are listed.

    Requirements:

    · JavaScript enabled on client side

    Limitations:

    · It is not always the fastest. There are a number of other script loaders (such as labjs) that optimize different situations than yepnope.

    What's New in This Release: [ read full changelog ]

    · Scripts with the same url don't reexecute, but their callbacks fire in the correct order.
    · The complete function behaves much more like the callback function with respect to 'recursive yepnope'.
    · CSS load callbacks were taken out by default and put in an official plugin. Too few people used it. Old code will still work, callbacks just fire immediately on CSS (unless css load plugin is included).
    · Exposed yepnope.injectJs and yepnope.injectCss in order to give you direct access to the injection functions.
    · Added the ability to use key/value pairs in prefixes.
    · Added a builtin prefix for overriding the global yepnope.errorTimeout with a specific timeout per script. yepnope('timeout=5000!script.js');
    · Smarten'd up detection of CSS files even if there are query parameters (without the use of the css prefix plugin).



    TAGS:

    AJAX loader | asynchronous loading | resource loader | AJAX | asynchronous | loader



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM