dojo/gears

Deprecated since Google Gears has been deprecated by Google.

A small adapter testing the presence of and providing an instance of a Google Gears factory. Exports a global google.gears object if present.

Example

require(["dojo/gears", "dojo/ready"], function(gears, ready){
    ready(function(){
        if(gears.available){
            // safe to assume google.gears.factory is a gears factory
        }
    });
});

Table of Contents

Error in the documentation? Can’t find what you are looking for? Let us know!