Skip to content

Commit

Permalink
Contacts: Conditionally load polyfills.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghus committed Dec 17, 2012
1 parent 75c54a0 commit 44ac62c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contacts/js/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Modernizr.load({
test: Modernizr.input.placeholder,
nope: [
OC.filePath('contacts', 'css', 'placeholder_polyfill.min.css'),
OC.filePath('contacts', 'js', 'placeholder_polyfill.jquery.min.combo.js')
]
});

var utils = {};

/**
Expand Down

0 comments on commit 44ac62c

Please sign in to comment.