Skip to content

Commit

Permalink
FIX: query-bug
Browse files Browse the repository at this point in the history
Merges #7
  • Loading branch information
Ahmad Awais committed Sep 29, 2017
1 parent e79e9a9 commit 0365b62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion block/03-block-editable/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
var __ = wp.i18n.__; // The __() for internationalization.
var el = wp.element.createElement; // The wp.element.createElement() function to create elements.
var Editable = wp.blocks.Editable; // Editable component of React.
var children = wp.blocks.query.children; // The children() function to extract child nodes from a paragraph of rich text.
var children = wp.blocks.source.children; // The children() function to extract child nodes from a paragraph of rich text.
var registerBlockType = wp.blocks.registerBlockType; // The registerBlockType() to register blocks.

/**
Expand Down
2 changes: 1 addition & 1 deletion block/04-tweet/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
var __ = wp.i18n.__; // The __() for internationalization.
var el = wp.element.createElement; // The wp.element.createElement() function to create elements.
var Editable = wp.blocks.Editable; // Editable component of React.
var children = wp.blocks.query.children; // The children() function to extract child nodes from a paragraph of rich text.
var children = wp.blocks.source.children; // The children() function to extract child nodes from a paragraph of rich text.
var registerBlockType = wp.blocks.registerBlockType; // The registerBlockType() to register blocks.

/**
Expand Down

0 comments on commit 0365b62

Please sign in to comment.