Browse Source

update with fixes and stylistic changes

master
wes 7 years ago
parent
commit
7734f5fd87
  1. 6
      src/scripts/helpers.js
  2. 2
      src/scripts/search.tag
  3. 2
      src/templates/search.html

6
src/scripts/helpers.js

@ -17,11 +17,7 @@ function filterCourses(courses) {
courses[i].books = "";
}
}
return R.filter(
function (c) {
return c.prof != "Staff";
}, courses);
return R.filter((c) => { return c.prof != "Staff"}, courses);
}
function groupsof(n, xs) {

2
src/scripts/search.tag

@ -43,7 +43,7 @@
<script>
import {filterCourses, groupsof} from './helpers.js';
import 'whatwg-fetch'
import 'whatwg-fetch';
var self = this;
submit(ev) {

2
src/templates/search.html

@ -1,3 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<meta name="viewport" content="width=device-width, initial-scale=1">
<header class="text-center nav navbar">
<section class="page-top navbar-section">

Loading…
Cancel
Save