Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Make the const declarations alphabetical
Browse files Browse the repository at this point in the history
Also, remove an empty file:
travel-angles/index.js
  • Loading branch information
kienstra committed Apr 3, 2019
1 parent 59a1154 commit 2e9c8b7
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion blocks/activity-list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
/**
* Internal block libraries.
*/
const { __ } = wp.i18n;
const { registerBlockType } = wp.blocks;
const { InspectorControls } = wp.editor;
const { ServerSideRender, TextControl, PanelBody } = wp.components;
const { Fragment } = wp.element;
const { __ } = wp.i18n;

const blockName = 'amp-travel/activity-list';

Expand Down
2 changes: 1 addition & 1 deletion blocks/featured/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
/**
* Internal block libraries.
*/
const { __ } = wp.i18n;
const { registerBlockType } = wp.blocks;
const { PanelBody, Placeholder, ServerSideRender, TextControl } = wp.components;
const { InspectorControls } = wp.editor;
const { Fragment } = wp.element;
const { __ } = wp.i18n;

const blockName = 'amp-travel/featured';
/**
Expand Down
2 changes: 1 addition & 1 deletion blocks/hero/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
/**
* Internal block libraries.
*/
const { __ } = wp.i18n;
const { registerBlockType } = wp.blocks;
const { RichText } = wp.editor;
const { __ } = wp.i18n;

/**
* Register block.
Expand Down
2 changes: 1 addition & 1 deletion blocks/popular/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
/**
* Internal block libraries.
*/
const { __ } = wp.i18n;
const { registerBlockType } = wp.blocks;
const { PanelBody, ServerSideRender, TextControl } = wp.components;
const { InspectorControls } = wp.editor;
const { Fragment } = wp.element;
const { __ } = wp.i18n;

const blockName = 'amp-travel/popular';

Expand Down
2 changes: 1 addition & 1 deletion blocks/search/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
/**
* Internal block libraries.
*/
const { __ } = wp.i18n;
const { registerBlockType } = wp.blocks;
const { RichText } = wp.editor;
const { __ } = wp.i18n;

/**
* Register block.
Expand Down
Empty file removed blocks/travel-angles/index.js
Empty file.

0 comments on commit 2e9c8b7

Please sign in to comment.