344 Commits

Autor SHA1 Mensagem Data
Corey Johnson 5bce8f00d7 Fix bug with 'not' selectors in specifity.js 2012-02-07 15:41:05 -08:00
Nathan Sobo bb640dd342 Use $$ -> to render ad-hoc document fragments
Also eliminate stdlib/template directory which held code related to
SpacePen's precursor framework.
2012-02-06 16:19:43 -07:00
Nathan Sobo 64a97b9427 Use SpacePen for all views
SpacePen is better because its objects inherit directly from the jQuery
prototype, meaning you can create them with `new`.
2012-02-06 12:12:45 -07:00
Nathan Sobo f1a5368eb3 Remove Coffeekup and Handlebars 2012-02-06 12:11:45 -07:00
Nathan Sobo 0e677b6b82 Update ace to 5b6e24dd0953e4728766bd8d6c807a48e9ec61cd 2012-01-31 19:23:42 -07:00
Corey Johnson & Nathan Sobo 31a1091f6c Update coffee-script to 1.2 2012-01-25 08:39:36 -08:00
Corey Johnson & Nathan Sobo 6ed0684eed Fix Project.getFilePaths spec. It returns relative paths. 2012-01-11 13:16:10 -08:00
Nathan Sobo 65605409b0 Favor key bindings with the most specific CSS selectors
Now if a keypress event bubbles to an element with bindings for
multiple matching selectors, the most specific selector is chosen. This
allows us to override a keybinding by using a more specific selector.
For example, say we have an editor instance inside of the file-finder
widget, so that the user can use all their normal bindings when they
type the name of the file. Except when they hit <esc> we want to close
the file finder, not do whatever they normally have it bound to. Now we
can just say:

```
.file-finder .editor {
  <esc>: close-file-finder
}
```

And we're assured that our binding will take precedence.
2012-01-11 13:16:10 -08:00
Corey Johnson & Nathan Sobo e23d3824e8 Add explicit callback-based waitsFor block completion to Jasmine.
In Jasmine, you can now declare formal parameters in the function you pass to waitsFor. It will automatically pass function args for those params. The spec only advances when you call *all* the given functions.
2012-01-03 11:17:56 -07:00
Nathan Sobo 51c89acc5b Add FileFinder with a findMatches method that returns ranked urls.
Change stringscore.js to be a function that takes a string, rather than extending the prototype.
2011-12-28 13:53:39 -06:00
Nathan Sobo a7aa1d2b75 Add jasmine jquery matchers. 2011-12-27 17:42:29 -06:00
Nathan Sobo 5b7a80f707 fdescribe / fit can be used to focus specs manually 2011-12-23 15:38:22 -06:00
Corey Johnson 8efbd8c281 Move keybindings to window.
Window has startup and shutdown methods.
2011-12-19 12:59:11 -08:00
Nathan Sobo 30adef91fc Using hotkeys JQuery plugin. 2011-12-16 16:30:53 -08:00
Corey Johnson fbb3efacf4 wii - gettings specs on App.open. Window closing not working quite right. 2011-12-14 16:24:30 -08:00
Corey Johnson 6ce5d32d83 Render the initial window layout programmatically with a template.
Remove layout html from the bootstrap page. Now the same page can be used for specs and the editor windows.
2011-12-14 11:26:14 -08:00
Corey Johnson & Nathan Sobo 607149a07d Half-baked template experiment 2011-12-12 16:24:55 -08:00
Corey Johnson e1d4f5c985 New jQuery. 2011-12-01 12:49:27 -05:00
Chris Wanstrath b9fc94ef6c update ace to cd271f1a8bd33712f90dc91d0105bc6674e8c6a4 2011-11-29 09:16:56 -08:00
Chris Wanstrath 074a887f5c vendor handlebars.js 2011-11-26 01:14:24 -08:00
Chris Wanstrath bbc4779f4d fuuuu our require() sux 2011-11-25 23:57:17 -08:00
Chris Wanstrath 90d069b3f1 update underscore to 1.2.2 2011-11-25 23:52:15 -08:00
Chris Wanstrath 608d1dce36 argh!
https://github.com/ajaxorg/ace/issues/534
2011-11-25 23:06:59 -08:00
Chris Wanstrath 0d5d3d865f update ace
Loading is now visibly more janky, but I think
https://github.com/ajaxorg/ace/commit/d3ba5b8111861563f2ab219910446fe0ab23f18e
fixes a lot of our problems.

I tested this on split-panes-2.0 and a major bug (no input
after resizing) is now gone. Poof.
2011-11-25 22:58:50 -08:00
Chris Wanstrath c8aa59f4b3 Revert "update ace"
This reverts commit b776e422c3.
2011-11-25 18:20:45 -08:00
Chris Wanstrath b776e422c3 update ace
Loading is now visibly more janky, but I think
https://github.com/ajaxorg/ace/commit/d3ba5b8111861563f2ab219910446fe0ab23f18e
fixes a lot of our problems.

I tested this on split-panes-2.0 and a major bug (no input
after resizing) is now gone. Poof.
2011-11-25 12:26:16 -08:00
Chris Wanstrath a1c5af0e48 modal selector needs stringscore 2011-11-12 21:44:04 -08:00
Corey Johnson 80ef6d9fa8 Fix for the blue screen of death 2011-11-11 11:16:58 -08:00
Chris Wanstrath 11db5e1a5a Upgrade ace & pilot. Fixes #44 2011-11-06 16:14:56 -08:00
Corey Johnson d8d98ca7e3 first pass at key bindings. just replicating keymaster for now. 2011-09-23 15:57:18 -07:00
Corey Johnson 39080d0132 not ready yet 2011-09-16 15:35:59 -07:00
Corey Johnson a1c2e80d12 findAll fix.
#ace
2011-09-16 14:58:05 -07:00
Chris Wanstrath 9cbc801eeb weird, why isn't for a keyword? 2011-09-10 22:18:47 -07:00
Corey Johnson 0e8dbd0397 This was causing errors. I don't even get how this
would work.

Also, this fixed the "Yellow screen on first load"
but I was having.
2011-09-08 20:09:40 -07:00
Chris Wanstrath 4f1397ef3c make _.js work in strict mode 2011-09-08 18:04:33 -07:00
Chris Wanstrath 32f7a080ef upgrade ace and pilot to newest 2011-09-08 00:43:51 -07:00
Chris Wanstrath fdfcd0ac25 de-debug 2011-09-04 21:24:11 -07:00
Chris Wanstrath 06e0a46c1c make ace's coffee mode 1000x better
before and after:

https://img.skitch.com/20110905-najte87m4cq32unmd6eyigikcf.png

submitted upstream:

https://github.com/ajaxorg/ace/pull/411
2011-09-04 21:20:55 -07:00
Chris Wanstrath 8fa91ed75d clear all key modifiers on blur 2011-09-04 20:26:26 -07:00
Chris Wanstrath 4dee3710f0 blur matters 2011-09-04 19:29:37 -07:00
Chris Wanstrath 6186c278fd tweak keymater with our own changes 2011-09-04 19:23:52 -07:00
Chris Wanstrath 3efba12e10 vendor keymaster 2011-09-04 19:23:52 -07:00
Chris Wanstrath 51c06a956a commonjs assert module. thanks node! 2011-09-02 00:08:14 -07:00
Chris Wanstrath 409a77c485 gigantic ass reorg. let me know if this breaks. 2011-08-27 03:55:56 -07:00