11 Commits

Author SHA1 Message Date
Tom Ashworth
7d7b60532c Add Zen Coding to HTML pane, addresses #285.
Using zen-coding for CodeMirror I've added Zen Coding support to
the HTML pane of JSBin.

It's on by default, with no way to switch it off. I'm not sure how
it's best to do that – from looking at the TODOs, are CodeMirror
options something that's planned?

In Opera, becuase 'tab' is the Zen Coding trigger, the line that
the user ends up on is also indented. This is not the case in
Firefox and Chrome.
2012-10-09 14:50:31 +01:00
Remy Sharp
cc868b971f Put the autocomplete back in to JS Bin, using simpleHint & JavaScriptHint
Although it's in there, CoffeeHint isn't supported yet - need to switch
autocomplete methods on processor change.

Also supports arbitrary token support - so if you hit escape, it'll
read the words in the code, and include them in the autocomplete.
2012-08-29 22:05:47 +01:00
Remy Sharp
7e8ecdea28 Finished @binarytales' code change :-P 2012-07-27 17:40:52 +01:00
Remy Sharp
d010f6f47c I think this solves the entire problem if IE8-9 not having history API support
If there's no history API, just update the location.hash, but all the
other UI components update as if the real url were used. If the user
copies and pastes the url to twitter (say for instance), the
hashbang-jump (though really there's no bang) detects the *real* url on
the hash, and simple redirects. This is made the first part of the
compressed jsbin…min.js so it should happen pretty early.
2012-07-21 23:17:51 +01:00
Remy Sharp
d9e9c16873 MobileCodeMirror back in place as scroll isn't supported in CodeMirror on iOS 2012-07-20 11:29:50 +01:00
Remy Sharp
26cc7281ae Code shuffle 2012-07-17 22:27:08 +01:00
Remy Sharp
c71835a72b BOOM. Closes #176
Now just need @aron to implement server side rendering so the previews
work now (that I've broken them with this support! :)
2012-07-13 17:56:49 +01:00
Remy Sharp
0e213629a3 Fixed iPad throwing a wobbly, to be fair, I was nuking the CodeMirror object 2012-07-05 23:56:44 +01:00
Remy Sharp
293c821c58 Fixed the order to prevent the update title bug 2012-07-03 00:33:41 +01:00
Remy Sharp
bd2843c510 More progress on #178 - getting console linked to the output panel. 2012-07-01 17:21:46 +01:00
Remy Sharp
69c1b41f9b Scripts now unrolled for better debugging and development. Order really matters and build script moved to grunt.
Requires global install of grunt if using in production, but I guess
local installs will run in development mode by default.
2012-07-01 09:16:22 +01:00