Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix eslint in gmf apps #3305

Merged
merged 1 commit into from
Dec 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
- node_modules/.bin/eslint contribs/gmf/src || true
- node_modules/.bin/eslint contribs/gmf/examples || true
- node_modules/.bin/eslint contribs/gmf/test || true
- node_modules/.bin/eslint contribs/gmf/apps || true
- node_modules/.bin/eslint contribs/gmf/apps

- stage: Build
env:
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/apps/appmodule.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ goog.provide('app');

goog.require('gmf');

goog.require('ngeo.utils');
goog.require('ngeo.utils.module');
goog.require('gmf.search.module');
goog.require('gmf.authentication.module');
Expand Down
3 changes: 3 additions & 0 deletions contribs/gmf/apps/default.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
goog.require('ngeo');
goog.require('gmf');

const urlElements = window.location.pathname.split('/');

const gmfUrlElements = urlElements.slice(0, urlElements.length - 3);
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/apps/desktop/js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ goog.require('ngeo.proj.EPSG21781');

/** @suppress {extraRequire} */
goog.require('ngeo.googlestreetview.component');
goog.require('ol');


/**
Expand Down
2 changes: 2 additions & 0 deletions contribs/gmf/apps/desktop_alt/js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
goog.provide('app.desktop_alt.Controller');

goog.require('app');
goog.require('gmf');
goog.require('gmf.AbstractDesktopController');
/** @suppress {extraRequire} */
goog.require('gmf.importdatasourceComponent');
Expand All @@ -17,6 +18,7 @@ goog.require('ngeo.proj.EPSG21781');

/** @suppress {extraRequire} */
goog.require('ngeo.googlestreetview.component');
goog.require('ol');


gmf.module.value('ngeoQueryOptions', {
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/apps/mobile/js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ goog.require('gmf.AbstractMobileController');
goog.require('ngeo.proj.EPSG2056');
/** @suppress {extraRequire} */
goog.require('ngeo.proj.EPSG21781');
goog.require('ol');


/**
Expand Down
28 changes: 0 additions & 28 deletions contribs/gmf/apps/mobile_alt/default.js

This file was deleted.

1 change: 1 addition & 0 deletions contribs/gmf/apps/mobile_alt/js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ goog.require('gmf.AbstractMobileController');
goog.require('ngeo.proj.EPSG2056');
/** @suppress {extraRequire} */
goog.require('ngeo.proj.EPSG21781');
goog.require('ol');


/**
Expand Down
28 changes: 0 additions & 28 deletions contribs/gmf/apps/oeedit/default.js

This file was deleted.

1 change: 1 addition & 0 deletions contribs/gmf/apps/oeedit/js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ goog.require('gmf.Themes');
goog.require('ngeo.ToolActivate');
/** @suppress {extraRequire} */
goog.require('ngeo.ToolActivateMgr');
goog.require('ol');
goog.require('ol.Collection');
goog.require('ol.layer.Vector');
goog.require('ol.source.Vector');
Expand Down
28 changes: 0 additions & 28 deletions contribs/gmf/apps/oeview/default.js

This file was deleted.

1 change: 1 addition & 0 deletions contribs/gmf/apps/oeview/js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ goog.require('gmf.AbstractDesktopController');
goog.require('ngeo.proj.EPSG2056');
/** @suppress {extraRequire} */
goog.require('ngeo.proj.EPSG21781');
goog.require('ol');


/**
Expand Down