Skip to content

Commit 3d122aa

Browse files
authored
Major refactor of annotator (#5)
* Whole bunch of work * Fix syntax error * Try and debug Chrome test failures on Travis * Use strictEqual for tests * Focus on just Firefox right now for Travis * Reintroduce CI flag for test * Move search to be more towards center of annotation for test * Move event testing to more center of annotations * Add chrome to test on Travis * Try and fix failing test on Chrome * Attempt to fix final broken tests in Chrome * Fix syntax error and add explanation of what I'm doing * Add case insensitivity to CI environment check * Test for string or boolean on environment flag * Move userId to be self-contained in LocalStoreAdapter
1 parent 67736fd commit 3d122aa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+80942
-62113
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ dist/pdf-annotate.js
99
dist/pdf-annotate.js.map
1010
dist/pdf-annotate.min.js
1111
dist/pdf-annotate.min.js.map
12+
.DS_Store
13+
.idea/

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ node_js:
77
- '10'
88

99
addons:
10+
chrome: stable
1011
firefox: latest
1112

1213
install:
@@ -17,7 +18,8 @@ before_script:
1718
- sh -e /etc/init.d/xvfb start
1819

1920
script:
20-
- npm run-script build
21+
- npm test
22+
- npm run build
2123

2224
#after_script:
2325
# - npm run coveralls

0 commit comments

Comments
 (0)