js/main.js
author Markus Bröker<broeker.markus@googlemail.com>
Sat, 12 Dec 2015 12:32:14 +0100
changeset 26 77b1d5c1ccf1
parent 7 3ed6f90e97d9
child 43 682bd6e707ef
permissions -rw-r--r--
PHPStorm Dateien werden entfernt
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
4869aea77e21 Bröker-Framework BFW-1
Markus Bröker <broeker.markus@googlemail.com>
parents:
diff changeset
     1
function route(url) {
4869aea77e21 Bröker-Framework BFW-1
Markus Bröker <broeker.markus@googlemail.com>
parents:
diff changeset
     2
    window.location.href = url;
4869aea77e21 Bröker-Framework BFW-1
Markus Bröker <broeker.markus@googlemail.com>
parents:
diff changeset
     3
}
4869aea77e21 Bröker-Framework BFW-1
Markus Bröker <broeker.markus@googlemail.com>
parents:
diff changeset
     4
4869aea77e21 Bröker-Framework BFW-1
Markus Bröker <broeker.markus@googlemail.com>
parents:
diff changeset
     5
$(document).ready(function () {
7
3ed6f90e97d9 Überarbeitete MVC-Struktur, die ich jetzt auch nachvollziehen kann.
Markus Bröker <broeker.markus@googlemail.com>
parents: 0
diff changeset
     6
    tinymce.init({selector: '.tiny-mce textarea'});
0
4869aea77e21 Bröker-Framework BFW-1
Markus Bröker <broeker.markus@googlemail.com>
parents:
diff changeset
     7
});