This repository contains JavaScript artifacts that are shared between the different Salesforce Mobile SDK repositories. For more information, please check out the Salesforce Mobile SDK for Android, or the Salesforce Mobile SDK for iOS Hybrid.
Contains all the SalesforceMobileSDK JavaScript libraries.
cordova.force.js
Contains all the Cordova plugins for the SalesforceMobileSDK (oauth / smartstore / sdkinfo). Includes this library after cordova.js in your HTML application.
force.js
Library to do REST API calls from JavaScript.
force+files.js
Library to do file related REST API calls from JavaScript.
force+promise.js
Library to do REST API calls from JavaScript using promises instead of callbacks.
smartsync.js
Contains the SmartSync data library. This library depends on force.js and cordova.force.js. It also requires underscore and backbone.
Contains all the tests for the SalesforceMobileSDK JavaScript libraries.
test.html
HTML page to run the tests outside the container.
MockCordova.js, MockSDKInfo.js, MockSmartStore.js, MockSmartSyncPlugin.js
Libraries used to mock the container when running tests directly in a browser.
SFTestSuite.js, SFAbstractSmartStoreTestSuite.js
Super class of test suites.
SFSmartStoreTestSuite.js, SFLSmartStoreLoadTestSuite.js
Test suites for SmartStore.
SFSmartSyncTestSuite.js
Test suite for SmartSync library.