I am getting these WARNINGs wherever I use them:
WARNING: Use of undeclared Var om.core/ref-cursor at line 46
src-cljs/scheduler_server/state.cljs
WARNING: Use of undeclared Var om.core/root-cursor at line 46
src-cljs/scheduler_server/state.cljs
WARNING: Use of undeclared Var om.core/ref-cursor at line 47
src-cljs/scheduler_server/state.cljs
WARNING: Use of undeclared Var om.core/root-cursor at line 47
src-cljs/scheduler_server/state.cljs
WARNING: Use of undeclared Var om.core/observe at line 122
src-cljs/scheduler_server/edit_vehicle.cljs
WARNING: Use of undeclared Var om.core/observe at line 113
src-cljs/scheduler_server/weekly.cljs
WARNING: Use of undeclared Var om.core/observe at line 71
src-cljs/scheduler_server/daily.cljs
WARNING: Use of undeclared Var om.core/observe at line 303
src-cljs/scheduler_server/edit_schedule.cljs
WARNING: Use of undeclared Var om.core/observe at line 304
src-cljs/scheduler_server/edit_schedule.cljs
WARNING: Use of undeclared Var om.core/observe at line 305
src-cljs/scheduler_server/edit_schedule.cljs
WARNING: Use of undeclared Var om.core/observe at line 306
src-cljs/scheduler_server/edit_schedule.cljs
WARNING: Use of undeclared Var om.core/observe at line 307
src-cljs/scheduler_server/edit_schedule.cljs
Even though I have the following declared:
(ns scheduler_server.state
(:require-macros [cljs.core.async.macros :refer [go go-loop]]
[dommy.macros :refer [node sel sel1]])
(:require [cljs.core.async :as async :refer [chan <! >! timeout pub sub unsub
unsub-all put! alts!]]
[cljs.core.match :refer-macros [match]]
[om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[om-sync.core :refer [om-sync]]
[om-sync.util :refer [tx-tag edn-xhr]]
[domina.css :as dominacss]
[dommy.utils :as dommyutils]
[dommy.core :as dommy]
[cljs-time.core :as time]
[cljs-time.local :as local]
[cljs-time.format :as format]
[cljs-time.coerce :as coerce]
[scheduler_server.utils :as utils]
))
I didn't start to get these until I upgraded to the latest version of
ClojureScript. Before that, I would get warnings on all of my local files
(i.e. "scheduler_server.utils :as utils").
Warnings seemed OK on my local environment. When I switched to my production
environment, the WARNINGs on Om functions resulted in "undefined call" errors.
So, I had to revert back to the last version that worked.
Has anyone seen this problem or have any idea how to fix it. It seems the last
version of ClojureScript that worked was [org.clojure/clojurescript
"0.0-2511"].
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.