mirror of
https://github.com/penpot/penpot.git
synced 2025-03-28 15:41:25 -05:00
✨ Extend GCL Deferred to work with promesa abstractions
This commit is contained in:
parent
0b53dc627f
commit
4d54d5c455
2 changed files with 15 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
[app.common.uri :as u]
|
||||
[app.common.version :as v]
|
||||
[app.util.avatars :as avatars]
|
||||
[app.util.extends]
|
||||
[app.util.globals :refer [global location]]
|
||||
[app.util.navigator :as nav]
|
||||
[app.util.object :as obj]
|
||||
|
|
14
frontend/src/app/util/extends.cljs
Normal file
14
frontend/src/app/util/extends.cljs
Normal file
|
@ -0,0 +1,14 @@
|
|||
;; This Source Code Form is subject to the terms of the Mozilla Public
|
||||
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
;;
|
||||
;; Copyright (c) KALEIDOS INC
|
||||
|
||||
(ns app.util.extends
|
||||
"A dummy namespace for closure library and other global objects
|
||||
extensions"
|
||||
(:require
|
||||
[promesa.impl :as pi])
|
||||
(:import goog.async.Deferred))
|
||||
|
||||
(pi/extend-promise! Deferred)
|
Loading…
Add table
Reference in a new issue