Skip to content

Commit

Permalink
turned on q deploy stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
stevewirts committed Jul 13, 2015
1 parent 05cdbf2 commit 283d5c9
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -680,32 +680,32 @@ <h3>fin-hypergrid-behavior-gol</h3> This element is another custom Polymer web c
// // initialize our custom cell renderer
jsonGrid.initializeCellEditor('fin-hypergrid-cell-editor-prompt');

// if (!window.fin) {
// if (this.logging) {
// console.log('could not launch q because we are not running inside the OpenFin container');
// }
// return;
// } else {
// fin.desktop.main(function() {

// var qTreeGrid = document.querySelector('#qtree-example');

// //get it's table model
// var qTreeModel = qTreeGrid.getBehavior();

// fin.desktop.System.launchExternalProcess({
// alias: 'qhypertree',
// target: 'starthypertree.cmd',
// arguments: '',
// listener: function(event){
// console.log(event);
// }
// });
// setTimeout(function(){
// qTreeModel.reconnect();
// }, 2000);
// });
// }
if (!window.fin) {
if (this.logging) {
console.log('could not launch q because we are not running inside the OpenFin container');
}
return;
} else {
fin.desktop.main(function() {

var qTreeGrid = document.querySelector('#qtree-example');

//get it's table model
var qTreeModel = qTreeGrid.getBehavior();

fin.desktop.System.launchExternalProcess({
alias: 'qhypertree',
target: 'starthypertree.cmd',
arguments: '',
listener: function(event){
console.log(event);
}
});
setTimeout(function(){
qTreeModel.reconnect();
}, 2000);
});
}

});
})();
Expand Down

0 comments on commit 283d5c9

Please sign in to comment.