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

Initial version for animation with scene approach #1400

Open
wants to merge 294 commits into
base: ENYO-2174-directorapproach
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
0ab00a5
add ScrimSupport proposal
Oct 9, 2015
0f95b46
move direction determination to ViewManager
Oct 12, 2015
cde87ba
fix layout bug when cancelling drag
Oct 13, 2015
486b7c5
add count parameter to ViewManager.back()
Oct 13, 2015
10f1685
add notification method invocation for ViewManager lifecycle events
Oct 15, 2015
733e88f
simply declarative child ViewManager handling
Oct 15, 2015
39f52ee
fix (actually this time) the navigation direction for a cancelled drag
Oct 15, 2015
d484296
Merge remote-tracking branch 'origin/2.6.0-dev' into viewmanager
Oct 15, 2015
9df27e1
refine and standardize view-related events
Oct 16, 2015
c56a2c3
add getActive() method to ViewManager
Oct 16, 2015
ded1d66
add documentation to ViewManager
Oct 16, 2015
2f6ff77
switch to activateImmediate after drag to avoid pause
Oct 18, 2015
e370b57
add manage event to ViewManager
Oct 20, 2015
d6de25f
rework transition completion for ViewLayout
Oct 20, 2015
4dc2434
allow customization of scrim in ScrimSupport
Oct 20, 2015
001bc49
fix jshint errors
Oct 20, 2015
29468f2
complete transitions when dragging starts during
Oct 20, 2015
3c7b841
add webkit prefixed transforms
Oct 23, 2015
0a9f07f
support multiple calls to activate() in the same frame
Oct 23, 2015
c46abed
reset drag state when dragging in an invalid direction
Oct 26, 2015
0c497bd
add prefixed CSS for webkit transition
Oct 26, 2015
f1b5512
refactor cancelDrag to enable cancelling from other paths
Oct 26, 2015
e6aa9ef
properly clean up dragView
Oct 27, 2015
73657c0
clean up src
Nov 12, 2015
cb0dc38
add dismiss event when dragging VM
Nov 16, 2015
ecd0c45
Merge pull request #1335 from enyojs/PLAT-12048-ryanjduffy
ybsung Nov 19, 2015
d9138bf
Merge branch 'viewmanager' of https://github.com/enyojs/enyo into vie…
ybsung Nov 20, 2015
2be5067
Merge remote-tracking branch 'origin/2.6.0-dev' into viewmanager
Nov 24, 2015
391aa7f
use mixin instead of bubbleTarget to funnel events to ViewLayout
Nov 18, 2015
398b42d
add flick support to ViewManager
Nov 23, 2015
de845d9
refine handling of view activation/deactivation during dragging
Nov 23, 2015
51d83f5
add support for activation options
Nov 25, 2015
5a0d946
Merge pull request #1339 from enyojs/PLAT-11951-ryanjduffy
ybsung Dec 2, 2015
e5347a6
prevent setting dragging when not really dragging
Dec 3, 2015
e4d9d1f
prevent cancelDrag events for invalid drags
Dec 4, 2015
8c32649
Merge pull request #1341 from enyojs/PLAT-13424-ryanjduffy
ybsung Dec 14, 2015
cbedbaf
ENYO-2913: Prevent concurrent transitions when setupTransitions is tr…
aarontam Dec 14, 2015
365910c
ENYO-2917 Document wip modules/kinds
Dec 18, 2015
0420403
ENYO-2917 Document wip modules/kinds
Dec 18, 2015
a62d098
Merge pull request #1345 from enyojs/ENYO-2917-roysutton
aarontam Dec 18, 2015
e0a69ca
remove prototype ViewLayouts and mark VM kinds as WIP
Dec 21, 2015
990324d
ENYO-2904 Add glossary entries for private/protected
Dec 29, 2015
f85d466
ENYO-2964 Fix mixin declarations
Dec 30, 2015
9da7183
Merge pull request #1347 from enyojs/ENYO-2904-roysutton
aarontam Dec 30, 2015
ca5fe54
Merge pull request #1348 from enyojs/ENYO-2964-roysutton
aarontam Dec 30, 2015
2762871
add drag event validation to ViewManager.handleDragFinish()
Dec 30, 2015
4dcfda8
Merge branch '2.6.0-dev' into ENYO-1355-jasonrobitaille
aarontam Dec 30, 2015
da43e5f
Merge branch '2.6.0-dev' into ENYO-1279-rs26
Dec 31, 2015
0e21cf2
Merge pull request #1143 from enyojs/ENYO-1279-rs26
aarontam Dec 31, 2015
4989bb2
ENYO-2604: Remove scrim upon destruction.
aarontam Dec 31, 2015
d1c3c54
Merge branch '2.6.0-dev' into ENYO-1029-ysukharenko
aarontam Jan 4, 2016
da99c5e
Merge pull request #1238 from enyojs/ENYO-1029-ysukharenko
aarontam Jan 4, 2016
c2bc400
ENYO-2917 Document wip modules/kinds
Jan 5, 2016
336af42
Merge pull request #1349 from enyojs/PLAT-14490-ryanjduffy
ryanjduffy Jan 5, 2016
d9b6c34
Merge pull request #1206 from enyojs/ENYO-1355-jasonrobitaille
ryanjduffy Jan 5, 2016
f38a530
Merge pull request #1301 from enyojs/ENYO-2646-RoySutton
ryanjduffy Jan 6, 2016
d315ece
Merge pull request #1350 from enyojs/ENYO-2604-aarontam
webOS101 Jan 6, 2016
4d18055
ENYO-2027: Prevent shared data object.
aarontam Jul 6, 2015
8cd1fc3
Merge pull request #1225 from enyojs/ENYO-2027-aarontam
ryanjduffy Jan 7, 2016
2d547b4
ENYO-2993: Use correct module name.
aarontam Jan 9, 2016
c9573ce
Update old links to module style
Jan 9, 2016
d13e9b1
Merge pull request #1352 from enyojs/ENYO-2993-aarontam
webOS101 Jan 9, 2016
d2b7108
ENYO-2333: Update license.
aarontam Jan 11, 2016
7126a02
Android browser detection for some phones
wangii Jan 22, 2015
8638255
ENYO-896: Combine Android detection patterns.
aarontam Jan 12, 2016
203ec7e
Merge pull request #1354 from enyojs/ENYO-896-aarontam
webOS101 Jan 15, 2016
9bad716
ENYO-2409: Fix Windows 10 app deployment error
Jan 15, 2016
53cc4bd
Merge pull request #1353 from enyojs/ENYO-2333-aarontam
webOS101 Jan 15, 2016
e860b6a
ENYO-2486 ENYO-3012 Add edge detection, fix docs
Jan 15, 2016
f19f55e
ENYO-3016: Fix touch-gesture platform identification for Windows 10, …
Jan 18, 2016
b9a3142
ENYO-3018 Correct badly doc'ed types
Jan 19, 2016
f5b17da
ENYO-2621: Mark method as WIP.
aarontam Jan 19, 2016
052773d
@member is more clear than @var
Jan 19, 2016
597762b
ENYO-2486: Fix member type.
aarontam Jan 19, 2016
c0f9c3a
Merge pull request #1356 from enyojs/ENYO-2486-roysutton
aarontam Jan 19, 2016
6e135af
Merge pull request #1355 from enyojs/ENYO-2409-jeremythomas
aarontam Jan 20, 2016
0cc5d75
ENYO-3018: More Correction
Jan 20, 2016
89e0442
Revert "Merge pull request #1355 from enyojs/ENYO-2409-jeremythomas"
aarontam Jan 20, 2016
6d072a5
ENYO-3018: Change static members reference from '#' to '.'
Jan 20, 2016
f998793
ENYO-3020: Cleanup unnecessary comments
Jan 20, 2016
b85eedf
PLAT-15389: Allow for clearing of queue for pops without a correspond…
aarontam Jan 20, 2016
918ab70
ENYO-2409: Fix Windows 10 app deployment/innerHTML issue
Jan 20, 2016
587cf6b
Merge pull request #1297 from enyojs/ENYO-2621-aarontam
webOS101 Jan 20, 2016
58eeb77
Merge pull request #1360 from enyojs/ENYO-3020-stephenchoi
webOS101 Jan 20, 2016
f7c7c08
Merge pull request #1361 from enyojs/ENYO-2409-jeremythomas
aarontam Jan 20, 2016
07fdb56
ENYO-3016: Fixing merge conflict
Jan 20, 2016
e41dcb7
PLAT-15150: Fix the popOnBack property so that it takes precedence ov…
aarontam Jan 14, 2016
373bcfb
Revert "ENYO-2592: Undefer purging."
aarontam Jan 22, 2016
b64181f
PLAT-15150: Purge panels after running transition lifecycle methods.
aarontam Jan 22, 2016
4a073af
PLAT-15150: Refine panel removal and end-of-transition logic.
aarontam Jan 23, 2016
85298e0
ENYO-3031: Fix broken comment block
Jan 23, 2016
101218a
ENYO-3018: Fix additional references to enyo.*
aarontam Jan 25, 2016
c150264
Fix documentation of statics
Jan 25, 2016
93c60ec
Tweak relational options slightly
Jan 25, 2016
4285730
Merge pull request #1363 from enyojs/ENYO-3031-stephenchoi
webOS101 Jan 25, 2016
8e1f275
Merge pull request #1359 from enyojs/ENYO-3018-roysutton
aarontam Jan 25, 2016
4fb9199
guard against shifting onhold events for cancelled holds
Jan 26, 2016
f182384
Merge pull request #1365 from enyojs/ENYO-3038-ryanjduffy
aarontam Jan 27, 2016
5355e3d
clean up drag status ondragfinish
Jan 26, 2016
028963a
Update documentation for ViewManager
Jan 28, 2016
3b6f01b
ENYO-3047 Update (allthedependencies)
Jan 28, 2016
f7a7726
Merge pull request #1364 from enyojs/ENYO-3037-ryanjduffy
ryanjduffy Jan 29, 2016
551b8b8
ENYO-3049: Calculate bounds when shown
Jan 29, 2016
dcc85ec
ENYO-3053: Mark TransitionScrollStrategy as WIP.
aarontam Jan 29, 2016
d8c08f7
Merge pull request #1369 from enyojs/ENYO-3053-aarontam
webOS101 Jan 29, 2016
50a008c
ENYO-1810 Cleanup in-line samples for modules
Jan 29, 2016
09bd9b4
Merge pull request #1371 from enyojs/ENYO-1810-roysutton
aarontam Jan 29, 2016
d876344
Merge pull request #1317 from enyojs/viewmanager
webOS101 Feb 3, 2016
69a1267
remove observers on destroy
Jan 12, 2016
6bfe76a
remove event listeners on destroy
Jan 13, 2016
50ed0ca
remove models from collection when destroying
Jan 13, 2016
3154965
ensure each instance of Collection get its own copy of options
Jan 13, 2016
87d1161
delete observerTable and eventTable entries when removing all
Jan 29, 2016
993f61c
ENYO-2913: Make return values and error conditions consistent.
aarontam Feb 4, 2016
2dfe05b
Merge pull request #1343 from enyojs/ENYO-2913-aarontam
webOS101 Feb 4, 2016
3f6dda5
ENYO-3080: requestAnimationFrame not in usage for iOS >=7
JayCanuck Feb 5, 2016
60e3e0f
ENYO-3078 Updated Docs to prevent duplicate modules
Feb 5, 2016
96efc65
Specific exclusion of iOS 6 for requestAnimationFrame
JayCanuck Feb 5, 2016
1daed0c
complete outstanding transition when registering a new transition
Feb 5, 2016
7c7b23c
Merge pull request #1373 from enyojs/ENYO-3080-jasonrobitaille
ryanjduffy Feb 5, 2016
81f039d
Update ms gesture conditional
Feb 8, 2016
2bec3fc
Merge pull request #1358 from enyojs/ENYO-3016-jeremythomas2
aarontam Feb 8, 2016
8f6cf5b
Merge pull request #1368 from enyojs/ENYO-3047
aarontam Feb 9, 2016
195278b
ENYO-2951: Expose transitioning property via a public method.
aarontam Feb 10, 2016
1d0d8af
Merge pull request #1375 from enyojs/ENYO-3071-ryanjduffy
aarontam Feb 10, 2016
0f90408
apply translate3d to views to force compositing during dragging
Dec 11, 2015
9d35338
fix CSS ordering for active view positioning
Dec 15, 2015
bd60c0c
Merge pull request #1380 from enyojs/PLAT-14017-ryanjduffy-2.6.1-pre.6
aarontam Feb 10, 2016
defaa5c
clear the model for unrendered rows of a DataRepeater
Feb 10, 2016
74b6a28
Merge pull request #1370 from enyojs/ENYO-3049-graynorton
ryanjduffy Feb 11, 2016
a3a2e09
Merge pull request #1366 from enyojs/PLAT-15389-aarontam
webOS101 Feb 11, 2016
f4639ff
PLAT-15150: Clean-up cruft, add documentation.
aarontam Feb 11, 2016
1c40cea
Merge branch '2.6.0-dev' into PLAT-15150-aarontam
aarontam Feb 11, 2016
ee1a181
Clarified LightPanel should not be required directly
Feb 12, 2016
e716ece
Doc LightPanel to be part of LightPanels again
Feb 13, 2016
5e6482d
Merge pull request #1374 from enyojs/ENYO-3078-roysutton
ryanjduffy Feb 15, 2016
c42b810
ENYO-3011: Ensure that transition clean-up logic is always executed.
aarontam Feb 16, 2016
17c5604
Merge pull request #1362 from enyojs/PLAT-15150-aarontam
ryanjduffy Feb 17, 2016
bcacfc2
Merge pull request #1376 from enyojs/ENYO-2951-aarontam
ryanjduffy Feb 17, 2016
0008016
ENYO-3011: The fallback should not run faster than the transition; re…
aarontam Feb 17, 2016
0688a9b
Merge pull request #1381 from enyojs/ENYO-2867-ryanjduffy
aarontam Feb 18, 2016
c0cc936
ENYO-3112: Update documentation.
aarontam Feb 19, 2016
b6961c8
Merge pull request #1386 from enyojs/ENYO-3112-aarontam
webOS101 Feb 19, 2016
c866d97
ENYO-3098: Switch to a logical panel after replacement occurs.
aarontam Feb 19, 2016
bacdff9
refactor RelationalModel + deps to correct string and circular refs
Feb 12, 2016
52bcff6
Merge remote-tracking branch 'origin/2.6.0-dev' into ENYO-2990-ryanjd…
Feb 19, 2016
09685f8
guard getRelations against nulled this.relations
Feb 19, 2016
5bc95ff
Merge pull request #1382 from enyojs/ENYO-3033-ryanjduffy
aarontam Feb 19, 2016
a3d6e07
Merge branch '2.6.0-dev' into ENYO-2990-ryanjduffy
Feb 22, 2016
731a196
Merge pull request #1372 from enyojs/ENYO-2990-ryanjduffy
webOS101 Feb 22, 2016
7307863
add docs for RepeaterChildSupport#selectedClass
Feb 24, 2016
d1b7f21
Merge pull request #1392 from enyojs/ENYO-3126-ryanjduffy
webOS101 Feb 24, 2016
869e812
ENYO-2718: Added ShowingTransitionSupport, a mixin to make showing/hi…
Dec 21, 2015
1b24f62
Merge pull request #1394 from enyojs/ENYO-2718-ryanjduffy
ryanjduffy Feb 25, 2016
79c164e
Merge pull request #1384 from enyojs/ENYO-3011-aarontam
webOS101 Feb 25, 2016
916756d
ENYO-3130: touch/gesture fix
Feb 25, 2016
e98d57f
spacing
Feb 25, 2016
77ab9ca
spacing
Feb 25, 2016
26bbadc
Initial version for scene changes
anishramesan Feb 26, 2016
11e1394
update gesture conditional
Feb 26, 2016
06bc5d9
Merge pull request #1388 from enyojs/ENYO-3098-aarontam
webOS101 Feb 27, 2016
4d47a38
Merge pull request #1397 from enyojs/ENYO-3130-jeremythomas
webOS101 Feb 27, 2016
a1fe229
some changes related to threshold
Feb 28, 2016
53370c8
ENYO-3144: Use container-based infrastructure for Travis.
aarontam Feb 29, 2016
8d51f6f
Merge pull request #1401 from enyojs/ENYO-3144-aarontam
webOS101 Feb 29, 2016
a4de09e
Update version string to 2.7.0-rc.1
JayCanuck Mar 1, 2016
d469c33
threshold with scene
anishramesan Mar 1, 2016
ea4496e
ENYO-1998: Return source action result on execute
Jan 18, 2016
467fe7b
Merge pull request #1403 from enyojs/ENYO-1998-aarontam
aarontam Mar 4, 2016
e7cf74d
updates related to layer optimization
anishramesan Mar 4, 2016
5b2d7f0
Added multiple roleplay changes
Mar 6, 2016
8b9c7ae
ENYO-3174: Deprecate unstable APIs.
aarontam Mar 8, 2016
c4f59a0
Merge pull request #1407 from enyojs/ENYO-3174-aarontam
webOS101 Mar 8, 2016
30a9bda
ENYO-3175: Added support for Mozilla based browsers
Mar 7, 2016
4418b94
Merge pull request #1405 from enyojs/ENYO-3175-blakestephens
ryanjduffy Mar 8, 2016
048fac4
ENYO-3164: Make Control be the default kind.
aarontam Mar 8, 2016
9070d89
ENYO-3184: Deprecate srcElement property for generated media events.
aarontam Mar 8, 2016
7642bea
ENYO-3192: Dispatcher not caching touch position as expected
JayCanuck Mar 8, 2016
7f20067
ENYO-3019: Remove IE8 support
Feb 19, 2016
579d9b9
Merge pull request #1387 from enyojs/ENYO-3019-jeremythomas
aarontam Mar 9, 2016
d313280
Merge pull request #1408 from enyojs/ENYO-3184-aarontam
webOS101 Mar 9, 2016
6d8cfb9
Merge pull request #1406 from enyojs/ENYO-3164-aarontam
ryanjduffy Mar 9, 2016
73ddb9b
Updated seek changes
anishramesan Mar 10, 2016
a7c932c
Merge branch '2.6.0-dev' into ENYO-3192-jasonrobitaille
aarontam Mar 10, 2016
432fc12
ENYO-3192: Converting to single quotes.
aarontam Mar 10, 2016
2b9771e
Merge pull request #1409 from enyojs/ENYO-3192-jasonrobitaille
aarontam Mar 10, 2016
215a62b
updated scene active state
anishramesan Mar 11, 2016
aa64fa2
reverting usage of remove() for compatibility
Mar 11, 2016
3388090
adds guard for setting the value of a select box in IE/Edge
Mar 14, 2016
2fb2fef
Merge pull request #1415 from enyojs/ENYO-3204-ryanjduffy
aarontam Mar 15, 2016
50fd24a
Merge branch '2.6.0-dev' into ENYO-3208-ryanjduffy
aarontam Mar 15, 2016
6938d25
Merge pull request #1413 from enyojs/ENYO-3208-ryanjduffy
webOS101 Mar 15, 2016
d108536
ENYO-3222: Adding support for cancelAnimationFrame.
aarontam Mar 14, 2016
4fc2cbb
Merge pull request #1414 from enyojs/ENYO-3222-aarontam
ryanjduffy Mar 15, 2016
bc56cab
ENYO-3210: Added better support for trackpad scrolling in Firefox.
aarontam Mar 15, 2016
c2ceab3
Merge pull request #1419 from enyojs/ENYO-3210-aarontam
ryanjduffy Mar 16, 2016
3834d96
Add Replay option for scene animations
cholanmadala Mar 18, 2016
8773568
ENYO-3219: Refresh scroll thresholds when adding / removing models
Mar 21, 2016
b232582
Update version string to 2.7.0-rc.2
JayCanuck Mar 21, 2016
15d9883
Merge pull request #1422 from enyojs/ENYO-3219-graynorton
ryanjduffy Mar 21, 2016
d29bca3
ENYO-3247 Correct docs for strategyKind
Mar 21, 2016
16c21f8
ENYO-3227: Recalculate metrics on showing
KunmyonChoi Mar 15, 2016
e3a7f63
Merge pull request #1420 from enyojs/ENYO-3227-kunmyonchoi
ryanjduffy Mar 22, 2016
4bb2243
ENYO-3138: Recalculate scroll thumb metrics on resize
KunmyonChoi Mar 9, 2016
529eb8b
Merge pull request #1410 from enyojs/ENYO-3138-kumyonchoi
ryanjduffy Mar 22, 2016
d4374f8
Added handlelayer property and some issues.
anishramesan Mar 23, 2016
4c289a8
Merge pull request #1427 from enyojs/ENYO-3247-roysutton
ryanjduffy Mar 24, 2016
dcea655
guard setting Video current time from Infinity
Mar 25, 2016
9ddc019
Merge pull request #1428 from enyojs/ENYO-3093-ryanjduffy
aarontam Mar 25, 2016
40874a1
ENYO-3158: Adjust Buffer size based on item size and count
KunmyonChoi Mar 2, 2016
4fb859b
Merge pull request #1402 from enyojs/ENYO-3158-kunmyonchoi
aarontam Mar 26, 2016
893666e
ENYO-3261: Update default scrollStrategy for iOS devices
Mar 28, 2016
5e31464
Documentation for WIP features:
Mar 28, 2016
bf895ad
Merge pull request #1433 from enyojs/ENYO-3261-stephenchoi
webOS101 Mar 29, 2016
7ce9912
Updated some documentation
Mar 29, 2016
16f1bdb
Merge pull request #1434 from enyojs/ENYO-2133-graynorton
webOS101 Mar 30, 2016
f5bef20
Update version string to 2.7.0
JayCanuck Mar 31, 2016
3b732e6
Merge Frame in Matrix, Dom and Utils
ankurmishra32 Apr 5, 2016
5f8657d
some fixes
anishramesan Apr 7, 2016
7b47f71
Refracting frame changes properly
ankurmishra32 Apr 7, 2016
4d6b68d
Removed director module
anishramesan Apr 7, 2016
477757e
Removal of Easing and some bug fixing
ankurmishra32 Apr 11, 2016
5933e3d
Merge pull request #1436 from enyojs/2.6.0-dev
webOS101 Apr 12, 2016
8579a4b
Merge Frame and Matrix into Transform
ankurmishra32 Apr 12, 2016
8ccfcdb
Remove duplicate codes and maintain JS standards
ankurmishra32 Apr 13, 2016
057e19d
Reduce multiple loops from inverseN
ankurmishra32 Apr 14, 2016
5582d38
Replacing of normal arrays with typed_arrays for memory management
cholanmadala Apr 14, 2016
86c2b88
Vectors has been modified with typed arrays.
cholanmadala Apr 14, 2016
49d6a96
Remove useless calculation and made easing globe
ankurmishra32 Apr 15, 2016
ba232be
transform and tween brought up
anishramesan Apr 15, 2016
412a04f
Merge branch 'ENYO_2174-sceneapproach' of https://github.com/enyojs/e…
anishramesan Apr 15, 2016
a5eaae1
Add matrix and vector module within transform
ankurmishra32 Apr 15, 2016
00d6db0
Separate vector and quaternion modules
ankurmishra32 Apr 15, 2016
460c0ec
Merge remote-tracking branch 'refs/remotes/origin/master' into ENYO_2…
anishramesan Apr 15, 2016
9b2a5cc
Merge branch 'ENYO_2174-sceneapproach' of https://github.com/enyojs/e…
anishramesan Apr 15, 2016
67191bc
Scene and actor module updates
anishramesan Apr 15, 2016
3d24e67
Some fix related to custome ease in rotate
ankurmishra32 Apr 21, 2016
5913059
Update in dom
ankurmishra32 Apr 21, 2016
81725fb
Extended support for various transform properties
ankurmishra32 Apr 25, 2016
9720fc9
Handled multiple transform espacially rotation
ankurmishra32 Apr 26, 2016
62a91ba
Simple interface to create animations
cholanmadala Apr 27, 2016
a6b9346
new interface for addAnimation added
cholanmadala May 2, 2016
fbafd35
Some bug fixed
ankurmishra32 May 4, 2016
5ce28d8
interface changes in the framework
cholanmadala May 6, 2016
297f4e1
Maintained code standered
ankurmishra32 May 11, 2016
115ce05
Add delay support
ankurmishra32 May 12, 2016
bd613cd
Sequencing of scenes and interface for the same
cholanmadala May 16, 2016
ebc6d27
Add iteration support and some bug fixed
ankurmishra32 May 18, 2016
4474d36
Fixed bug with repeat senario
ankurmishra32 May 18, 2016
76148ce
added documentation to the sequence apis
cholanmadala May 18, 2016
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
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js
sudo: false
language: node_js
node_js:
- "0.12"
- "node"
cache:
directories:
- $HOME/.npm
27 changes: 22 additions & 5 deletions docs/external.jsdoc
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,27 @@
* @glossary computed_property
*/

