Skip to content

Commit

Permalink
Issue 7: Make date picker work in FF
Browse files Browse the repository at this point in the history
  • Loading branch information
Deborah-Digges committed Jul 27, 2015
1 parent 5b1f244 commit 3587452
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.html
Expand Up @@ -10,6 +10,11 @@
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootswatch/3.3.1/cosmo/bootstrap.min.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/app.css">

<script src="http://cdn.jsdelivr.net/webshim/1.12.4/extras/modernizr-custom.js"></script>
<script src="http://cdn.jsdelivr.net/webshim/1.12.4/polyfiller.js"></script>
<script type="text/javascript" src="js/webshim.js"></script>

</head>
<body ng-app="tdb-app" ng-controller="mController">
<!-- Fixed navbar -->
Expand Down
3 changes: 3 additions & 0 deletions js/webshim.js
@@ -0,0 +1,3 @@
webshims.setOptions('waitReady', false);
webshims.setOptions('forms-ext', {types: 'date'});
webshims.polyfill('forms forms-ext');

0 comments on commit 3587452

Please sign in to comment.