Skip to content

Commit

Permalink
Upgraded to latest client-core
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Jul 8, 2021
1 parent e3bedb9 commit 43afe32
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
17 changes: 9 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
"webpack-dev-server": "^3.11.2"
},
"dependencies": {
"@babel/polyfill": "^7.10.4",
"@recogito/recogito-client-core": "1.3.0",
"@recogito/recogito-client-core": "1.3.1",
"axios": "^0.21.1",
"preact": "^10.5.13",
"tiny-emitter": "^2.1.0"
Expand Down
4 changes: 0 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ import React from 'react';
import ReactDOM from 'react-dom';
import axios from 'axios';
import Emitter from 'tiny-emitter';
import '@babel/polyfill';
import {
WebAnnotation,
addPolyfills,
createEnvironment,
setLocale
} from '@recogito/recogito-client-core';
import TextAnnotator from './TextAnnotator';
import { deflateHTML } from './utils';

addPolyfills(); // Extra polyfills that babel doesn't include

import '@recogito/recogito-client-core/themes/default';

/**
Expand Down
Empty file added src/polyfills/index.js
Empty file.

0 comments on commit 43afe32

Please sign in to comment.