magnars / optimus

A Ring middleware for frontend performance optimization.
364 stars 23 forks source link

Possible error in documentation #50

Closed ianjenkinsii closed 8 years ago

ianjenkinsii commented 8 years ago

From the documentation around lein export-assets

(defn export-assets []
  (-> (get-assets)
      (my-optimize options)
      (optimus.export/save-assets "./cdn-export/")))

Seems erroneous because options is not defined in this context.

magnars commented 8 years ago

Good point. I've assumed that options is defined in the same namespace. I'll try and make it clearer. :)