8000 Lokkke by loke56 · Pull Request #1 · dnschnur/flot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Lokkke #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 246 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
246 commits
Select commit Hold shift + click to select a range
f17893e
Updated NEWS for the 0.8.3 release.
dnschnur Apr 21, 2014
453b017
Update version number to 0.8.3 final.
dnschnur Apr 21, 2014
3108772
fix a few trivial typos concerning "separation" and "command"
ukleinek Apr 29, 2014
958e5fd
Merge pull request #1299 from ukleinek/master
nschonni Apr 29, 2014
0fd613b
Update to engineering-flot
andrewdove1 Jan 31, 2019
889f7c9
Merge pull request #1594 from flot/merge-engineering-flot-into-flot
andrewdove1 Jan 31, 2019
c103524
npm builds
andrewdove1 Jan 31, 2019
08feb75
Merge pull request #1595 from flot/merge-engineering-flot-into-flot
andrewdove1 Jan 31, 2019
4fc1e5f
2.1.1
andrewdove1 Jan 31, 2019
b31ce51
Fix for #1588
jarekdobrzanski Feb 1, 2019
e68622e
Update jquery.flot.stack.js
Beakerboy Feb 1, 2019
827dce8
Merge pull request #1597 from flot/1480-reroll
Beakerboy Feb 1, 2019
78760d3
2.1.2
andrewdove1 Feb 4, 2019
1744d71
Merge branch 'master' of https://github.com/flot/flot
andrewdove1 Feb 4, 2019
f48261b
Fix npm deploy problem
andrewdove1 Feb 4, 2019
c5b8b33
2.1.3
andrewdove1 Feb 4, 2019
e51e21c
Fixing npm dist problem
andrewdove1 Feb 4, 2019
f2b9371
2.1.4
andrewdove1 Feb 4, 2019
b59be0f
Fixing npm deploy problem
andrewdove1 Feb 4, 2019
f464865
2.1.5
andrewdove1 Feb 4, 2019
3579e36
Fixing npm deploy issue
andrewdove1 Feb 4, 2019
a055d32
2.1.6
andrewdove1 Feb 4, 2019
04f8616
Use source code directly in examples
mure Feb 5, 2019
7df15f2
Merge pull request #1599 from flot/source-in-examples
andrewdove1 Feb 5, 2019
f41614e
Merge pull request #1596 from jarekdobrzanski/master
andrewdove1 Feb 5, 2019
a5cdcc0
Merge pull request #1 from flot/master
clavay Feb 6, 2019
82ae9f7
Remove errorbars from plot-legend exemple
clavay Feb 6, 2019
f60fee0
Merge pull request #1601 from clavay/master
andrewdove1 Feb 6, 2019
32e3cd5
Reintroducing logic for bar hovering
mure Feb 8, 2019
ea2a05c
Refactor points and bars into functions
mure Feb 11, 2019
f412f41
Merge pull request #1606 from flot/fix-bar-hover
mure Feb 11, 2019
aaece29
add pan mode options for mouse and touch interactions
EnyaoGu Feb 13, 2019
7682cf4
fixup! add pan mode options for mouse and touch interactions
EnyaoGu Feb 13, 2019
2cfaa67
fixup! add pan mode options for mouse and touch interactions
EnyaoGu Feb 13, 2019
07a8daa
Use 'manual' for non-smart pan mode and disable pan for invalid pan mode
EnyaoGu Feb 15, 2019
e2a37a3
Fix for #1605
Feb 15, 2019
183f022
Merge pull request #1610 from EnyaoGu/pan-mode
atmgrifter00 Feb 15, 2019
3c30c50
Merge pull request #1611 from jarekdobrzanski/master
atmgrifter00 Feb 15, 2019
e417fa5
Merge pull request #2 from flot/master
EnyaoGu Feb 21, 2019
1302079
fix display issue on iOS
popolan1986 Feb 26, 2019
3e3aee5
2.2.0 Added new pan mode options for mouse and touch interactions. Ad…
Feb 26, 2019
7ae73e9
Update CHANGELOG.md
Feb 26, 2019
f9dad46
Merge pull request #1618 from popolan1986/tlan/fix-display-issue-safari
atmgrifter00 Feb 26, 2019
0c2f013
2.2.1 Fixes display issue on iOS.
Mar 4, 2019
62b6897
Fix for error when changing axis to log when it has no data.
Mar 4, 2019
cbfa7c1
Merge pull request #1619 from flot/FixForLogAxisWithNoDataIssue
atmgrifter00 Mar 7, 2019
25d7d75
Pinch can have smart pan
EnyaoGu Mar 8, 2019
9fa2aeb
Pinch can be disable
EnyaoGu Mar 8, 2019
156a886
Add test
EnyaoGu Mar 8, 2019
229b9aa
Improve nevigate recenter behavior
EnyaoGu Mar 8, 2019
1c94143
Fix fail tests
EnyaoGu Mar 8, 2019
1215e3f
Create source distribution
andrewdove1 Mar 11, 2019
c4ef9b0
Merge pull request #1623 from flot/create-source-distribution
atmgrifter00 Mar 11, 2019
762128f
Allow all touch events bubble
EnyaoGu Mar 12, 2019
9d5b9c2
Rename relate function
EnyaoGu Mar 12, 2019
a9a6dab
Removed creation of intermediate datapoints from trailing step algorithm
Yarrgon Feb 20, 2019
73b076b
Removed leftover 'console.log' used for debugging
Yarrgon Mar 12, 2019
498a8cd
Added tests for the trailing step interpolation
Yarrgon Mar 12, 2019
988582d
Added microsecond support to jquery.flot.time.js
Yarrgon Mar 6, 2019
a92f998
unified the test names, added quarter-second and quarter-millisecond …
Yarrgon Mar 12, 2019
4cdf1ec
Improve test coverage
EnyaoGu Mar 13, 2019
f21e384
Rename flag isUnsupportedGesture; Add option to control origin event …
EnyaoGu Mar 19, 2019
b94698f
Fix test and update doc.
EnyaoGu Mar 19, 2019
cb5b936
Update docs
EnyaoGu Mar 19, 2019
c33af74
fixup! Update docs
EnyaoGu Mar 19, 2019
88d7f02
Use zoom.enableTouch to enable/disable pinch
EnyaoGu Mar 19, 2019
c484d61
Give up smart pinch move; fix test.
EnyaoGu Mar 19, 2019
1f4f9df
Move the option into pan.allowRecenter
EnyaoGu Mar 19, 2019
c305dca
Keep activate plot on double click behavior
EnyaoGu Mar 19, 2019
dc79666
fixup! Keep activate plot on double click behavior
EnyaoGu Mar 19, 2019
10044c2
fixup! Fix test and update doc.
EnyaoGu Mar 19, 2019
9b25b36
Small fixes
EnyaoGu Mar 19, 2019
8fd66d5
fixup! Small fixes
EnyaoGu Mar 19, 2019
24e3690
fixup! Fix test and update doc.
EnyaoGu Mar 19, 2019
0d525d4
Merge disable pinch option
EnyaoGu Mar 19, 2019
a11a25b
Renamed 'timesta(m)ps' to 'ticks' in tests
Yarrgon Mar 19, 2019
e77cfde
Merge recenter option
EnyaoGu Mar 19, 2019
d61056e
Fix test
EnyaoGu Mar 19, 2019
536406f
Merge branch 'allowTouchEventBubble' into improveNavigation
EnyaoGu Mar 19, 2019
32cd2a8
Cant write a working test for origin touch event propagration
EnyaoGu Mar 19, 2019
eabf7d0
Merge branch 'allowTouchEventBubble' into improveNavigation
EnyaoGu Mar 19, 2019
a4cf4b2
Added documentation about microsecond support and time bases in API.md
Yarrgon Mar 19, 2019
888e83e
Add requested changes to jquery.flot.time.js
Yarrgon Mar 19, 2019
47338a9
Merge pull request #1624 from jxcr0w/microsecond
atmgrifter00 Mar 19, 2019
40c247d
Merge pull request #1617 from jxcr0w/steps
atmgrifter00 Mar 19, 2019
a02d96e
Migrating a drag event fix.
Mar 19, 2019
d18bc29
Back track recenter option; Rename touch preventEventBehaviors.
EnyaoGu Mar 20, 2019
cfe03c4
Add more tests
EnyaoGu Mar 20, 2019
3928684
Merge pull request #1629 from flot/atmgrifter00/dragEventFix
atmgrifter00 Mar 20, 2019
b698fbf
2.3.0 Adding microseconds as option for timeBase setting for axis. Va…
< 8000 span class="description"> Mar 20, 2019
6ab1326
Update flot version in jquery.flot.js
clavay Mar 20, 2019
752e45a
Move 'tap' declaration
Mar 20, 2019
4184622
Merge pull request #1631 from flot/FixForHoverPluginError
atmgrifter00 Mar 20, 2019
bbf52a9
2.3.1 Fix error when using hover plugin from minified source.
Mar 20, 2019
95847ee
Rename propagateSupportedGesture
EnyaoGu Mar 21, 2019
64bbc39
Refactor microsecond implementation to fix es5 build
Mar 21, 2019
7ff6e94
fix legend label issue
Mar 21, 2019
76c584e
Merge pull request #1632 from brianehenry/master
atmgrifter00 Mar 21, 2019
fdfdfed
2.3.2 Fixing issue with extending the Date class causing problems wit…
Mar 21, 2019
86bc4eb
Merge pull request #1628 from EnyaoGu/improveNavigation
atmgrifter00 Mar 22, 2019
119b938
3.0.0 BREAKING CHANGE: Setting pan: { enableTouch: true } will no lon…
Mar 22, 2019
6961882
Update jquery.flot.js
clavay Mar 22, 2019
1ebcf97
Moved file-exist and files-exist to dev dependencies
Mar 26, 2019
0449bf5
Removed file-exist from dependencies
Mar 26, 2019
51e6513
Merge pull request #1636 from brianehenry/master
atmgrifter00 Mar 26, 2019
6390429
3.0.1 Moving some dependencies to be dev dependencies.
Mar 26, 2019
4a102a4
Fix memory leak in hover plugin
Mar 29, 2019
c73f401
Merge pull request #1639 from brianehenry/master
atmgrifter00 Apr 2, 2019
c3322f5
3.0.2 Fix memory leak in hover plugin.
Apr 2, 2019
006ec68
Merge pull request #1634 from wxd00d/master
atmgrifter00 Apr 18, 2019
13d97ff
Merge pull request #1630 from clavay/patch-1
atmgrifter00 Apr 18, 2019
f15724b
Also trigger onDrawingDone on the placeholder
EnyaoGu May 16, 2019
532eb50
fixup! Also trigger onDrawingDone on the placeholder
EnyaoGu May 16, 2019
ad9ffdc
Use Number coercion to fix the issue that Math.pow() may lose precision
EnyaoGu May 16, 2019
6847aa9
fixup! Use Number coercion to fix the issue that Math.pow() may lose …
EnyaoGu May 16, 2019
c11848f
fixup! Use Number coercion to fix the issue that Math.pow() may lose …
EnyaoGu May 16, 2019
84bab75
Add doc for new event
EnyaoGu May 21, 2019
0742744
Follow comments
EnyaoGu May 23, 2019
a3bec33
fix css CORS issue
Walster May 27, 2019
58fd1f2
add comments
Walster May 27, 2019
26a8ded
Merge pull request #1649 from EnyaoGu/fix-math-pow
atmgrifter00 May 28, 2019
c148225
Merge pull request #1648 from EnyaoGu/trigger-onDrwingDone
atmgrifter00 May 28, 2019
2b8b4b8
disable create cors link multiple times
Walster May 28, 2019
2229dae
fix dependencies, add gulp process step
Walster May 29, 2019
f572bfb
fix test
Walster May 30, 2019
6494cde
revert back uglify
Walster May 30, 2019
f63f718
fix fillbetween test case
Walster May 30, 2019
3b2d717
Merge pull request #1651 from Walster/zhaoren/fix-css-CORS-issue
atmgrifter00 May 30, 2019
f33fd25
3.1.0 Introducing a second event for when drawing is done that origin…
May 31, 2019
6c6ed7e
fix cssRule issue on Safari
Walster Jun 1, 2019
2902b3f
update if case
Walster Jun 1, 2019
a44ab5b
use same statenment
Walster Jun 3, 2019
0145fb2
remove console log
Walster Jun 3, 2019
d12422d
update throwed error
Walster Jun 3, 2019
775a579
fix lint
Walster Jun 3, 2019
ee00861
add getCORSCss test
Walster Jun 3, 2019
0e8fe35
add comment
Walster Jun 3, 2019
0f2e6cc
add one expect item
Walster Jun 3, 2019
ae8ca1e
Merge pull request #1652 from Walster/zhaoren/fix-Safari-cssRule-issue
atmgrifter00 Jun 4, 2019
f125f59
3.1.1 Fixing issue on Safari with loading cross domain style sheets.
Jun 4, 2019
c652303
Create FAQ.md
mure Jun 5, 2019
f05f817
Refactor hover so events get registered in the proper order
andrewdove1 Jun 7, 2019
de3b3c3
Merge pull request #1655 from flot/faq
mure Jun 10, 2019
e872274
Merge pull request #1656 from flot/flot-pie-chart-bug395
atmgrifter00 Jun 10, 2019
708c60e
Fix issue #1642 (#1657)
andrewdove1 Jun 12, 2019
bf09cf3
Add categories to build (#1659)
andrewdove1 Jun 12, 2019
5c5f5f7
Fixed microsecond issue. (#1660)
Jun 13, 2019
73f19e5
Reset to 1 (#1665)
Jun 13, 2019
106d2c1
Explicity perform null check on bar hover index (#1644)
Jun 13, 2019
5ad3298
Reverting changes for loading CORS stylesheets (PRs 1651 and 1652) (#…
Jun 13, 2019
f86930d
Fix compute bar width (#1663)
andrewdove1 Jun 18, 2019
1b4a880
3.2.0 Adding categories as part of the distribution again. Reverting …
Jun 18, 2019
df95f6b
Update CHANGELOG.md
Jun 18, 2019
9d2a1d6
Update snap range to ticks behavior (#1667)
atmgrifter00 Jun 26, 2019
e0cd57e
3.2.1 Fix for range snapping to values when axis autoScale set to 'lo…
Jun 26, 2019
9141ccc
Fix problem where optimizing changes outcome
andrewdove1 Jun 28, 2019
4567ce5
Merge pull request #1670 from flot/findnearbybar-bug
andrewdove1 Jun 28, 2019
7586ebf
3.2.2
andrewdove1 Jun 28, 2019
dd748e4
Fix for setting selection mode to null to turn it off (#1673)
andrewdove1 Jul 18, 2019
2474cfc
3.2.3 Setting selection mode to 'null' will now turn it off.
Jul 18, 2019
4a53bf8
Remove unused script tags form examples
andrewdove1 Jul 19, 2019
1906a2a
Fix problem when cssrules throw exception (#1680)
andrewdove1 Jul 29, 2019
2b6a3e8
3.2.4 We now catch exceptions thrown from CORS request for style shee…
Jul 29, 2019
cce851a
Skip NaNs when drawing lines (#1681)
atmgrifter00 Aug 1, 2019
7d32fa7
3.2.5 Introducing gaps into line rendering of plots when NaNs are enc…
Aug 1, 2019
cdcb390
Merge pull request #1675 from flot/cleanup-script-tags
andrewdove1 Aug 2, 2019
876b2d6
Refactor to capture plot (#1683)
mure Aug 8, 2019
3ab5f30
3.2.6 Fix issue with hover-plugin keeping some improper global state.
Aug 8, 2019
75e1b73
Turn object literal into function (#1684)
mure Aug 8, 2019
a92e72f
3.2.7 Fixing broken distribution after recent change to hover plugin.
Aug 8, 2019
a4bb1d2
Bug fix for transforms of text (#1685)
andrewdove1 Aug 16, 2019
5d74949
Changed which hook clears tooltip
andrewdove1 Aug 16, 2019
3bf9c77
Undo unintended change
andrewdove1 Aug 16, 2019
fb9c377
Move when reset happens
andrewdove1 Aug 16, 2019
184b674
Added the orig 8000 inal way of visualizing the selection as an option. (#1…
jxcr0w Aug 16, 2019
4079114
Added back noColumns property
andrewdove1 Aug 16, 2019
edfc3d2
Add test
andrewdove1 Aug 19, 2019
90ad7e9
Removed f
andrewdove1 Aug 19, 2019
8172fdf
Remove initial min distance calculation between first two points
mure Aug 19, 2019
22d5616
Fix for hozontal bar spacing
andrewdove1 Aug 19, 2019
6b1d596
Merge pull request #1687 from flot/reinstate-nocolumns
andrewdove1 Aug 19, 2019
8e44769
Merge pull request #1689 from flot/horizontal-bar-fix
andrewdove1 Aug 19, 2019
f2404b6
Merge pull request #1688 from flot/bar-width-null-fix
andrewdove1 Aug 20, 2019
6e40768
Added test and changed how refresh works
andrewdove1 Aug 20, 2019
2c0ee33
Merge pull request #1686 from flot/fix-plot-hover-refresh
andrewdove1 Aug 20, 2019
b6c14ba
3.2.8
andrewdove1 Aug 20, 2019
c0ca0c8
Need process data points for when setData is called
andrewdove1 Aug 21, 2019
32279c6
Oops - in master
andrewdove1 Aug 21, 2019
45880a0
Make work for both setData and redo plot
andrewdove1 Aug 21, 2019
e132a97
Merge pull request #1690 from flot/more-hover-fixes
andrewdove1 Aug 21, 2019
5383a42
3.2.9
andrewdove1 Aug 21, 2019
9933d3e
Fix undefined variable error
sandermarechal Aug 27, 2019
42e8341
Update jquery.flot.legend.js (#1699)
atmgrifter00 Sep 24, 2019
8320f47
3.2.10 Fixing up a local declaration.
Sep 24, 2019
d1fef61
Update jquery.flot.selection.js (#1705)
atmgrifter00 Oct 14, 2019
3e64b3b
3.2.11 Fixing issue with selection plugin being used with in conjunct…
Oct 14, 2019
40a3c5d
Fix selection plugin (#1712)
atmgrifter00 Oct 14, 2019
f2d1a93
3.2.12 Minor fix to selection plugin to remove unneeded line.
Oct 14, 2019
681038f
Fixed issue with inconsistent millisecond values on microsecond dates…
Oct 15, 2019
1b6bc01
3.2.13 Fixing issue #1707, where microsecond formatting wasn't behavi…
Oct 15, 2019
260d87f
Added panRange and zoomRange limits
Oct 22, 2019
15c3143
Set default and allow for undefined (no range limits)
netbymatt Oct 23, 2019
7ffed2f
Fix plot.pan range check
netbymatt Oct 23, 2019
97a65ba
Plot and zoom limits
netbymatt Oct 23, 2019
6223aca
Fix tests for large numbers
Oct 23, 2019
2deaf82
Allow user defined tickFormatter for time axis
Oct 25, 2019
de13200
Fix bar hovering for stacked charts (#1697)
mure Oct 29, 2019
2b1d59e
4.0.0 Creating a new major release as we have introduced a change tha…
Oct 29, 2019
f0b5a91
based on changes in flot/flot#1387
tszulc Oct 31, 2019
dd5ef72
Copied from another fork and updated per comments (#1661)
andrewdove1 Nov 5, 2019
68b1fd3
4.1.0 Introducing new hook that allows users to extend the default be…
Nov 5, 2019
efb67df
Clear pie chart hover highlights on mouseleave (#1723)
mure Nov 13, 2019
00ee823
4.1.1 Clearing pie chart hover highlights on mouse leave.
Nov 21, 2019
f12a8ff
Add a configuration option to determine if the selection decorations …
jkeck Dec 5, 2019
fd1eb6a
ReferenceError when using fillbetween (#1727)
Black-Mantha Dec 6, 2019
41e39ea
Cancel jQuery animation queue on hover off
slominskir Jan 2, 2020
8016b7a
Update index.html
thmo Jan 29, 2020
8000
7deabae
Merge pull request #1736 from thmo/patch-1
andrewdove1 Feb 4, 2020
c7863f9
Merge pull request #1732 from slominskir/patch-1
andrewdove1 Feb 4, 2020
265c52a
Merge pull request #1728 from Black-Mantha/master
andrewdove1 Feb 4, 2020
c74c540
Merge pull request #1726 from jkeck/add-config-for-selection-handles
andrewdove1 Feb 4, 2020
7af0b13
Merge pull request #1722 from tszulc/bugfix-resize-event-dependancy-r…
andrewdove1 Feb 4, 2020
1055d6b
Merge pull request #1716 from netbymatt/pan-zoom-limits
andrewdove1 Feb 4, 2020
ad0d2dd
Merge pull request #1696 from sandermarechal/patch-1
andrewdove1 Feb 4, 2020
a96ffe4
Better tickFormatter function detection
Feb 4, 2020
a752b55
Merge pull request #1718 from netbymatt/time-axis-tick-formatter
andrewdove1 Feb 4, 2020
23ed4c6
Fixed eslint configuration and fixed errors (#1738)
Feb 4, 2020
d246af5
Removed webcharts-development-settings dependency (#1737)
Feb 4, 2020
ec31c27
4.2.0
andrewdove1 Feb 4, 2020
45516c4
Fixed multi line SVG text spacing (#1741)
Feb 7, 2020
20355f4
Don't show y-axis endpoints for horizontal bar charts (#1757)
mure May 6, 2020
b6ca777
4.2.1 Fixing issue with displaying y-axis endpoint ticks on horizonta…
May 6, 2020
dd601e7
3rd coord should swap axes when bars are horizontal (#1776)
mure Mar 16, 2021
d0f569a
4.2.2 Fixing issue with computing auto-scaled range for horizontal ba…
Mar 16, 2021
370cf6e
Fix null reference (#1785)
tomkooij Jul 16, 2021
53615af
Attempt to remove problem dependency. (#1813)
atmgrifter00 Jul 28, 2022
0429a1e
Fix time plugin not to skip ticks & Avoid infinite loop when using mi…
7PH Aug 1, 2022
de34ce9
4.2.3 Fix issue with ticks not being generated in the right location
atmgrifter00 Aug 1, 2022
5e8cfd5
Fix drawSeries step mode to connect last two points when middle point…
vsambor Jan 20, 2023
2af356c
4.2.4 fixes issue with step rendering not connecting last point with …
atmgrifter00 Jan 20, 2023
52d7429
Update node version for Travis CI.
atmgrifter00 Jul 20, 2023
78715ad
Update test dependencies/fix tests.
atmgrifter00 Jul 25, 2023
5399a41
Fix package.json file.
atmgrifter00 Jul 25, 2023
6514ca5
Update test dependencies, and fix intermittent tests.
atmgrifter00 Jul 25, 2023
91f925d
Mark a test as intermittent.
atmgrifter00 Jul 25, 2023
84f3e5d
Force new version for deployment.
atmgrifter00 Jul 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# This configuration was automatically generated from a CircleCI 1.0 config.
# It should include any build commands you had along with commands that CircleCI
# inferred from your project structure. We strongly recommend you read all the
# comments in this file to understand the structure of CircleCI 2.0, as the idiom
# for configuration has changed substantially in 2.0 to allow arbitrary jobs rather
# than the prescribed lifecycle of 1.0. In general, we recommend using this generated
# configuration as a reference rather than using it in production, though in most
# cases it should duplicate the execution of your original 1.0 config.
version: 2
jobs:
build:
working_directory: ~/flot/flot
parallelism: 1
shell: /bin/bash --login
# CircleCI 2.0 does not support environment variables that refer to each other the same way as 1.0 did.
# If any of these refer to each other, rewrite them so that they don't or see https://circleci.com/docs/2.0/env-vars/#interpolating-environment-variables-to-set-other-environment-variables .
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
# In CircleCI 1.0 we used a pre-configured image with a large number of languages and other packages.
# In CircleCI 2.0 you can now specify your own image, or use one of our pre-configured images.
# The following configuration line tells CircleCI to use the specified docker image as the runtime environment for you job.
# We have selected a pre-built image that mirrors the build environment we use on
# the 1.0 platform, but we recommend you choose an image more tailored to the needs
# of each job. For more information on choosing an image (or alternatively using a
# VM instead of a container) see https://circleci.com/docs/2.0/executor-types/
# To see the list of pre-built images that CircleCI provides for most common languages see
# https://circleci.com/docs/2.0/circleci-images/
docker:
- image: circleci/build-image:ubuntu-14.04-XXL-upstart-1189-5614f37
command: /sbin/init
steps:
# Machine Setup
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# The following `checkout` command checks out your code to your working directory. In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should be checked out.
- checkout
# Prepare for artifact and test results collection equivalent to how it was done on 1.0.
# In many cases you can simplify this from what is generated here.
# 'See docs on artifact collection here https://circleci.com/docs/2.0/artifacts/'
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
# This is based on your 1.0 configuration file or project settings
- run:
working_directory: ~/flot/flot
command: nvm install 8.2.0 && nvm alias default 8.2.0
# Dependencies
# This would typically go in either a build or a build-and-test job when using workflows
# Restore the dependency cache
- restore_cache:
keys:
# This branch if available
- v1-dep-{{ .Branch }}-
# Default branch if not
- v1-dep-master-
# Any branch if there are none on the default branch - this should be unnecessary if you have your default branch configured correctly
- v1-dep-
# This is based on your 1.0 configuration file or project settings
- run: sudo apt-get update
- run: sudo apt-get install libpango1.0-0
- run: sudo apt-get install firefox
- run: sudo ln -sf /usr/lib/firefox/firefox /usr/bin/firefox
- run: curl -s https://raw.githubusercontent.com/chronogolf/circleci-google-chrome/master/use_chrome_stable_version.sh | bash
- run: node --version
- run: npm --version
- run: npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
# The following line was run implicitly in your 1.0 builds based on what CircleCI inferred about the structure of your project. In 2.0 you need to be explicit about which commands should be run. In some cases you can discard inferred commands if they are not relevant to your project.
- run: if [ -z "${NODE_ENV:-}" ]; then export NODE_ENV=test; fi
- run: export PATH="~/flot/flot/node_modules/.bin:$PATH"
- run: npm install
# This is based on your 1.0 configuration file or project settings
- run: npm install -g dont-break
- run: npm run build
# Save dependency cache
- save_cache:
key: v1-dep-{{ .Branch }}-{{ epoch }}
paths:
# This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries
- vendor/bundle
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.bundle
- ~/.go_workspace
- ~/.gradle
- ~/.cache/bower
- ./node_modules
# Test
# This would typically be a build job when using workflows, possibly combined with build
# This is based on your 1.0 configuration file or project settings
- run: npm run dont-break
# Teardown
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# Save test results
- store_test_results:
path: /tmp/circleci-test-results
# Save artifacts
- store_artifacts:
path: /tmp/circleci-artifacts
- store_artifacts:
path: /tmp/circleci-test-results
7 changes: 7 additions & 0 deletions .dont-break.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
"https://github.com/ni-kismet/flot-cursors-plugin",
"https://github.com/ni-kismet/flot-intensitygraph-plugin",
"https://github.com/ni-kismet/flot-charting-plugin",
"https://github.com/ni-kismet/webcharts",
"https://github.com/ni-kismet/webcharts-legends"
]
185 changes: 185 additions & 0 deletions .eslintrc.json
BD94
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
{
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
},
"sourceType": "module"
},

"env": {
"es6": true,
"node": true,
"browser": true,
"jquery": true,
"jasmine": false
},

"plugins": [
"standard",
"promise"
],

"globals": {
"nationalInstruments": true,
"describe": true,
"beforeEach": false,
"afterEach": false,
"beforeAll": false,
"afterAll": false,
"after": true,
"it": true,
"xit": true,
"expect": false,
"fail": false,
"inject": false,
"spyOn": true,
"testHelpers": true,
"BigNumber": true,
"Globalize": false,
"document": false,
"navigator": false,
"window": false
},

"rules": {
"accessor-pairs": "error",
"arrow-spacing": ["error", { "before": true, "after": true }],
"block-spacing": ["error", "always"],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"camelcase": ["error", { "properties": "never" }],
"comma-dangle": ["error", "never"],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last"],
"constructor-super": "error",
"curly": ["error", "multi-line"],
"dot-location": ["error", "property"],
"eol-last": "error",
"eqeqeq": ["error", "always", { "null": "ignore" }],
"func-call-spacing": ["error", "never"],
"generator-star-spacing": ["error", { "before": true, "after": true }],
"handle-callback-err": ["error", "^(err|error)$" ],
"indent": ["error", 4, { "SwitchCase": 1 }],
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
"keyword-spacing": ["error", { "before": true, "after": true }],
"new-cap": ["warn", { "newIsCap": true, "capIsNew": false }],
"new-parens": "error",
"no-array-constructor": "error",
"no-caller": "error",
"no-class-assign": "error",
"no-cond-assign": "error",
"no-const-assign": "error",
"no-constant-condition": ["error", { "checkLoops": false }],
"no-control-regex": "error",
"no-debugger": "error",
"no-delete-var": "error",
"no-dupe-args": "error",
"no-dupe-class-members": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"no-empty-character-class": "error",
"no-empty-pattern": "error",
"no-eval": "error",
"no-ex-assign": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-boolean-cast": "error",
"no-extra-label": "error",
"no-extra-parens": ["error", "functions"],
"no-fallthrough": "error",
"no-floating-decimal": "error",
"no-func-assign": "error",
"no-global-assign": "error",
"no-implied-eval": "error",
"no-inner-declarations": ["error", "functions"],
"no-invalid-regexp": "error",
"no-irregular-whitespace": "error",
"no-iterator": "error",
"no-label-var": "error",
"no-labels": ["error", { "allowLoop": false, "allowSwitch": false }],
"no-lone-blocks": "error",
"no-mixed-operators": ["error", {
"groups": [
["==", "!=", "===", "!==", ">", ">=", "<", "<="],
["&&", "||"],
["in", "instanceof"]
],
"allowSamePrecedence": true
}],
"no-mixed-spaces-and-tabs": "error",
"no-multi-spaces": "error",
"no-multi-str": "error",
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0 }],
"no-negated-in-lhs": "error",
"no-new": "error",
"no-new-func": "error",
"no-new-object": "error",
"no-new-require": "error",
"no-new-symbol": "error",
"no-new-wrappers": "error",
"no-obj-calls": "error",
"no-octal": "error",
"no-octal-escape": "error",
"no-path-concat": "error",
"no-proto": "error",
"no-redeclare": "error",
"no-regex-spaces": "error",
"no-return-assign": ["error", "except-parens"],
"no-self-assign": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-shadow-restricted-names": "error",
"no-sparse-arrays": "error",
"no-tabs": "error",
"no-template-curly-in-string": "error",
"no-this-before-super": "error",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-undef": "off",
"no-undef-init": "error",
"no-unexpected-multiline": "error",
"no-unmodified-loop-condition": "error",
"no-unneeded-ternary": ["error", { "defaultAssignment": false }],
"no-unreachable": "error",
"no-unsafe-finally": "error",
"no-unsafe-negation": "error",
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
"no-unused-vars": ["error", { "vars": "all", "args": "none" }],
"no-use-before-define": ["error", { "functions": false, "classes": false, "variables": false }],
"no-useless-call": "error",
"no-useless-computed-key": "error",
"no-useless-constructor": "error",
"no-useless-escape": "error",
"no-useless-rename": "error",
"no-useless-return": "error",
"no-whitespace-before-property": "error",
"no-with": "error",
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }],
"operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before" } }],
"padded-blocks": ["error", { "blocks": "never", "switches": "never", "classes": "never" }],
"prefer-promise-reject-errors": "error",
"rest-spread-spacing": ["error", "never"],
"semi-spacing": ["error", { "before": false, "after": true }],
"space-before-blocks": ["error", "always"],
"space-in-parens": ["error", "never"],
"space-infix-ops": "error",
"space-unary-ops": ["error", { "words": true, "nonwords": false }],
"symbol-description": "error",
"template-curly-spacing": ["error", "never"],
"template-tag-spacing": ["error", "never"],
"unicode-bom": ["error", "never"],
"use-isnan": "error",
"valid-typeof": ["error", { "requireStringLiterals": true }],
"wrap-iife": ["error", "any", { "functionPrototypeMethods": true }],
"yield-star-spacing": ["error", "both"],
"yoda": ["error", "never"],

"standard/object-curly-even-spacing": ["error", "either"],
"standard/array-bracket-even-spacing": ["error", "either"],
"standard/computed-property-even-spacing": ["error", "even"],

"promise/param-names": "error"
}
}
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.min.js
!excanvas.min.js
node_modules/
debug.log
coverage/**
dist/
.vscode
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*

!dist/*
!lib/*
!docs/*
!source/*
!CHANGELOG.md
39 changes: 38 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
dist: trusty
language: node_js
node_js:
- 0.8
- '10'
addons:
firefox: latest
chrome: stable
cache:
directories:
- node_modules
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g greenkeeper-lockfile@1
- npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
before_script:
- greenkeeper-lockfile-update
- sudo chown root /opt/google/chrome/chrome-sandbox
- sudo chmod 4755 /opt/google/chrome/chrome-sandbox
after_script:
- greenkeeper-lockfile-upload
before_deploy:
- tar -tf $(npm pack)
install:
- npm install
script:
- npm test
- npm run build
- npm run coverage
env:
secure: mkyiKGXQ8wkx4kSi/x7kProXE76E2Ix5xP+xHAcTpMhsFJYsyFE8LR8wC7UWxg80nbww6P1mWpJkMPm2QnWW8OSuKh9pF2bluTU7VAf68JHROA55FZauO0NgLWxF1tog/RLaTXBzoqXBx5+Zlcp2jl4UdsDSIr/1TogSEC7hV3dMiqzTsiC09RnAgtGsUfzDjCGVgyz2yDBMCoi+kfzJiRz7f1dW5GxhUypuV4jjEXTt1V6XrIA0C/uD27LP+kswHadMT6HURPiWEJteKNFz6hnfXttF1XmTwW++kzahDoap607oLszz+g8ss/9F0ILyO3tffyKnoEOImJLogvLUm3slxfHvh9PYh7x8oyPHFtfs7QAJ5Q2Cr23VvwJNslkuNCphEsQJS/HQ70VuSF6MlGrhbsLGp8kEFZrXADqojkGQ/duPk3QykiXUaUxr0uPEllptOLh5TTKYarRM/IVv4kE5iC4egJXouKxwwL5LIglnyCTycEdTLv/IUfYap8ABqi20eBm+AJGk44Z72fl+G/xoPrzbtVosQfPbuLurVJHHDDExHM3bFqfUNnB9xIEwWTihSc6ycI7IhuMQlg1G1t5rRY5YyVQN/4oP4k6qNgYbJs9PrxfyMw7Z+dSg/L2SyJbc/ReNiFkvpTNDYGY/dULvx1uGM1NGdmC+z+nljfk=
deploy:
provider: npm
skip_cleanup: true
email: webapps.ops@ni.com
api_key:
secure: kJyDLyReYLVr01TidziatIzTk1GpTvGLQo7XLAQReDemRkN13905TaYPsrl5IMnkLfk6RaizbCscx7z1MGi3P/U+2DC10OE4pbnUVrcCZLX9RPqLmVgVWxX+pPH+Mu3Td/Ay7CYeNdo031Lufxbc+m0kGlVnMyPBwctU36ES+OI=
on:
tags: true
repo: flot/flot
Loading
0