/**
* Methods and properties marked as private should not be used by developers. They may be changed or
* removed without notice and their particular implementations should not be relied upon. Kinds and
* modules marked as private are inteded for use only by the framework.
*
* @glossary private
*/

/**
* Methods and properties marked as protected should only be used when subclassing a kind. They
* represent the internal workings of a kind and should not be used by outside kinds. Protected kinds
* and modules are not intended to be instantiated directly by developers.
*
* @glossary protected
*/

///// Internally Documented Links (Glossary) /////

/**
* Binary (bitwise) operations.
*
*
* @glossary bitwise
* @see http://www.experts-exchange.com/Programming/Misc/A_1842-Binary-Bit-Flags-Tutorial-and-Usage-Tips.html
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators
Expand All @@ -166,7 +182,7 @@
/**
* Strict Equality. This comparison logic ensures not only that the value of the things being
* compared is the same, but also their types.
*
*
* @glossary ===
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Using_the_Equality_Operators
*/
Expand All @@ -176,25 +192,26 @@
* that don't support a native version of said method, in an effort to bring the
* browser up to the standards of modern browsers. This allows code that expects
* a modern browser to work properly in an older one.
*
*
* @glossary polyfill
* @see http://en.wikipedia.org/wiki/Polyfill
*/

/**
* The Document Object Model (DOM) is a programming interface for HTML and XML documents.
*
* @glossary DOM
* @see https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model
*/

