Module pattern for compose.js

(imported from commit 8ea9d949b793285e8722bebcef30991d06e5673e)
This commit is contained in:
Keegan McAllister
2012-10-18 14:29:16 -04:00
parent c4bf81a312
commit e7661f7b2f
8 changed files with 85 additions and 81 deletions

View File

@@ -1,3 +1,5 @@
var status_classes = 'alert-error alert-success alert-info';
function autofocus(selector) {
$(function () {
$(selector)[0].focus();