pulsar/spec
Nathan Sobo 76a919f8b4 Perform document updates in same frame when requested from reads
A common pattern is to put something on the DOM, measure it, then update
the DOM again based on that measurement. This change ensures that any
updates requested as a result of reading from the DOM get scheduled for
the end of the current frame. If you want to read *again* after these
follow-on updates, you will need to wait for the next frame. But at
least this way we ensure instant feedback with minimal thrashing
(1 reflow) when we have no choice but to read the DOM before updating.

/cc @benogle
2015-04-20 22:01:36 -06:00
..
fixtures Add spec for invalid theme stylesheet notification 2015-04-15 09:18:02 -07:00
integration Use a guard clause to disable integration specs 2015-04-16 09:52:41 +02:00
atom-protocol-handler-spec.coffee Convert require ‘atom’ to require '../src/space-pen-extensions' 2014-11-26 14:55:38 -08:00
atom-reporter.coffee Fix deprecation location reporting in spec runner 2015-01-06 11:50:20 -07:00
atom-spec.coffee 🎨 Extract logic for storage folder into separate class 2015-04-15 15:09:49 -07:00
babel-spec.coffee 📝 Mention deprecations 2015-02-25 09:42:49 -08:00
buffered-node-process-spec.coffee Suppress deprecations in BufferedNodeProcess 2015-02-04 15:27:17 -08:00
buffered-process-spec.coffee Fall back to system root for cmd.exe path 2014-12-18 17:58:18 -08:00
clipboard-spec.coffee Add Clipboard::readWithMetadata 2014-02-03 13:20:28 -08:00
command-installer-spec.coffee Fix command-installer-spec 2014-09-25 20:39:04 -06:00
command-registry-spec.coffee Throw an error when adding an invalid selector 2015-03-04 10:02:03 -08:00
compile-cache-spec.coffee Added TypeScript to the compile-cache 2015-03-24 18:05:30 +11:00
config-spec.coffee Never load config settings from disk when a save is pending 2015-04-20 12:12:05 -06:00
context-menu-manager-spec.coffee Throw error when adding context menu with invalid selector 2015-03-04 10:02:03 -08:00
default-directory-provider-spec.coffee String.contains is not a standard method in Chrome 41 2015-03-24 12:06:03 +08:00
deserializer-manager-spec.coffee Return a Disposable instance from DeserializerManager::add 2014-09-30 12:58:10 -06:00
display-buffer-spec.coffee Improved specs for clipping pixel positions above/below display buffer 2015-04-01 12:39:22 -04:00
git-repository-provider-spec.coffee Add Repository::getType(). 2015-03-23 15:38:38 -07:00
git-spec.coffee Add buffer subscriptions to repo's subscriptions 2014-12-12 12:26:09 -08:00
jasmine-helper.coffee Disable focus methods on CI 2015-04-08 10:27:03 +02:00
language-mode-spec.coffee Fix paragraph computation in blocks of single line comments. 2015-04-13 16:26:24 -07:00
menu-manager-spec.coffee Construct test instance of MenuManager in spec 2014-09-29 11:45:01 -06:00
module-cache-spec.coffee Assert that resolved atom shell module paths exist 2014-10-15 13:12:42 -07:00
notification-manager-spec.coffee Notification::getTimestamp() 2014-11-24 14:58:21 -08:00
notification-spec.coffee Add dismissing to notifications 2014-12-05 13:46:01 -08:00
package-manager-spec.coffee Add notification when reloading stylesheets fails 2015-04-15 09:18:02 -07:00
package-spec.coffee Deprecate Project::resolve 2015-01-09 15:03:07 -08:00
pane-container-element-spec.coffee 🎨 Tidy up pane container resize element spec 2015-04-15 14:09:27 -07:00
pane-container-spec.coffee Capitalize initialisms 2015-01-12 22:00:24 -08:00
pane-container-view-spec.coffee 👕 Fix new coffeelint errors 2015-04-06 23:59:54 -04:00
pane-spec.coffee add specs for pane's serialization 2015-04-14 21:31:59 +08:00
pane-view-spec.coffee Move file drag and drop specs to pane-view-spec 2015-04-15 14:20:16 -07:00
panel-container-element-spec.coffee Simplify ViewRegistry::addViewProvider API 2014-12-01 17:53:03 -08:00
panel-container-spec.coffee Remove view registry references from the workspace model layer 2014-12-01 16:28:33 -08:00
panel-element-spec.coffee Simplify ViewRegistry::addViewProvider API 2014-12-01 17:53:03 -08:00
panel-spec.coffee Set ::visible to false on panels when they are destroyed 2014-12-09 13:41:33 -07:00
project-spec.coffee Snapshot deprecations around calls to Project::eachBuffer 2015-04-06 16:22:31 -07:00
random-editor-spec.coffee Fix random editor spec now for indented soft-wrap 2015-03-19 15:08:48 -06:00
row-map-spec.coffee Kill stray console.log 2014-02-02 19:29:54 +06:00
select-list-view-spec.coffee Convert require ‘atom’ to require '../src/space-pen-extensions' 2014-11-26 14:55:38 -08:00
selection-spec.coffee Editor -> TextEditor 2014-09-25 15:14:29 -07:00
space-pen-extensions-spec.coffee Convert require ‘atom’ to require '../src/space-pen-extensions' 2014-11-26 14:55:38 -08:00
spec-bootstrap.coffee Use path.join instead of path.resolve 2014-06-04 10:01:45 -07:00
spec-helper-platform.coffee 💄 Remove unneeded requires, variables, commas, and parens 2013-12-31 15:05:34 -08:00
spec-helper.coffee 🎨 2015-04-16 09:15:46 +02:00
spec-suite.coffee Export ReactEditorView as EditorView from 'atom' module 2014-07-21 10:43:30 -07:00
squirrel-update-spec.coffee Catch errors spawning squirrel 2015-01-07 10:24:19 -08:00
style-manager-spec.coffee Remove ‘group’ parameter to addStyleSheet in favor of ‘priority’ 2015-01-07 09:51:42 -07:00
styles-element-spec.coffee Remove ‘group’ parameter to addStyleSheet in favor of ‘priority’ 2015-01-07 09:51:42 -07:00
syntax-spec.coffee Remove specs for deprecated methods that are tested elsewhere 2014-11-26 14:55:39 -08:00
task-spec.coffee Assert stack trace location 2015-02-19 14:53:15 -08:00
text-editor-component-spec.coffee 🎨 Use tags to exclude spec on Linux 2015-04-14 19:34:04 +02:00
text-editor-element-spec.coffee Make EditorComponent a plain JS object rather than a React component 2015-02-19 17:14:57 -07:00
text-editor-presenter-spec.coffee Add specs from the text-editor-component 2015-04-01 17:41:00 -07:00
text-editor-spec.coffee Rename to safe-clipboard 2015-04-14 10:50:09 +02:00
text-utils-spec.coffee 📝 Mention combined characters in spec description 2014-10-24 13:31:42 -07:00
theme-manager-spec.coffee Add spec for invalid theme stylesheet notification 2015-04-15 09:18:02 -07:00
time-reporter.coffee Cleanup code according to coffeelint 2014-08-14 19:41:49 +02:00
tokenized-buffer-spec.coffee 👕 Fix new coffeelint errors 2015-04-06 23:59:54 -04:00
tokenized-line-spec.coffee scopeDescriptor -> scopes 2014-10-21 11:38:43 -07:00
tooltip-manager-spec.coffee 🐧 💚 Humanize keystrokes in specs 2015-04-13 12:24:25 +02:00
typescript-spec.coffee Addressed code review 2015-03-19 11:45:13 +11:00
view-registry-spec.coffee Perform document updates in same frame when requested from reads 2015-04-20 22:01:36 -06:00
window-spec.coffee Move file drag and drop specs to pane-view-spec 2015-04-15 14:20:16 -07:00
workspace-spec.coffee 👕 Fix new coffeelint errors 2015-04-06 23:59:54 -04:00
workspace-view-spec.coffee Remove Pane require from workspace view specs 2015-01-14 16:15:53 -08:00