Commit 8e8d4fb7 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Use EventEmitter. Updated Jasmine Tests and html files to include EventEmitter.js

parent 1fc7f5c8
......@@ -89,11 +89,7 @@ module.exports = function (grunt) {
expand: true,
dest: typo3_js,
flatten: true
}
]
},
jquery_devel: {
files: [
},
{
cwd: 'bower_components/jquery/dist/',
src: [
......@@ -115,11 +111,7 @@ module.exports = function (grunt) {
expand: true,
dest: typo3_js,
flatten: true
}
]
},
jquery_tablesorter_devel: {
files: [
},
{
cwd: 'bower_components/tablesorter/dist/js/',
src: [
......@@ -194,6 +186,28 @@ module.exports = function (grunt) {
dest: 'css/'
}
]
},
eventEmitter: {
files: [
{
cwd: 'bower_components/eventEmitter/',
src: [
'EventEmitter.min.js'
],
expand: true,
dest: typo3_js,
flatten: true
},
{
cwd: 'bower_components/eventEmitter/',
src: [
'EventEmitter.min.js'
],
expand: true,
dest: 'js/',
flatten: true
}
]
}
},
uglify: {
......@@ -285,6 +299,7 @@ module.exports = function (grunt) {
vendor: [
'js/jquery.min.js',
'js/bootstrap.min.js',
'js/EventEmitter.min.js',
'js/jqx-all.js',
'js/qfq.debug.js'
],
......
......@@ -19,6 +19,7 @@
"dependencies": {
"bootstrap": "~3.3.6",
"jqwidgets": "*",
"tablesorter": "jquery.tablesorter#^2.25.6"
"tablesorter": "jquery.tablesorter#^2.25.6",
"eventEmitter": "^4.3.0"
}
}
......@@ -17,6 +17,7 @@
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/EventEmitter.min.js"></script>
<script src="../js/qfq.debug.js"></script>
<script>
......
......@@ -175,6 +175,7 @@
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jqx-all.js"></script>
<script src="../js/EventEmitter.min.js"></script>
<script src="../js/qfq.debug.js"></script>
<script type="text/javascript">
$(function () {
......
......@@ -11,6 +11,7 @@
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jqx-all.js"></script>
<script src="../js/EventEmitter.min.js"></script>
<script src="../js/qfq.debug.js"></script>
<script type="text/javascript">
var qfqPage = new QfqNS.QfqPage({
......
......@@ -34,6 +34,7 @@
</form>
<script src="../js/jquery.min.js"></script>
<script src="../js/EventEmitter.min.js"></script>
<script src="../js/qfq.debug.js"></script>
<script>
......
......@@ -140,9 +140,10 @@
</section>
<script src="../packages/jquery/js/jquery.min.js"></script>
<script src="../packages/bootstrap/js/bootstrap.min.js"></script>
<script src="../packages/jqwidgets/js/jqx-all.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jqx-all.js"></script>
<script src="../js/EventEmitter.min.js"></script>
<script src="../js/qfq.debug.js"></script>
<script type="text/javascript">
$(function () {
......
......@@ -759,6 +759,7 @@
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jqx-all.js"></script>
<script src="../js/EventEmitter.min.js"></script>
<script src="../js/qfq.debug.js"></script>
<script type="text/javascript">
$(function () {
......
......@@ -104,6 +104,7 @@
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jqx-all.js"></script>
<script src="../js/EventEmitter.min.js"></script>
<script src="../js/qfq.debug.js"></script>
<script type="text/javascript">
$(function () {
......
......@@ -61,6 +61,7 @@
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jqx-all.js"></script>
<script src="../js/EventEmitter.min.js"></script>
<script src="../js/qfq.debug.js"></script>
<script type="text/javascript">
$(function () {
......
......@@ -18,6 +18,7 @@
<pre id="display"></pre>
<script src="../js/jquery.min.js"></script>
<script src="../js/EventEmitter.min.js"></script>
<script src="../js/qfq.debug.js"></script>
<script>
......
......@@ -14,8 +14,9 @@
<script src="lib/jasmine-2.4.1/boot.js"></script>
<script src="helper/mock-ajax.js"></script>
<script src="../../packages/jquery/js/jquery.min.js"></script>
<script src="../../packages/bootstrap/js/bootstrap.min.js"></script>
<script src="../../js/jquery.min.js"></script>
<script src="../../js/bootstrap.min.js"></script>
<script src="../../js/EventEmitter.min.js"></script>
<!-- include source files here... -->
<script src="../../js/qfq.debug.js"></script>
......
Supports Markdown
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