Commit graph

57 commits

Author SHA1 Message Date
Ray Schamp
48121a694f Match the homepage comp more closely 2015-08-10 09:45:39 -04:00
Ray Schamp
06e5019760 Allow modals of several elements 2015-08-10 09:45:39 -04:00
Ray Schamp
70a5f49d9d Open the editor when loading from URL params 2015-05-15 10:10:18 -04:00
Ray Schamp
f12635d2b3 Fix shortURL redirection 2015-05-15 10:09:58 -04:00
Ray Schamp
38c584cb00 Remove excess space 2015-05-15 09:56:15 -04:00
Ray Schamp
7a9721f466 Track fragments 2015-05-15 09:52:35 -04:00
Ray Schamp
dba9d08dc8 Track extensions loaded 2015-05-14 17:21:56 -04:00
Ray Schamp
0f66f238e3 Set referrer when changing pages 2015-05-14 17:21:19 -04:00
Ray Schamp
2c0c8f2993 Add Google Analytics 2015-05-14 14:31:54 -04:00
Ray Schamp
d6bfd1bf51 Fix setting page on load 2015-05-14 14:21:08 -04:00
Ray Schamp
eabdf0911b Refactor event handling
Fixes #11, and some unfiled issues:
Loading extensions from the home page now pop up the warning modal
Clicking the "back to home" button from the warning modal returns you to home.
Each time a modal is created, the number of event handlers no longer doubles :|
2015-05-14 14:08:36 -04:00
Ray Schamp
cfc57f3cf5 Handle all static links through hashchange
Fixes #17
2015-05-13 14:27:36 -04:00
Ray Schamp
c07409ab54 Reset editor when entering it unless already shown 2015-05-12 15:49:53 -04:00
Ray Schamp
61771f51e6 Revert "Update key"
This reverts commit 19fb46cbb3.
2015-05-12 15:49:53 -04:00
Ray Schamp
8a84040be9 Ensure history state change on showPage
Fix #9
2015-05-11 10:40:48 -04:00
Ray Schamp
19fb46cbb3 Update key 2015-05-11 10:18:15 -04:00
Ray Schamp
7532922dba Scratch itch
Be a little more direct about things
2015-05-11 10:18:15 -04:00
Ray Schamp
295ecff723 Add methods to set/show/get short urls 2015-05-11 10:18:15 -04:00
Ray Schamp
4507777c36 Revert "Trigger page changes with hashchange. Fix back button"
This reverts commit b184d78c3f.

Conflicts:
	js/scratchx.js
2015-05-08 21:39:43 -04:00
Ray Schamp
8b748a9604 Ensure modals attach listeners to contents 2015-05-08 21:18:44 -04:00
Ray Schamp
73daea9c43 Don't pass Arguments object directly to Flash 2015-05-08 20:48:53 -04:00
Ray Schamp
0275d338cc Pass a list of urls to Flash 2015-05-08 20:07:05 -04:00
Ray Schamp
aa3842d36b Add warning modal 2015-05-08 18:53:57 -04:00
Ray Schamp
b184d78c3f Trigger page changes with hashchange. Fix back button 2015-05-08 18:44:45 -04:00
Ray Schamp
0744483ca2 Merge branch 'fix_back_to_home' of github.com:LLK/scratchx into gh-pages 2015-05-08 18:30:43 -04:00
Shane M. Clements
28ee71b70a Show the home page when you hit the back button to go back to it. 2015-05-08 16:24:12 -06:00
Ray Schamp
ed378ecb77 Tweaks with @carljbowman 2015-05-08 15:34:00 -04:00
Ray Schamp
b72824f960 Remove Flash overlay when exiting modals 2015-05-08 13:35:54 -04:00
Ray Schamp
9e1d73f3ab Revert shorturl experiment
This reverts commit 8215420eee.

Conflicts:
	js/scratchx.js
2015-05-08 10:13:34 -04:00
Ray Schamp
cfb9aad71d Cleanup 2015-05-08 10:10:04 -04:00
Ray Schamp
fa65c81b39 Fix the string sent by data-action="load-url" links 2015-05-08 10:09:55 -04:00
Ray Schamp
e261eb0cdf Close modals with escape key 2015-05-08 10:09:16 -04:00
Ray Schamp
dc86deb551 Make event handlers attach to elements in modals 2015-05-08 10:08:20 -04:00
Ray Schamp
90870e6701 Rename swf object id back to scratch 2015-05-08 10:06:50 -04:00
Ray Schamp
8215420eee Take a not so serious crack at short URLs 2015-05-07 19:03:41 -04:00
Ray Schamp
bf52f90457 Fix the little jump when you go to #home etc. 2015-05-07 18:06:28 -04:00
Ray Schamp
505e23beac Don't go to pages that don't exist 2015-05-07 17:06:58 -04:00
Ray Schamp
30e6bb0828 Use modal Refill for popovers. Add JSshowExtensionDialog 2015-05-07 17:06:46 -04:00
Ray Schamp
c0b538de72 Add popover functionality 2015-05-07 11:00:47 -04:00
Ray Schamp
b8d142006d Add some comments 2015-05-06 20:44:24 -04:00
Ray Schamp
78764b539e Use non-caveman event handlers 2015-05-06 20:25:42 -04:00
Ray Schamp
15daacc8e9 Unredundantize static link method 2015-05-06 19:56:15 -04:00
Ray Schamp
06e031cdc8 Allow loading URLs from links 2015-05-06 19:55:28 -04:00
Ray Schamp
174ec96305 Allow loading URLs via GET param 2015-05-06 19:36:53 -04:00
Ray Schamp
32a4a9b3e3 Show/hide the editor by putting it on/off screen 2015-05-06 15:06:32 -04:00
Ray Schamp
e4180f8adb Record the history when you switch pages 2015-05-06 15:02:20 -04:00
Ray Schamp
4fbe39264b Use a form for URLs so you can hit enter to submit 2015-05-06 14:59:37 -04:00
Ray Schamp
227bda3d10 Whitespace 2015-05-06 14:34:00 -04:00
Ray Schamp
aade567779 Fix calls to Flash when it's hidden 2015-05-06 14:30:56 -04:00
Ray Schamp
0e7abea151 Hook up forms to Flash 2015-05-06 13:58:03 -04:00