/gpump/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/gpump/trunk

« back to all changes in this revision

Viewing changes to src/main.js

  • Committer: Gustav Hartvigsson
  • Date: 2014-06-09 13:00:41 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20140609130041-mn6cn3ogqw22jsas
* made the functions look more alike...
  ie: more glib-ish...

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/gjs
2
2
 
3
 
imports.searchPath.unshift('.');
 
3
 
 
4
imports.searchPath.unshift('.', './src/');
4
5
const Application = imports.app;
5
6
 
6
7
function main (argv) {
7
 
  var app = new Application.Application ()
8
 
  return app.application.run(argv);
 
8
  var app = new Application.Application ();
 
9
  return app.run(argv);
9
10
}
10
11
 
11
12
main (ARGV);