Drupalgap
Entwicklung Mobiler Apps mit Drupal/Drupalgap/Cordova
Installation
Drupal 7.56 installieren
CKEditor Plugin
CKEditor Plugin
Fügt einen Custom Button dem CKEditor hinzu.
Bei Klick wird Custom Text eingefügt.
ckeditor/plugins/hello/plugin.js
IE ES5 Javascript Konvertierung
default contructors
IE kennt keine default Constructors
function appendLine(text="",color="#333")
------------------------------------------------------------------------------------
function appendLine(text,color){
if(!color||color=="undefined")color="#333";
if(!text||text=="undefined")text="";
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
SDL2 auf RaspberryPi2 B kompilieren
Für mein Projekt benötige ich SDL2 auf der RapsberryPI 2
ACHTUNG: Bug in SDL/Mixer wenn man WAV Dateien laden/abspielen möchte!
Fix: Bibliotheken neu erstellen und folgenden Patch für SDLMixer anwenden:
https://github.com/kripken/emscripten/issues/3985
http://pastebin.com/raw/iJwfCCzu
und danach das Verzeiuchnis SDL_mixer nach $EMSCRIPTEN/system/include/SDL kopieren (SDL_mixer.h)
Nun funktioniert alles wie es sollte ;-)