diff options
Diffstat (limited to 'theme/javascript/core/state.js')
-rw-r--r-- | theme/javascript/core/state.js | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/theme/javascript/core/state.js b/theme/javascript/core/state.js index fc67d7b..b219f5d 100644 --- a/theme/javascript/core/state.js +++ b/theme/javascript/core/state.js @@ -1,14 +1,12 @@ define([ "jQuery" ], function() { - return function() { - var $book = $(".book"); + var $book = $(".book"); - return { - '$book': $book, + return { + '$book': $book, - 'githubId': $book.data("github"), - 'level': $book.data("level") - }; + 'githubId': $book.data("github"), + 'level': $book.data("level") }; });
\ No newline at end of file |