From 75409e0ed31a9f3e8bbc5b3410362e564c3b32fd Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Wed, 18 Feb 2009 20:31:58 -0800 Subject: [PATCH] - Doc for contexts --- README.rdoc | 4 +++- lib/jspec.jquery.js | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rdoc b/README.rdoc index 516de1df..1ffe50e0 100644 --- a/README.rdoc +++ b/README.rdoc @@ -100,7 +100,9 @@ Custom contexts can be applied to supply helper methods or properties to all subsequent bodies (other hooks, or specs). In most cases the default context will suffice, in combination with the -'this' keyword. +'this' keyword. Keep in mind that when replacing the default context +you will loose functionality provided by it, unless you manually merge it +into your custom context. ... before diff --git a/lib/jspec.jquery.js b/lib/jspec.jquery.js index a3b0df72..b5dd5b45 100644 --- a/lib/jspec.jquery.js +++ b/lib/jspec.jquery.js @@ -1,7 +1,6 @@ // TODO: fix stupid sizzle bug // TODO: have_attr('attr', value) -// TODO: have_css('prop', value) // TODO: ajax // TODO: events etc