Skip to content

Commit

Permalink
Merge ca7d63f into c90c42f
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMayer committed Feb 19, 2017
2 parents c90c42f + ca7d63f commit ecfde52
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/demo/media/demo_2d_backdrop_red_pot.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ require.config({
waitSeconds: 30, // default: 7 seconds
paths: {
'jquery': '../../dependencies/jquery',
'CometvisuClient': '../../lib/CometVisuClient',
'CometVisuClient': '../../lib/CometVisuClient',
'TransformDefault': '../../transforms/TransformDefault',
'TransformKnx': '../../transforms/TransformKnx'
}
});

require([
'jquery', 'cometvisu-client', 'TransformDefault', 'TransformKnx'
'jquery', 'CometVisuClient', 'TransformDefault', 'TransformKnx'
], function( jq, CometVisu ) {
"use strict";

var
thisGA = '12/7/52',
thisTransform = 'DPT:5.001',
visu = new CometVisu('cgi-bin');
visu = new CometVisu('default');

visu.update = function( json ) // overload the handler
{
Expand All @@ -34,4 +34,5 @@ require([

visu.user = 'demo_user'; // example for setting a user
visu.subscribe( [thisGA] );
visu.login();
});

0 comments on commit ecfde52

Please sign in to comment.