Files
stf-DeviceFarmer-1/res/app/components/stf/settings/index.js
Gunther Brunner a260aa2cf8 - Updated almost all dev dependencies.
- 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.
2014-03-20 19:26:48 +09:00

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'))