mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
- Removed everything grunt (the gettext stuff needs to be converted but was not using yet anyways). - Update angular-localForage to latest version, all API methords changed. - Added jshintrc for mocha.
17 lines
436 B
JavaScript
17 lines
436 B
JavaScript
require('localforage')
|
|
require('angular-localForage')
|
|
|
|
module.exports = angular.module('stf/settings', [
|
|
'LocalForageModule'
|
|
])
|
|
.config(['$localForageProvider', function ($localForageProvider) {
|
|
$localForageProvider.config({
|
|
name : 'stf-v0',
|
|
version : 1.0,
|
|
storeName : 'settings',
|
|
description : 'STF Local Settings'
|
|
})
|
|
|
|
}])
|
|
.factory('SettingsService', require('./settings-service'))
|