Browse Source

update tags

master
wes 8 years ago
parent
commit
d71bbb20b7
  1. 4
      src/scripts/class.tag
  2. 2
      src/scripts/search.tag

4
src/scripts/class.tag

@ -11,7 +11,7 @@
</button> </button>
<div if={ this.booksshown }> <div if={ this.booksshown }>
<dl> <dl>
<book each={ this.uniq(books) } data="{ this }"> <book each={ this.R.uniq(books) } data="{ this }">
</book> </book>
</dl> </dl>
</div> </div>
@ -24,7 +24,7 @@
<script> <script>
import { default as R } from 'ramda'; import { default as R } from 'ramda';
this.uniq = R.uniq; this.R = R;
this.booksshown = false; this.booksshown = false;
showbooks() { showbooks() {

2
src/scripts/search.tag

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

Loading…
Cancel
Save