Skip to content

Commit

Permalink
moved django.filters initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
dryan committed Jun 7, 2011
1 parent 0a55226 commit e5bc857
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions django-filters.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
if(!window['django']) {
window['django'] = {};
var django = window['django'];
}

if(!django.filters) {
django.filters = {};
window['django'] = {};
var django = window['django'];
}

(function(){
if(!django.filters) {
django.filters = {};
}

django.filters.utils = {
// borrowed from jQuery
Expand Down

0 comments on commit e5bc857

Please sign in to comment.