This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
This file is based on the javascript.lang file of GtkSourceView. | |
It has additional Typescript keywords defined. | |
Author: Johannes Bergmann | |
Copyright (C) 2014 Johannes Bergmann | |
### | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ArrowFunctionDemo { | |
private text:string; | |
constructor(message:string) | |
{ | |
this.text = message; | |
// Doesn't work | |
var b1 = this.createButton("How are you? (Function reference)"); | |
b1.onclick = this.answer; | |
// works (Store this reference as 'self') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### Subroutines ### | |
# Prüft ob Pfad zu Bildern angegeben ist | |
assertCameraPathProvided() { | |
if [ -z "$1" ]; | |
then | |
echo "Pfad zu Bildern auf der Kamera wird als erstes Argument benötigt (z.B. /media/disk/DCIM/100_FUJI)" | |
end; |