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
<!-- | |
This file is an empty template for your own properties-local.xml file. Pleas | |
e follow the instructions here: | |
http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties | |
--> | |
<properties xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:oxf="http://www.orbeon.com/oxf/processors"> | |
<!-- use PostgreSQL --> |
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
<!-- | |
orbeon.xml - Tomcat context for orbeon | |
--> | |
<Context | |
docBase="/home/karl/software/orbeon/orbeon.war" | |
reloadable="false" | |
override="true" | |
allowLinking="true" | |
> |
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
/* | |
* Deployes dart packages. | |
* | |
* Takes the dart packages in directory | |
* /source/dir/packages/... | |
* which is configured in the configuration files build.json, | |
* i.e. | |
* {"packages-dir": "/source/dir(packages"} | |
* | |
* and copies them to the directory |
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
import "dart:async"; | |
import "dart:html"; | |
import "package:dartkart/dartkart.dart"; | |
main() { | |
var map = new MapViewport("#demo-map"); | |
map | |
..zoom = 8 | |
..center = new LatLon(46.8, 8); | |
var source = | |
"http://a.tile.openstreetmap.org/" |
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
import "dart:html"; | |
main() { | |
var canvas = query("#evt-source"); | |
var out = query("#dy"); | |
canvas.on.mouseWheel.add((event) { | |
// deltaY has different sign in Dartium and in Firefox running JS generated | |
// by dart2js | |
// deltaY from Dartium == - (deltaY in Firefox) | |
// |
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
// Alternative 1 - unsafe | |
function isUndefined(val) { | |
// undefined is a global variable, not a language keyword or a constant | |
// somebody could have reassigned it to, say, "foobar"! | |
// | |
return val === undefined; | |
} | |
// Alternative 2 - safe | |
function isUndefined(val) { |