Commit Graph

140 Commits

Author SHA1 Message Date
Chris Wanstrath
e288902540 moving this hax to my personal ~/.atomicity for now 2011-08-28 01:47:58 -07:00
Chris Wanstrath
223e39a617 move ~/.atomicity loading into plugins.coffee 2011-08-28 01:47:36 -07:00
Chris Wanstrath
c31111099a throw 2011-08-28 01:40:30 -07:00
Chris Wanstrath
455ddd459e plugins.coffee 2011-08-28 01:40:30 -07:00
Chris Wanstrath
acde2b1961 tabs (enable with Cmd-Ctrl-T) 2011-08-28 01:40:27 -07:00
Chris Wanstrath
d7ef98de4f don't let plugin break each other 2011-08-28 01:02:05 -07:00
Chris Wanstrath
d7661be2c1 buggin me 2011-08-28 00:56:20 -07:00
Chris Wanstrath
b2f2eb4cb7 default ext handler just reads the file's contents 2011-08-28 00:48:52 -07:00
Chris Wanstrath
ac773daff6 expose require.__modules for debugging 2011-08-28 00:43:19 -07:00
Chris Wanstrath
c0e526ca07 smart 2011-08-28 00:43:04 -07:00
Chris Wanstrath
e465d7f690 turn plugins into define() style modules 2011-08-28 00:33:35 -07:00
Chris Wanstrath
003776da8f boom. errors with scripts and line numbers now show up in web inspector
https://img.skitch.com/20110828-rrfnqet2y2yrxq6witst6mrscx.png

fixes #3

atomicity modules that want to export an api must use define().
this mirrors ace's module definition style so it should fit in
fine.

$, _, and CoffeeScript are now global

scripts show up as loaded

before:

https://img.skitch.com/20110828-japr2cp4ucbr4a1kmp9degs3t.png

after:

https://img.skitch.com/20110828-txc782k47gn4rb67mhbujsgkw5.png
2011-08-28 00:26:38 -07:00
Chris Wanstrath
326f91bbef use JSCocoa to eval require.js - shows up in web inspector! 2011-08-27 22:19:59 -07:00
Chris Wanstrath
bc1ffc632f dont think we need that 2011-08-27 22:19:53 -07:00
Corey Johnson
01d9598984 💄 2011-08-27 21:51:54 -07:00
Corey Johnson
3cbd52895b stylin' 2011-08-27 21:51:38 -07:00
Corey Johnson
9f51505287 Export bindKey 2011-08-27 21:51:25 -07:00
Corey Johnson
90aea78c65 Moving code to a better place 2011-08-27 21:51:14 -07:00
Corey Johnson
9b7b956ccd Don't need it 2011-08-27 21:50:49 -07:00
Corey Johnson
da04cec4a9 Got to use the same export object for it to work 2011-08-27 21:27:41 -07:00
Corey Johnson
550967ffe8 __modules contains the full expanded filename. Also, a temporary empty object is set for the files __module so we can have some circular references.
This is how commonJS says to do it (I think).

Fixes #4.
2011-08-27 21:17:06 -07:00
Corey Johnson
57d81aea8d i still love you web console! 2011-08-27 19:13:34 -07:00
Corey Johnson
55f40a1b3e Expand paths of /* paths as well. 2011-08-27 18:19:00 -07:00
Corey Johnson
896a2c279b cwd could change, limit search to plugin folder in bundle. 2011-08-27 18:18:11 -07:00
Corey Johnson
8b9066b4b5 do not need you anymore 2011-08-27 17:03:44 -07:00
Chris Wanstrath
9d54c6cc20 cleaner, way more awesome, 100x better require() 2011-08-27 16:52:08 -07:00
Chris Wanstrath
9af38c8c53 plugins/ (not working yet) 2011-08-27 15:13:12 -07:00
Chris Wanstrath
cfdce83925 require() can take absolute paths 2011-08-27 15:01:31 -07:00
Chris Wanstrath
22649889fb Dir.list only goes one level deep unless you ask it to go deeper 2011-08-27 14:46:36 -07:00
Chris Wanstrath
488697884f add support for index.js to require() 2011-08-27 14:26:52 -07:00
Chris Wanstrath
64516b7242 File.expand './dir' 2011-08-27 14:14:59 -07:00
Chris Wanstrath
80c643b136 fuuu ui bug 2011-08-27 04:13:32 -07:00
Chris Wanstrath
cfbe347eb7 error message 2011-08-27 04:11:40 -07:00
Chris Wanstrath
b2423530ca Merge branch 'reorg' 2011-08-27 03:56:55 -07:00
Chris Wanstrath
409a77c485 gigantic ass reorg. let me know if this breaks. 2011-08-27 03:55:56 -07:00
Chris Wanstrath
6708f52280 everyone gets _ by default 2011-08-27 02:52:54 -07:00
Chris Wanstrath
f4528a6d05 kill the tabs for now. make life easy 2011-08-27 02:48:42 -07:00
Chris Wanstrath
28843b75bb remove the awesome hover effect for now 2011-08-27 02:21:26 -07:00
Chris Wanstrath
d21f74bd7d omg, killed the iframe. require() works wonderfully. 2011-08-27 02:15:24 -07:00
Chris Wanstrath
efc824b082 commonjs jquery 2011-08-27 01:59:01 -07:00
Chris Wanstrath
aa06f5c66a whitespace 2011-08-27 01:58:44 -07:00
Chris Wanstrath
2fad97859f pull bindKey out of osx.coffee 2011-08-27 01:44:28 -07:00
Chris Wanstrath
d7e925947c missing require 2011-08-27 01:43:43 -07:00
Chris Wanstrath
5721f65c42 big jquery 2011-08-27 00:31:01 -07:00
Chris Wanstrath
8c0b595411 uncompressed ace and pilot 2011-08-27 00:14:44 -07:00
Chris Wanstrath
aa5032f145 kill the iframe 2011-08-26 22:55:49 -07:00
Chris Wanstrath
d8c721e359 new icon 2011-08-26 21:23:00 -07:00
Corey Johnson
35f0bec9d0 Forgot to add the 'no more frames' file. 2011-08-26 17:05:55 -07:00
Corey Johnson
c447cb91dd Tabs 2011-08-26 17:05:35 -07:00
Corey Johnson
1e7f547920 Add panes like this 2011-08-26 17:05:17 -07:00