Skip to content

Commit

Permalink
.vaultbrew
Browse files Browse the repository at this point in the history
  • Loading branch information
marloso2 authored Dec 3, 2019
1 parent 95d9424 commit bdeefb0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cljs/orcpub/dnd/e5/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -3127,7 +3127,7 @@
(let [blob (js/Blob.
(clj->js [(str plugin)])
(clj->js {:type "text/plain;charset=utf-8"}))]
(js/saveAs blob (str name ".dmvbrew"))
(js/saveAs blob (str name ".vaultbrew"))
{})))

(reg-event-fx
Expand All @@ -3136,7 +3136,7 @@
(let [blob (js/Blob.
(clj->js [(str @(subscribe [::e5/plugins]))])
(clj->js {:type "text/plain;charset=utf-8"}))]
(js/saveAs blob (str "all-content.dmvbrew"))
(js/saveAs blob (str "all-content.vaultbrew"))
{})))

(reg-event-fx
Expand All @@ -3145,15 +3145,15 @@
(let [blob (js/Blob.
(clj->js [(with-out-str (pprint/pprint plugin))])
(clj->js {:type "text/plain;charset=utf-8"}))]
(js/saveAs blob (str name ".dmvbrew"))
(js/saveAs blob (str name ".vaultbrew"))
{})))
(reg-event-fx
::e5/export-all-plugins-pretty-print
(fn [_ _]
(let [blob (js/Blob.
(clj->js [(with-out-str (pprint/pprint @(subscribe [::e5/plugins])))])
(clj->js {:type "text/plain;charset=utf-8"}))]
(js/saveAs blob (str "all-content.dmvbrew"))
(js/saveAs blob (str "all-content.vaultbrew"))
{})))

(reg-event-fx
Expand Down Expand Up @@ -3197,7 +3197,7 @@
(spec/explain-data ::e5/plugins plugin))
(prn "INVALID PLUGIN FILE"
(spec/explain-data ::e5/plugin plugin))
{:dispatch [:show-error-message "Invalid .orcbrew/.dmvbrew file"]})))))
{:dispatch [:show-error-message "Invalid .orcbrew/.vaultbrew file"]})))))

(reg-event-db
::spells/set-spell
Expand Down

0 comments on commit bdeefb0

Please sign in to comment.