Skip to content
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

Need help i dont understand #229

Open
wants to merge 439 commits into
base: branch2.0
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
439 commits
Select commit Hold shift + click to select a range
e27cd1a
Merge pull request #421 from suzyh/animation-id
dstoc Mar 29, 2016
c109fa9
Merge pull request #420 from alancutter/timingCleaning
dstoc Mar 29, 2016
0e705ca
Use of hyphens in property names is deprecated
ericwilligers Mar 29, 2016
b183b98
Merge pull request #419 from ericwilligers/deprecate-hyphens
dstoc Mar 29, 2016
4a59f7c
easingFunction
alancutter Apr 5, 2016
6a2f700
Fix test
alancutter Apr 5, 2016
0851345
Updated Home (markdown)
alancutter Apr 5, 2016
010986e
Updated Home (markdown)
alancutter Apr 5, 2016
3ee1ec5
Merge pull request #423 from alancutter/easingFunction
dstoc Apr 5, 2016
7fbb958
explain npm publish
samthor Apr 6, 2016
5b27e0a
Updated Home (markdown)
alancutter Apr 6, 2016
f1b5ec5
easingTypeError
alancutter Apr 4, 2016
878194a
Update test
alancutter Apr 5, 2016
fb7d3d4
timingTypeErrors
alancutter Apr 7, 2016
e09d715
Remove test file
alancutter Apr 7, 2016
da7cdd2
Matrix decomposition: support angle units grad and turn
ericwilligers Apr 15, 2016
fb701cb
Merge pull request #427 from ericwilligers/rotation-units
alancutter Apr 15, 2016
bd0e54f
Review changes
alancutter Apr 18, 2016
8aafdcf
Remove double call to normalizeTimingInput()
alancutter Apr 20, 2016
baaa3d9
Merge pull request #433 from alancutter/removeDoubleNormalise
suzyh Apr 20, 2016
6be5b10
Test review changes
alancutter Apr 20, 2016
7ec73f5
Merge pull request #426 from alancutter/timingTypeErrors
suzyh Apr 20, 2016
83c9090
Increase Bezier timing function accuracy
ericwilligers Apr 18, 2016
28c1277
Merge pull request #428 from ericwilligers/increase-bezier-accuracy
alancutter Apr 21, 2016
33c71e2
Add try-catch guard to object-form loading check
suzyh Apr 27, 2016
94ecad7
Rewrite object-form load check and add comment
suzyh Apr 27, 2016
7d9e50a
Response to review
suzyh Apr 27, 2016
1871bfe
Merge pull request #434 from suzyh/object-form-try-guard
alancutter Apr 28, 2016
271e364
Add missing 2.2.0 version history
alancutter Apr 28, 2016
a67d7af
deprecatedTesting
alancutter Apr 28, 2016
b83173b
No double nesting
alancutter Apr 28, 2016
d557e06
Merge pull request #437 from alancutter/deprecatedTesting
alancutter Apr 28, 2016
a429de4
Merge pull request #436 from alancutter/history2.2.0
alancutter Apr 28, 2016
3e9fb27
create2.2.1
alancutter Apr 28, 2016
39f6798
Updated Home (markdown)
alancutter Apr 28, 2016
d10ce67
Merge pull request #438 from alancutter/create2.2.1
alancutter Apr 28, 2016
bea41fe
ignoreTestHtml
alancutter Apr 28, 2016
2631dff
Merge pull request #435 from alancutter/ignoreTestHtml
alancutter Apr 28, 2016
8c2dc35
Updated Home (markdown)
alancutter Apr 28, 2016
4c37271
addCatch
alancutter Apr 28, 2016
b06478e
Merge pull request #439 from alancutter/addCatch
ewilligers Apr 28, 2016
13b43d5
Test that cancelling animation clears nested effect
ericwilligers May 4, 2016
d22d54f
Merge pull request #441 from ericwilligers/test-clear-nested-effect
alancutter May 4, 2016
ad333a6
Remove references to window.document.timeline
ericwilligers May 4, 2016
217c8d9
Merge pull request #442 from ericwilligers/window.document.timeline
alancutter May 4, 2016
015703d
removeTTFs
alancutter May 5, 2016
cdc7b22
Merge pull request #443 from alancutter/removeTTFs
ewilligers May 5, 2016
12a668e
addPeerDependency
alancutter May 5, 2016
6c74b1a
cleanUpClean
alancutter May 5, 2016
d6d1ff5
Use ES5
alancutter May 5, 2016
d40bf54
cleanInter
alancutter May 5, 2016
2373e5a
Merge pull request #444 from alancutter/addPeerDependency
ewilligers May 5, 2016
e34ab76
Test visibility-handler
ericwilligers May 6, 2016
6684423
Merge pull request #447 from ericwilligers/testing-visibility-handler
alancutter May 6, 2016
fc3b49b
Merge pull request #445 from alancutter/cleanUpClean
ewilligers May 10, 2016
d57d625
Merge pull request #446 from alancutter/cleanInter
ewilligers May 10, 2016
dfad3d1
Create debug task for grunt
alancutter May 10, 2016
4c5d4e9
Merge pull request #448 from alancutter/gruntDebugTask
suzyh May 12, 2016
3c739e5
updateLinter
alancutter May 12, 2016
63198de
Merge remote-tracking branch 'wiki/master' into addContributingMd
alancutter May 16, 2016
4c2e44c
Rename wiki to Contributing
alancutter May 16, 2016
d27ed33
Merge pull request #457 from alancutter/addContributingMd
suzyh May 16, 2016
2486ed8
wptSubmodule
alancutter May 13, 2016
ef82304
Redirect imported Blink tests to WPT resources directory
alancutter May 16, 2016
ac3564e
Mention submodule update in docs
alancutter May 16, 2016
d91551f
testharnessAdapter
alancutter May 13, 2016
dbc362b
Lint
alancutter May 13, 2016
fc49ddb
Update Travis' node version
alancutter May 14, 2016
44671f3
Add error messages that serve as documentation
alancutter May 14, 2016
5f9849b
comment
alancutter May 14, 2016
0628f4e
More documentation
alancutter May 14, 2016
eb57245
Update failure expectations
alancutter May 14, 2016
d13df42
Revert "Update failure expectations"
alancutter May 14, 2016
a23df94
Use submodule resources
alancutter May 16, 2016
dd1a31f
Update docs
alancutter May 16, 2016
df49426
Merge pull request #450 from alancutter/moveTestharness
suzyh May 16, 2016
fe64149
Valid SPDB license expression
ericwilligers May 16, 2016
0187451
Make manual Blink tests work when served from Karma
alancutter May 17, 2016
194dbcd
Review changes
alancutter May 17, 2016
1dc25fd
Review changes
alancutter May 17, 2016
f205a37
Make flaky mean pass/fail
alancutter May 17, 2016
563f5cb
Sub lists
alancutter May 17, 2016
32c2ab6
Merge pull request #456 from alancutter/testharnessAdapter
suzyh May 17, 2016
a78f254
travisFirefoxStable
alancutter May 17, 2016
4c99e9e
Merge pull request #458 from ewilligers/valid-SPDX-license-expression
alancutter May 17, 2016
dced088
testFiles
alancutter May 26, 2016
c3658a2
Don't start browsers for debugging
alancutter May 26, 2016
e3afc13
How do links work?
alancutter May 26, 2016
2184179
Validate [object Object] serialisation expectations
alancutter May 26, 2016
d505639
Merge pull request #454 from alancutter/updateLinter
suzyh May 27, 2016
0feabd8
Merge pull request #459 from alancutter/travisFirefoxStable
suzyh May 27, 2016
1608786
Merge pull request #461 from alancutter/testFiles
suzyh May 27, 2016
045e373
Merge pull request #462 from alancutter/objectObjectExpectations
suzyh May 27, 2016
6fedbfa
sizeUpdate
alancutter May 26, 2016
27d733f
Update contributing
alancutter May 26, 2016
48524a1
Merge pull request #460 from alancutter/sizeUpdate
suzyh May 27, 2016
01ca5e6
updateExpectations
alancutter Jun 6, 2016
fdb831b
debugFailures
alancutter Jun 6, 2016
a0536c9
lint
alancutter Jun 6, 2016
0549ba1
redirectWPT
alancutter Jun 3, 2016
75e1827
Add flaky expectations back
alancutter Jun 6, 2016
2db6ea0
Working without expectations
alancutter Jun 3, 2016
9fc3b24
testTargetMinJs
alancutter Jun 13, 2016
f065725
Update travis test script
alancutter Jun 13, 2016
3e08d7a
enableSourceMapsInKarma
alancutter Jun 14, 2016
4d954c3
min.js
alancutter Jun 15, 2016
38f07ba
Added comment
alancutter Jun 15, 2016
4378852
Merge pull request #467 from alancutter/updateExpectations
suzyh Jun 15, 2016
2aff5b7
Merge pull request #466 from alancutter/debugFailures
suzyh Jun 15, 2016
b89ed43
Merge pull request #465 from alancutter/redirectWPT
suzyh Jun 15, 2016
5d41633
Merge pull request #468 from alancutter/testWPTSubset
suzyh Jun 15, 2016
250d5d6
Merge pull request #469 from alancutter/enableSourceMapsInKarma
suzyh Jun 15, 2016
4034002
Replicate KeyframeEffectModelBase::ensureInterpolationEffectPopulated…
alancutter Jun 14, 2016
d0a4471
lint
alancutter Jun 15, 2016
3a241ba
Merge pull request #470 from alancutter/fixApplyFromTo
suzyh Jun 24, 2016
71647e7
Throw appropriate TypeErrors
alancutter Jun 14, 2016
495bd65
Throw moar type errors
alancutter Jun 14, 2016
e62cf1e
Remove debugging statements
alancutter Jun 14, 2016
45d7aac
Update unit test
alancutter Jun 14, 2016
ba12393
Use Symbol
alancutter Jun 29, 2016
589c40a
Review changes
alancutter Jul 11, 2016
17382c3
Skip _easingFunction
alancutter Jul 11, 2016
1382cc6
Make everything better
alancutter Jul 22, 2016
0ff392f
Add early linear check
alancutter Jul 22, 2016
f8d8bf7
Update comment
alancutter Jul 22, 2016
3753c60
Merge pull request #471 from alancutter/throwMoarTypeErrors
alancutter Jul 22, 2016
a8be434
Remove unused _isCurrent function
alancutter Jul 25, 2016
853d61c
Merge pull request #473 from alancutter/removeIsCurrent
suzyh Jul 25, 2016
fb9e59d
Do the fixings
alancutter Jul 26, 2016
2d50f47
Prevent cubic bezier from infinite-looping
suzyh Jul 26, 2016
667eba2
Update expectations for finish.html
alancutter Jul 26, 2016
c83039c
Merge pull request #476 from suzyh/effect-easing-break-loop
alancutter Jul 26, 2016
bc1b2e2
Update expectations for effect-easing-steps.html
suzyh Jul 26, 2016
245aaa2
Merge pull request #478 from suzyh/effect-easing-steps-expectations
alancutter Jul 26, 2016
5eae142
Do not animate 'display' or animation/transition properties.
ericwilligers Jul 26, 2016
1bc45f1
Merge pull request #475 from alancutter/throwReversePlayInfiniteDuration
suzyh Jul 27, 2016
e7041fc
Merge pull request #474 from ewilligers/display-not-animated
alancutter Jul 27, 2016
2ffa141
Ensure idle animations become paused if seeked.
suzyh Jul 28, 2016
46f41d1
Merge pull request #479 from suzyh/play-state
alancutter Jul 28, 2016
1d5b687
maek fix
alancutter Jul 29, 2016
d6afe7b
Naming
alancutter Jul 29, 2016
e44d7c9
Update expectations
alancutter Jul 29, 2016
c25d407
Merge pull request #480 from alancutter/fixPauseHtml
suzyh Jul 29, 2016
0a17c54
Allow cubic bezier to accept value outside [0,1]
suzyh Jul 29, 2016
36b96e2
Use gradient to extrapolate instead of linear fn
suzyh Jul 29, 2016
b85f9a3
Calculating the iteration progress now follows the spec
ericwilligers Jul 29, 2016
24926f7
Merge pull request #482 from ewilligers/simple-iteration-progress-works
ewilligers Jul 29, 2016
3f37f6f
Include source files in npm package so the map files actually map ont…
alancutter Aug 1, 2016
de5f372
Merge pull request #483 from alancutter/npmSrc
ewilligers Aug 1, 2016
a8f85fb
Update version log range command to only show merges
alancutter Aug 1, 2016
7218e66
optimiseAnimationMutations
alancutter Aug 2, 2016
e5a1e99
Yay memory management
alancutter Aug 2, 2016
5b96c1e
Merge pull request #481 from suzyh/effect-easing
suzyh Aug 2, 2016
6ff0b69
Make tests pass
alancutter Aug 2, 2016
242a217
Don't change tests
alancutter Aug 2, 2016
24f7a24
lint
alancutter Aug 2, 2016
fbb1a15
Merge pull request #485 from alancutter/optimiseAnimationMutations
suzyh Aug 3, 2016
35a0f2e
Update history.md for 2.2.2
alancutter Aug 3, 2016
9ec1e66
Merge pull request #487 from web-animations/updateHistory2.2.2
alancutter Aug 3, 2016
9779cac
Update NPM version, gzipped sizes are the same as before
alancutter Aug 3, 2016
96e1cb6
Use strict
ericwilligers Aug 4, 2016
06550eb
Merge pull request #488 from ewilligers/strict
alancutter Aug 4, 2016
0749ead
Update README.md and add extra docs
suzyh Aug 3, 2016
39135b7
Merge pull request #489 from alancutter/updateReadme
suzyh Aug 5, 2016
cf2c666
disableFallback
alancutter Aug 9, 2016
73b7795
Merge pull request #490 from alancutter/disableFallback
suzyh Aug 9, 2016
8eeee08
updateExpectations
alancutter Aug 9, 2016
ec5aecd
Remove moar use stricts in expectations
alancutter Aug 9, 2016
fd1f41b
Merge pull request #491 from alancutter/updateExpectations
alancutter Aug 9, 2016
027c534
Support animation of SVG color properties
ericwilligers Aug 9, 2016
b7c0cef
Merge pull request #484 from ewilligers/additional-color-properties
ewilligers Sep 17, 2016
5f3d17f
Update CONTRIBUTING.md for repository merge. (#493)
suzyh Nov 10, 2016
6f5b499
Fix source map file not exists issues
mival Jun 17, 2016
df92579
add html exports for standard, next and next-lite builds
bedeoverend Oct 11, 2016
f684443
Merge pull request #94 from alancutter/html-exports
suzyh Nov 11, 2016
38faa52
Merge pull request #93 from alancutter/mival-master
suzyh Nov 11, 2016
e4d190b
adding stroke dash offset handler
filaraujo Sep 19, 2016
a44a911
Add property-specific interpolation test
suzyh Nov 14, 2016
5b922ef
Merge pull request #96 from suzyh/stroke-dashoffset
suzyh Nov 22, 2016
8bc6e03
add Closure Compiler externs
samthor Dec 6, 2016
fe71299
remove unused NullEffect (#102)
samthor Jan 18, 2017
d2f310b
No need to install grunt globally
ericwilligers Mar 1, 2017
8d8f6e1
Merge pull request #114 from ewilligers/grunt-cli-only
ewilligers Mar 1, 2017
b030698
updateNodeToV6
alancutter Apr 12, 2017
a9b7235
fixColorTest
alancutter Apr 12, 2017
0d17d49
matrixCrash
alancutter Apr 12, 2017
aad6455
strokeDasharray
alancutter Apr 12, 2017
40bb3dd
Merge pull request #122 from alancutter/updateNodeToV6
ewilligers Apr 12, 2017
21ab971
Merge pull request #119 from alancutter/fixColorTest
ewilligers Apr 12, 2017
628aff4
Merge pull request #120 from alancutter/strokeDasharray
ewilligers Apr 12, 2017
e7343ed
Merge pull request #121 from alancutter/matrixCrash
ewilligers Apr 12, 2017
024b061
Add version history for 2.2.3
alancutter Apr 13, 2017
6521f6f
Revert "Use strict"
alancutter Apr 13, 2017
65f7962
Update history
alancutter Apr 13, 2017
f34cb74
Update version
alancutter Apr 13, 2017
b63f7d6
Update pull request link
alancutter Apr 13, 2017
866e017
Merge pull request #124 from alancutter/revertUseStrict
alancutter Apr 13, 2017
55ee858
testEVERYTHINGAAAA
alancutter Apr 19, 2017
939ec79
lint
alancutter Apr 20, 2017
fa73614
releaseFiles
alancutter Apr 20, 2017
6d7abbf
Update release to 2.2.5
alancutter Apr 20, 2017
ef2aa01
Merge pull request #128 from alancutter/releaseFiles
ewilligers Apr 25, 2017
c576378
Merge pull request #127 from alancutter/testEVERYTHINGAAAA
ewilligers Apr 25, 2017
a7b31f8
Add Google Contributor License Agreement step to CONTRIBUTING.md
alancutter May 16, 2017
a035866
Merge pull request #137 from web-animations/alancutter-gclas
alancutter May 16, 2017
267316f
Support IE/Edge SVG transforms
dvoytenko Jul 6, 2017
6eb5bfd
Refine implementation and tests
dvoytenko Jul 13, 2017
cd71463
Also include ICS
dvoytenko Jul 13, 2017
eda3251
review fixes
dvoytenko Jul 14, 2017
ec226e6
Merge pull request #148 from dvoytenko/ie-svg
alancutter Jul 18, 2017
a081deb
Parse and evaluate calc expressions
ericwilligers Jul 18, 2017
decd4e5
Merge pull request #151 from ewilligers/process-calc-expression
darrnshn Jul 20, 2017
f77e357
Release notes for Release 2.3.0
ericwilligers Jul 20, 2017
3f832c2
Merge pull request #155 from web-animations/prepare-release-2.3.0
rjwright Jul 20, 2017
251c01a
Fix missing web-animations.min.js issue
darrnshn Jul 20, 2017
ac0a4eb
Update release instructions
darrnshn Jul 21, 2017
263d1a2
Add release notes for 2.3.1
ericwilligers Jul 21, 2017
4637cef
Merge pull request #159 from ewilligers/release_notes_2.3.1
ewilligers Jul 21, 2017
916ce47
Merge branch 'dev' into fix-release-instructions
darrnshn Jul 21, 2017
c6f0ac8
Address comments
darrnshn Jul 21, 2017
910a48d
Merge pull request #158 from web-animations/fix-release-instructions
darrnshn Jul 26, 2017
e2782af
Do not write to readonly _isFinished
ericwilligers Aug 13, 2017
c5bf98e
Document that we require requestAnimationFrame
ericwilligers Aug 16, 2017
65caa28
Update minimatch dependency
ericwilligers Aug 16, 2017
b212fa7
Merge pull request #168 from ewilligers/upgrade-minimatch
ewilligers Aug 16, 2017
c09f0d2
Merge pull request #165 from ewilligers/isFinished
ewilligers Aug 16, 2017
c69e141
Merge pull request #167 from ewilligers/need-raf
ewilligers Aug 16, 2017
3f9af6b
Update the Web Animations spec URLs (#191)
foolip Jun 13, 2018
ae52749
Minor fixes for Closure compilation compatibility. (#200)
aomarks Dec 12, 2018
c4c1602
Fix the wrapping IIFE of the prod bundle
mgechev May 28, 2019
5cad16b
Merge pull request #208 from mgechev/minko/fix-prod-bundle
flackr Jun 5, 2019
8471f0b
Remove wpt
alancutter Jun 24, 2019
1f7a1a0
Add wpt back using master
alancutter Jun 24, 2019
08d2c4a
Add npm fixes
alancutter Jun 24, 2019
1f52dd6
Update karma version
alancutter Jun 24, 2019
00661e8
Use HTTPS URL for WPT
alancutter Jun 24, 2019
10e073a
Update Travis xvfb config according to https://docs.travis-ci.com/use…
alancutter Jun 24, 2019
ea965e2
xvfb-run
alancutter Jun 24, 2019
27b72a0
xvfb-run -a
alancutter Jun 24, 2019
d2d1807
Update node
alancutter Jun 24, 2019
956819d
package lock changed for some reason
alancutter Jun 24, 2019
dba5b91
Support normalising to 1 param step function
alancutter Jun 24, 2019
6e64c73
Update test expectations
alancutter Jun 25, 2019
a44c04d
Update version of Firefox for test expectations
alancutter Jun 25, 2019
a16d2f8
Reduce web-animations-next WPT testing and update expectations
alancutter Jun 25, 2019
f095a30
Update package-lock.json
alancutter Jun 25, 2019
3e9a2ce
Ignore package-lock.json
alancutter Jun 25, 2019
b2745c1
Unignore package-lock.json and revert after npm install instead
alancutter Jun 25, 2019
d71db4b
Merge pull request #210 from alancutter/fix-testing
alancutter Jun 25, 2019
4806309
Create release 2.3.2
alancutter Jun 25, 2019
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
Prev Previous commit
Next Next commit
Test review changes
alancutter committed Apr 20, 2016
commit 6be5b10f45b99d3ad398d538a1055f5cd17ded6d
12 changes: 6 additions & 6 deletions test/js/timing-utilities.js
Original file line number Diff line number Diff line change
@@ -33,17 +33,17 @@ suite('timing-utilities', function() {
f = toTimingFunction('cubic-bezier(0, 1, 1, 0)');
assert.closeTo(f(0.104), 0.392, 0.01);

function assertThrows(easing) {
function assertInvalidEasingThrows(easing) {
assert.throws(function() {
toTimingFunction(easing);
}, easing);
}

assertThrows('cubic-bezier(.25, 0.1, 0.25, 1.)');
assertThrows('cubic-bezier(0, 1, -1, 1)');
assertThrows('an elephant');
assertThrows('cubic-bezier(-1, 1, 1, 1)');
assertThrows('cubic-bezier(1, 1, 1)');
assertInvalidEasingThrows('cubic-bezier(.25, 0.1, 0.25, 1.)');
assertInvalidEasingThrows('cubic-bezier(0, 1, -1, 1)');
assertInvalidEasingThrows('an elephant');
assertInvalidEasingThrows('cubic-bezier(-1, 1, 1, 1)');
assertInvalidEasingThrows('cubic-bezier(1, 1, 1)');

f = toTimingFunction('steps(10, end)');
assert.equal(f(0), 0);