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

Undefined properties and variables in JavaScript code #16

Open
Edenhofer opened this issue Jun 17, 2017 · 0 comments
Open

Undefined properties and variables in JavaScript code #16

Edenhofer opened this issue Jun 17, 2017 · 0 comments

Comments

@Edenhofer
Copy link

Edenhofer commented Jun 17, 2017

Some variables are not properly declared in JavaScript and GNOME therefore logs some undesirable warnings.
Excerpt from journalctl:

DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/extension.js 376]: reference to undefined property Shell.ActionMode.MESSAGE_TRAY
DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/wikipedia_result_view.js 146]: reference to undefined property this._wikipedia_page.url
DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/wikipedia_page.js 233]: reference to undefined property pageprops.page_image
DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/wikipedia_page.js 126]: reference to undefined property page_data.images
DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/extension.js 311]: assignment to undeclared variable x
DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/extension.js 311]: assignment to undeclared variable y

I am using gnome-shell version 3.24.2, Linux version 4.11.5 and X as window system. The extension version is the one which is currently available at http://extensions.gnome.org.

@Edenhofer Edenhofer changed the title Undefined property and variables in JavaScript code Undefined properties and variables in JavaScript code Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant