mirror of
https://github.com/wassname/mad.git
synced 2026-09-09 11:26:26 +08:00
v3.0.0
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
settings.controller('SettingsController', ['$scope',
|
||||
function($scope){
|
||||
$scope.currentSettings = bkg.settings;
|
||||
$scope.numberList = [1,2,3,4,5,6,7,8,9,10];
|
||||
$scope.yesNo = [true,false];
|
||||
|
||||
|
||||
$scope.changeItem = function(item){
|
||||
console.log("selected" + item);
|
||||
};
|
||||
|
||||
$scope.settingChanged = function(){
|
||||
chrome.storage.sync.set({'settings': $scope.currentSettings}, function(){
|
||||
console.log('settings saved');
|
||||
})
|
||||
};
|
||||
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user