Permalink
Browse files

removing standalone.js from js floder

  • Loading branch information...
1 parent 4968992 commit 119cebbda92b0d6cd068a3b56c45275f666639a8 @thgreasi committed Aug 25, 2012
Showing with 0 additions and 21 deletions.
  1. +0 −21 js/DatalistPolyfill.standalone.js
@@ -1,21 +0,0 @@
-$(document).ready(function () {
- var nativedatalist = false;
- // check if modernizr is available or use the handmade way
- if (typeof Modernizr != 'undefined' &&
- typeof Modernizr.input != 'undefined' &&
- typeof Modernizr.input.list != 'undefined') {
- nativedatalist = Modernizr.input.list;
- } else {
- nativedatalist = !!('list' in document.createElement('input')) &&
- !!(document.createElement('datalist') && window.HTMLDataListElement);
- }
-
- if (!nativedatalist) {
- $('input[list]').each(function () {
- var availableTags = $('#' + $(this).attr("list")).find('option').map(function () {
- return this.value;
- }).get();
- $(this).autocomplete({ source: availableTags });
- });
- }
-});

0 comments on commit 119cebb

Please sign in to comment.