Commit 9d641ee0 authored by Andreas Gärtner's avatar Andreas Gärtner

Added requires to st2-app.js

parent 9feadcab
......@@ -20,11 +20,16 @@
+--------------------------------------------------------------------------*/
Ext.application({
requires: [ 'Ext.viewport.Viewport',
'ARSnova.view.CustomMessageBox',
'ARSnova.view.NumericKeypad',
'ARSnova.view.MathJaxField'
],
requires: [].concat(
/* custom ARSnova requires */
[ 'ARSnova.WebSocket', 'ARSnova.view.CustomMessageBox', 'ARSnova.view.NumericKeypad',
'ARSnova.view.MathJaxField', 'Ext.plugins.ResizableTextArea' ],
/* sencha lib requires */
[ 'Ext.viewport.Viewport', 'Ext.dataview.List', 'Ext.data.JsonStore', 'Ext.Label',
'Ext.SegmentedButton', 'Ext.field.Spinner', 'Ext.field.Toggle', 'Ext.draw.gradient.Linear',
'Ext.chart.CartesianChart', 'Ext.TitleBar' ]
),
startupImage: {
'320x460' : 'resources/images/ARSnova_Grafiken/03_Launchimage_320x460px.png', // iPhone (3.5" non-retina)
......
......@@ -22,6 +22,8 @@
Ext.define('ARSnova.view.FreetextAnswerPanel', {
extend: 'Ext.Panel',
requires: ['Ext.data.JsonStore'],
config: {
layout: 'vbox',
fullscreen: true,
......
......@@ -22,6 +22,8 @@ Ext.define('ARSnova.view.MatrixButton', {
alias: 'x-matrixbutton',
xtype: 'matrixbutton',
requires: ['Ext.Img'],
config: {
image: '',
cls: 'noBackground noBorder matrixButton',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment