Skip to content

Commit

Permalink
gnome-shell: use var for symbols we export
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
  • Loading branch information
Keruspe committed Sep 12, 2017
1 parent 5567c4e commit 56a81c2
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/gnome-shell/aboutItem.js
Expand Up @@ -9,7 +9,7 @@ const Lang = imports.lang;

const St = imports.gi.St;

const GPasteAboutItem = new Lang.Class({
var GPasteAboutItem = new Lang.Class({
Name: 'GPasteAboutItem',

_init: function(client, menu) {
Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/deleteButton.js
Expand Up @@ -12,7 +12,7 @@ const Lang = imports.lang;
const Clutter = imports.gi.Clutter;
const St = imports.gi.St;

const GPasteDeleteButton = new Lang.Class({
var GPasteDeleteButton = new Lang.Class({
Name: 'GPasteDeleteButton',

_init: function(client, index) {
Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/deleteItemPart.js
Expand Up @@ -14,7 +14,7 @@ const Me = ExtensionUtils.getCurrentExtension();

const DeleteButton = Me.imports.deleteButton;

const GPasteDeleteItemPart = new Lang.Class({
var GPasteDeleteItemPart = new Lang.Class({
Name: 'GPasteDeleteItemPart',

_init: function(client, index) {
Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/dummyHistoryItem.js
Expand Up @@ -12,7 +12,7 @@ const PopupMenu = imports.ui.popupMenu;

const _ = Gettext.domain('GPaste').gettext;

const GPasteDummyHistoryItem = new Lang.Class({
var GPasteDummyHistoryItem = new Lang.Class({
Name: 'GPasteDummyHistoryItem',
Extends: PopupMenu.PopupMenuItem,

Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/emptyHistoryItem.js
Expand Up @@ -9,7 +9,7 @@ const Lang = imports.lang;

const St = imports.gi.St;

const GPasteEmptyHistoryItem = new Lang.Class({
var GPasteEmptyHistoryItem = new Lang.Class({
Name: 'GPasteEmptyHistoryItem',

_init: function(client) {
Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/indicator.js
Expand Up @@ -32,7 +32,7 @@ const StateSwitch = Me.imports.stateSwitch;
const StatusIcon = Me.imports.statusIcon;
const UiItem = Me.imports.uiItem;

const GPasteIndicator = new Lang.Class({
var GPasteIndicator = new Lang.Class({
Name: 'GPasteIndicator',
Extends: PanelMenu.Button,

Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/item.js
Expand Up @@ -22,7 +22,7 @@ const Me = ExtensionUtils.getCurrentExtension();

const DeleteItemPart = Me.imports.deleteItemPart;

const GPasteItem = new Lang.Class({
var GPasteItem = new Lang.Class({
Name: 'GPasteItem',
Extends: PopupMenu.PopupMenuItem,

Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/pageItem.js
Expand Up @@ -10,7 +10,7 @@ const Signals = imports.signals;

const St = imports.gi.St;

const GPastePageItem = new Lang.Class({
var GPastePageItem = new Lang.Class({
Name: 'GPastePageItem',
Implements: [Signals.WithSignals],

Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/pageSwitcher.js
Expand Up @@ -21,7 +21,7 @@ const PageItem = Me.imports.pageItem;

const MAX_PAGES = 20;

const GPastePageSwitcher = new Lang.Class({
var GPastePageSwitcher = new Lang.Class({
Name: 'GPastePageSwitcher',
Extends: PopupMenu.PopupBaseMenuItem,

Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/searchItem.js
Expand Up @@ -11,7 +11,7 @@ const PopupMenu = imports.ui.popupMenu;

const St = imports.gi.St;

const GPasteSearchItem = new Lang.Class({
var GPasteSearchItem = new Lang.Class({
Name: 'GPasteSearchItem',
Extends: PopupMenu.PopupBaseMenuItem,

Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/stateSwitch.js
Expand Up @@ -12,7 +12,7 @@ const PopupMenu = imports.ui.popupMenu;

const _ = Gettext.domain('GPaste').gettext;

const GPasteStateSwitch = new Lang.Class({
var GPasteStateSwitch = new Lang.Class({
Name: 'GPasteStateSwitch',
Extends: PopupMenu.PopupSwitchMenuItem,

Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/statusIcon.js
Expand Up @@ -11,7 +11,7 @@ const PopupMenu = imports.ui.popupMenu;

const St = imports.gi.St;

const GPasteStatusIcon = new Lang.Class({
var GPasteStatusIcon = new Lang.Class({
Name: 'GPasteStatusIcon',

_init: function() {
Expand Down
2 changes: 1 addition & 1 deletion src/gnome-shell/uiItem.js
Expand Up @@ -11,7 +11,7 @@ const GPaste = imports.gi.GPaste;

const St = imports.gi.St;

const GPasteUiItem = new Lang.Class({
var GPasteUiItem = new Lang.Class({
Name: 'GPasteUiItem',

_init: function(menu) {
Expand Down

0 comments on commit 56a81c2

Please sign in to comment.