Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
refactor(store): do not expose highlighting tags
Browse files Browse the repository at this point in the history
this now is an internal concern

BREAKING CHANGE:

HIGHLIGHT_PRE_TAG and HIGHLIGHT_POST_TAG are no longer exported.
  • Loading branch information
rayrutjes committed Aug 2, 2017
1 parent a3da2cd commit d3ee912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/instantsearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import {
FACET_AND,
FACET_OR,
FACET_TREE,
HIGHLIGHT_PRE_TAG,
HIGHLIGHT_POST_TAG,
createFromAlgoliaCredentials,
createFromAlgoliaClient,
createFromSerialized,
Expand Down Expand Up @@ -82,8 +80,6 @@ export {
FACET_AND,
FACET_OR,
FACET_TREE,
HIGHLIGHT_PRE_TAG,
HIGHLIGHT_POST_TAG,
createFromAlgoliaCredentials,
createFromAlgoliaClient,
createFromSerialized,
Expand Down
4 changes: 2 additions & 2 deletions src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export const FACET_AND = 'and';
export const FACET_OR = 'or';
export const FACET_TREE = 'tree';

export const HIGHLIGHT_PRE_TAG = '__ais-highlight__';
export const HIGHLIGHT_POST_TAG = '__/ais-highlight__';
const HIGHLIGHT_PRE_TAG = '__ais-highlight__';
const HIGHLIGHT_POST_TAG = '__/ais-highlight__';

export const assertValidFacetType = function(type) {
if (type === FACET_AND) return;
Expand Down

0 comments on commit d3ee912

Please sign in to comment.