///// Externally Documented Links /////

/**
* Inheritance
* @glossary inheritance
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Inheritance_and_the_prototype_chain
*/

///// Externally Documented Links /////

/**
* Universally Unique Identifier
* @glossary UUID
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';

exports = module.exports = require('./src/options');
exports.version = '2.6.0-rc.1';
exports.version = '2.7.0';
29 changes: 12 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"main": "index.js",
"moduleDir": "src",
"filename": "enyo.js",
"version": "2.6.0-pre",
"version": "2.7.0",
"description": "Enyo is an open source object-oriented JavaScript framework emphasizing encapsulation and modularity. Enyo contains everything you need to create a fast, scalable mobile or web application.",
"homepage": "http://enyojs.com/",
"bugs": "http://jira.enyojs.com/",
Expand All @@ -26,12 +26,7 @@
"web": "http://enyojs.com/"
}
],
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"license": "Apache-2.0",
"scripts": {
"test": "./node_modules/.bin/gulp"
},
Expand All @@ -40,17 +35,17 @@
"url": "http://github.com/enyojs/enyo"
},
"devDependencies": {
"chai": "^3.2.0",
"enyo-dev": "^0.5.1",
"chai": "^3.5.0",
"enyo-dev": "^0.5.2",
"gulp": "^3.9.0",
"gulp-concat": "^2.6.0",
"gulp-jshint": "^1.11.2",
"gulp-mocha-phantomjs": "^0.9.0",
"jshint": "^2.8.0",
"jshint-stylish": "^2.0.1",
"mocha": "^2.3.0",
"sinon": "^1.16.1",
"gulp-jshint": "^2.0.0",
"gulp-mocha-phantomjs": "^0.10.1",
"jshint": "^2.9.1",
"jshint-stylish": "^2.1.0",
"mocha": "^2.4.4",
"sinon": "^1.17.3",
"sinon-chai": "^2.8.0",
"through2": "^0.6.5"
"through2": "^2.0.0"
}
}
}
30 changes: 16 additions & 14 deletions src/Ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ var Ajax = module.exports = kind(
}
utils.mixin(xhr_headers, this.headers);
// don't pass in headers structure if there are no headers defined as this messes
// up CORS code for IE8-9
// up CORS code for IE9
if (utils.keys(xhr_headers).length === 0) {
xhr_headers = undefined;
}
Expand Down Expand Up @@ -278,7 +278,7 @@ var Ajax = module.exports = kind(
}
} else {
var text = '';
// work around IE8-9 bug where accessing responseText will thrown error
// work around IE9 bug where accessing responseText will thrown error
// for binary requests.
if (typeof inXhr.responseText === 'string') {
text = inXhr.responseText;
Expand Down Expand Up @@ -337,25 +337,27 @@ var Ajax = module.exports = kind(
* @private
*/
updateProgress: function (event) {
// IE8 doesn't properly support progress events and doesn't pass an object to the
// handlers so we'll check that before continuing.
if (event) {
// filter out 'input' as it causes exceptions on some Firefox versions
// due to unimplemented internal APIs
var ev = {};
for (var k in event) {
if (k !== 'input') {
ev[k] = event[k];
}
// filter out 'input' as it causes exceptions on some Firefox versions
// due to unimplemented internal APIs
var ev = {};
for (var k in event) {
if (k !== 'input') {
ev[k] = event[k];
}
this.sendProgress(event.loaded, 0, event.total, ev);
}
this.sendProgress(event.loaded, 0, event.total, ev);
},

/**
* @private
*/
statics: {
statics: /** @lends module:enyo/Ajax~Ajax */ {
/**
* Takes an object and converts it to an encoded URI string. NOTE: It does not traverse into
* objects or arrays, so nested objects will be rendered as the string 'object Object', which
* is not terribly useful.
* @public
*/
objectToQuery: function (/*Object*/ map) {
var enc = encodeURIComponent;
var pairs = [];
Expand Down
3 changes: 2 additions & 1 deletion src/AjaxSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var
var
XhrSource = require('./XhrSource'),
Ajax = require('./Ajax'),
States = require('./States'),
AjaxProperties = require('./AjaxProperties');

/**
Expand Down Expand Up @@ -73,7 +74,7 @@ module.exports = kind(
* @public
*/
commit: function (model, opts) {
opts.method = model.isNew? 'POST': 'PUT';
opts.method = (model.status & States.NEW) ? 'POST': 'PUT';
opts.url = this.buildUrl(model, opts);
opts.postBody = opts.postBody || model.toJSON();
this.go(opts);
Expand Down
Loading