catarse/mithril-postgrest

Error when importing

Closed this issue · 1 comments

Here is my code:
var postgrest = require('mithril-postgrest')
I am using mithril version 1.1.1
I get the following error:
Uncaught TypeError: m.prop is not a function
at _prelude.js:1
at m (_prelude.js:1)
at Object.1.mithril (_prelude.js:1)
at s (_prelude.js:1)
at _prelude.js:1
at Object.5.mithril (Machine.js:2)
at s (_prelude.js:1)
at _prelude.js:1
at Object.7.../models/Machine (MachineList.js:2)
at s (_prelude.js:1)

Hi, @ChiliConSql,

Currently, mithril-postgrest only supports mithril version 0.2.*.