V1.2.0
Find leads based on open job vacanciesGet started278 Companies using basket.js
Want to download the entire list?
Enter your email and download the entire list of 278+ companies
How to use basket.js
basket.js
basket.js
-
Include
in your HTML file:basket.js
<script src="path/to/basket.js"></script>
-
Add the items you want to load to an array, specifying their URLs:
var items = [ '/path/to/script1.js', '/path/to/script2.js', '/path/to/style.css' ];
-
Tell
to fetch and execute the items:basket.js
basket.require({url:items}, function() { // Code to be executed after all items have been loaded });
This will fetch and execute the items in the order they appear in the array. If two items depend on each other, you can specify their dependencies like this:
var items = [ {url:'/path/to/script1.js', key:'dependency1'}, {url:'/path/to/script2.js', key:'dependency2', depends:['dependency1']} ];
In this example,
depends onscript2.js
, so it will not be executed untilscript1.js
has finished loading.script1.js
-
You can also use
to load items dynamically, for example in response to user input:basket.js
basket.require({url:'/path/to/newScript.js'}, function() { // Code to be executed after newScript.js has been loaded });
This will fetch and execute
only when it is required, and will not delay the loading of other items.newScript.js
basket.js
basket.js
Make your sales data-driven.
Website's technology stack, including its CMS, ecommerce platform, and payment processor, along with details about the industry, company and its contacts.
GDPR Compliant
CCPA Compliant
SOC2 Compliant
