fixed widgets recently added

preferencesAboutTextFull
Clément Fauconnier 6 years ago
parent d30479ded8
commit 16a2c9e942
  1. 0
      resources/library/applications/Calculator.wgt/.gitignore
  2. 14
      resources/library/applications/Calculator.wgt/Calculator.wgt/config.xml
  3. BIN
      resources/library/applications/Calculator.wgt/Calculator.wgt/icon.png
  4. 55
      resources/library/applications/Calculator.wgt/Calculator.wgt/index.html
  5. 0
      resources/library/applications/Calculator.wgt/Gruntfile.js
  6. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/._Calculator.wgt
  7. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/._.gitignore
  8. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/._Gruntfile.js
  9. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/._config.xml
  10. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/._css
  11. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/._dist
  12. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/._icon.png
  13. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/._index.html
  14. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/._js
  15. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/._legacy
  16. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/._package.json
  17. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/css/._calculator.css
  18. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/dist/._calculator.js
  19. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/._sankore.js
  20. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/._src
  21. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/._Sankore
  22. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/._Button.js
  23. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/._Calculator.js
  24. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/._Calculus
  25. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/._Command.js
  26. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/._Editor
  27. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/._KeystrokeLine.js
  28. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/._Text.js
  29. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/._UI
  30. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/._Util
  31. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/._klass.js
  32. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/Calculus/._Engine.js
  33. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/Calculus/._Expression.js
  34. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/Editor/._Editor.js
  35. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/Editor/._Layout.js
  36. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/UI/._EditorInterface.js
  37. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/UI/._MainInterface.js
  38. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/Util/._Error.js
  39. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/Util/._EventDispatcher.js
  40. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/Util/._Hash.js
  41. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/Util/._I18N.js
  42. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/Util/._i18n
  43. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/Util/i18n/._messages.en.js
  44. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/js/src/Sankore/Util/i18n/._messages.fr.js
  45. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/._css
  46. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/._images
  47. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/._js
  48. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/css/._ubwidget.css
  49. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._arrows_out
  50. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._arrows_over
  51. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._back.png
  52. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._back_small.png
  53. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._button_out-copie.png
  54. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._button_out.gif
  55. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._button_out.png
  56. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._button_out_dark.gif
  57. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._button_out_dark.png
  58. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._button_over.gif
  59. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._button_toggle.png
  60. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._button_toggle_invert.png
  61. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._buttons_shadow
  62. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._calculator
  63. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._display copy.png
  64. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._display.png
  65. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._historyback.png
  66. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._historytab.png
  67. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._historytabOver.png
  68. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._inspector.png
  69. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche0.png
  70. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche0_over.png
  71. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche0_over_down.png
  72. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche1.png
  73. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche1_over.png
  74. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche1_over_down.png
  75. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche2.png
  76. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche2_over.png
  77. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche2_over_down.png
  78. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche3.png
  79. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche3_over.png
  80. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche3_over_down.png
  81. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche4.png
  82. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche4_over.png
  83. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche4_over_down.png
  84. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche5.png
  85. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche5_over.png
  86. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche5_over_down.png
  87. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche6.png
  88. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche6_over.png
  89. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche6_over_down.png
  90. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche7.png
  91. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche7_over.png
  92. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche7_over_down.png
  93. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche8.png
  94. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche8_over.png
  95. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche8_over_down.png
  96. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche9.png
  97. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche9_over.png
  98. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touche9_over_down.png
  99. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touchec.png
  100. BIN
      resources/library/applications/Calculator.wgt/__MACOSX/Calculator.wgt/legacy/images/._touchec_over.png
  101. Some files were not shown because too many files have changed in this diff Show More

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:ub="http://uniboard.mnemis.com/widgets"
id="http://uniboard.mnemis.com/widgets/calculator"
version="1.1"
width="460"
height="418"
minimum_width="460"
minimum_height="418"
ub:resizable="true"
ub:transparent="true">
<name>Calculator</name>
<content src="index.html"/>
</widget>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

@ -1,55 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Unpredictable Calculator</title>
<script src="js/sankore.js" type="text/javascript"></script>
<script src="dist/calculator.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="css/calculator.css" />
</head>
<body>
<div id="ubwidget"></div>
<script type="text/javascript">
var unpredictable = false;
var c = Sankore.Calculator.create('ubwidget', {
locale: window.sankore ? window.sankore.locale() : 'fr_FR',
unpredictableMode: unpredictable,
ready: function () {
var self = this, state = {}, timer = null;
if (window.sankore) {
try {
state = JSON.parse(window.sankore.preference('state'));
} catch (e) {}
this.eventDispatcher.addEventSubscriber({
events: [
'calculator.output_changed', 'calculator.memory_changed', 'calculator.layout_changed',
'editor.layout_created', 'editor.layout_removed', 'editor.layout_changed', 'editor.button_selected',
'keystroke_line.changed'
],
listener: function () {
if (null !== timer) {
clearTimeout(timer);
}
timer = setTimeout(function() {
window.sankore.setPreference('state', JSON.stringify(self.getState()));
timer = null;
}, 350);
}
});
}
this.init(state);
}
});
</script>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save