dreditor/dreditor — pull request #217 by SebCorbin (2014-07-15 15:32:54+00:00)
Title: Load only on Drupal 7 sites

The test for Drupal.ajax fix loading on old Drupal 6 sites (like localize.drupal.org) where behaviors have a different structure.

On localize.drupal.org I get a `Uncaught TypeError: object is not a function` in

```JavaScript
Drupal.attachBehaviors = function(context) {
context = context || document;
// Execute all of them.
jQuery.each(Drupal.behaviors, function() {
this(context);
});
};
```