новые иконки в OpenBoard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
OpenBoard/resources/library/applications/Calculator.wgt/js/sankore.js

22 lines
568 B

/*jshint browser:true, devel:true*/
if (!('sankore' in window)) {
window.sankore = {
preferences: {
state: ''
},
setPreference: function (name, value) {
console.log('Preference "' + name + '" set to : ' + value);
this.preferences[name] = value;
},
preference: function (name) {
console.log('Accessing "' + name + '"');
return this.preferences[name] || '';
},
locale: function () {
return window.navigator.language;
}
};
}