805 Commits

Author SHA1 Message Date
Remy Sharp
f476ef5342 Stop browser from scrolling out the app 2012-06-17 09:47:24 +01:00
Remy Sharp
d26e262d0f Get The Dude back in relative hosted versions of JS Bin 2012-06-16 18:58:22 +01:00
Remy Sharp
938a3e1128 Fixed path to included scripts 2012-06-16 18:49:02 +01:00
Remy Sharp
0fdf06f5df Initial support for preprocessors
Note that this only adds them as supported. Need to add UI and logic to
read database stored settings to load in the correct processor.

To use now - run the following in the browser's console:

// Use LESS in place of CSS
jsbin.panels.panels.css.processor = jsbin.processors.less();

// Use CoffeeScript in place of JavaScript
jsbin.panels.panels.javascript.processor =
jsbin.processors.coffeescript();
2012-06-16 18:46:44 +01:00
Remy Sharp
c94277427d Preprocessors - coffeescript & less - more to come! 2012-06-16 18:44:44 +01:00
Remy Sharp
4712e2810a File bug => send feedback, exposed /quiet url 2012-06-16 18:44:23 +01:00
Remy Sharp
0fa7f87e5d Switch to render methods - this gives us the "processed" output 2012-06-16 18:43:15 +01:00
Remy Sharp
6b36c00c23 Remonde mobileCodeMirror - it supports mobile now - sweet! 2012-06-16 18:42:58 +01:00
Remy Sharp
ad4982ffdf Moving depreciated files 2012-06-16 18:42:35 +01:00
Remy Sharp
fa871cf7da Add spike hook for the CSS 2012-06-16 09:56:24 +02:00
Remy Sharp
38c1682bdc Merge branch 'feature/node' of github.com:remy/jsbin into feature/node 2012-06-15 09:50:21 +01:00
Aron Carroll
c030ee1857 Now appending spike scripts using events 2012-06-10 14:43:21 +01:00
Aron Carroll
a5cd69c46a Add "created" and "updated" events to BinHandler
It's possible these events should be triggered on the model level but
this works nicely at the moment. Also removed the spike.ping code
from the BinHandler.
2012-06-10 14:17:30 +01:00
Aron Carroll
d407301f79 Add utils.extend() for extending objects 2012-06-10 14:08:30 +01:00
Aron Carroll
66f8d28dd8 Move the spike code into BinHandler and remove old handlers.js 2012-06-10 14:07:02 +01:00
Aron Carroll
de04505b8b Now apply default values to the database results if null
This allows us to assume that the HTML, CSS and JavaScript will always
be a string.
2012-06-10 14:05:47 +01:00
Aron Carroll
592a23b6c3 Add a handle serve command to the makefile
Will optionally load config.node.json if it exists. Run using:

    $ make serve
2012-06-10 13:47:16 +01:00
Aron Carroll
b4edf514f0 Ignore all config files that are not config.default.json 2012-06-10 13:46:41 +01:00
Aron Carroll
164b56531c Merge branch 'feature/node' into 'feature/spike'
Conflicts:
	lib/app.js
	lib/handlers.js
	package.json
2012-06-10 12:24:02 +01:00
Remy Sharp
a5f81a64ea Don't need this rule as the file requested will be real 2012-06-09 09:44:39 +01:00
Remy Sharp
8350c54d82 Removed hard coded /3/ in rewritebase 2012-06-09 09:31:16 +01:00
Remy Sharp
b12ee6d447 Changed jsbin.js include depending on production or dev
This way it means we don't need a route for the production version of
the script and it hits the real file.
2012-06-09 09:29:52 +01:00
Remy Sharp
a3dac4d9b5 Fixed subdirectory serving 2012-06-08 15:43:01 +01:00
Remy Sharp
03e6d2d02d -chosen 2012-06-08 14:46:38 +01:00
Remy Sharp
c67667ae6f Animate the share url 2012-06-08 13:53:08 +01:00
Remy Sharp
490f177d4b Fixed login box title 2012-06-08 13:27:34 +01:00
Remy Sharp
55c86d0fa5 Removed default JS - not sure if this is permanent. 2012-06-08 13:22:11 +01:00
Remy Sharp
cca3c619ec Made easter egg a consistent keyboard shortcut 2012-06-08 13:19:11 +01:00
Remy Sharp
8ec6a27530 "Include" => "Include Library" 2012-06-08 13:18:57 +01:00
Remy Sharp
c238e6ea51 Move to using PATH instead of ROOT. Fixes #173 2012-06-08 00:01:59 +01:00
Remy Sharp
0dddab0019 fixed htaccess to support subdirs - need to test more, but looking solid 2012-06-07 23:52:27 +01:00
Remy Sharp
57563a9a38 New window for external help links 2012-06-06 08:43:56 +02:00
Remy Sharp
f3f2952dc2 Fixed both history preview url, and always format with /1 if no rev.
Note that there's a bug ref #172
2012-06-04 22:28:25 +02:00
Remy Sharp
af318cd29f Moved url help above history 2012-06-04 22:26:10 +02:00
Remy Sharp
c7b18cc2ad Fixed log in in PHP version. 2012-06-04 20:31:24 +02:00
Remy Sharp
f8825bf7a3 Stray HTML comment 2012-06-04 20:31:10 +02:00
Remy Sharp
8bc6d0bb5d Fixed PHP saving version - corrupted code urls. Fixes #171 2012-06-04 20:21:15 +02:00
Aron Carroll
b5448362fa Remove trailing / in $code_id_path in PHP app 2012-06-03 22:48:04 +01:00
Aron Carroll
382f8575ff URL's returned by PHP app no longer have broken urls 2012-06-03 22:47:31 +01:00
Aron Carroll
fbb2393b59 Fix missing slash in save form action. Fixes #171 2012-06-03 22:46:22 +01:00
Aron Carroll
c2ec5b9e19 Add missing code_id_* template variables 2012-06-03 22:45:55 +01:00
Aron Carroll
87a99bb670 Make helpers.getUrlForBin() always return a valid url 2012-06-03 22:45:09 +01:00
Remy Sharp
77a9b0ccf8 URL help screen 2012-06-03 13:48:01 +02:00
Remy Sharp
358b05f0ea Turned help in to a drop down menu 2012-06-03 13:34:34 +02:00
Remy Sharp
93335169dd Removed logging 2012-06-03 13:34:19 +02:00
Remy Sharp
d77c8679b2 Allow for external navigation on the drop down menu
Still not 100% perfect, we should really detect a click handler, but
it's pretty solid for jsbin
2012-06-03 13:34:09 +02:00
Remy Sharp
6e04195702 Fixed the height of the JS panel when errors appear 2012-06-03 10:37:31 +02:00
Remy Sharp
a9666eef86 Can't remember, but I'm sure it's important… 2012-06-03 10:37:31 +02:00
Remy Sharp
8b629ec839 added animated version of The Dude 2012-06-03 10:37:31 +02:00
Remy Sharp
26284047fc bin.javascript was undefined so we default the value just in case 2012-05-29 23:40:14 +01:00