|
65 | 65 |
|
66 | 66 | (defn set-pref! [pref val]
|
67 | 67 | (prefs/set-pref! pref val))
|
68 |
| - |
69 |
| -; -- deprecated API --------------------------------------------------------------------------------------------------------- |
70 |
| - |
71 |
| -(defn enable! [] |
72 |
| - (.warn (context/get-console) (str "devtools.core/enable! was removed " |
73 |
| - "and has no effect in " (make-lib-info) " " |
74 |
| - "=> remove the call"))) |
75 |
| - |
76 |
| -(defn disable! [] |
77 |
| - (.warn (context/get-console) (str "devtools.core/disable! was removed " |
78 |
| - "and has no effect in " (make-lib-info) " " |
79 |
| - "=> remove the call"))) |
80 |
| - |
81 |
| -(defn set-single-feature! [_feature _val] |
82 |
| - (.warn (context/get-console) (str "devtools.core/set-single-feature! was removed " |
83 |
| - "and has no effect in " (make-lib-info) " " |
84 |
| - "=> use (devtools.core/install! features) to install custom features"))) |
85 |
| - |
86 |
| -(defn enable-single-feature! [_feature] |
87 |
| - (.warn (context/get-console) (str "devtools.core/enable-single-feature! was removed " |
88 |
| - "and has no effect in " (make-lib-info) " " |
89 |
| - "=> use (devtools.core/install! features) to install custom features"))) |
90 |
| - |
91 |
| -(defn disable-single-feature! [_feature] |
92 |
| - (.warn (context/get-console) (str "devtools.core/disable-single-feature! was removed " |
93 |
| - "and has no effect in " (make-lib-info) " " |
94 |
| - "=> use (devtools.core/install! features) to install custom features"))) |
95 |
| - |
96 |
| -(defn enable-feature! [& _features] |
97 |
| - (.warn (context/get-console) (str "devtools.core/enable-feature! was removed " |
98 |
| - "and has no effect in " (make-lib-info) " " |
99 |
| - "=> use (devtools.core/install! features) to install custom features"))) |
100 |
| - |
101 |
| -(defn disable-feature! [& _features] |
102 |
| - (.warn (context/get-console) (str "devtools.core/disable-feature! was removed " |
103 |
| - "and has no effect in " (make-lib-info) " " |
104 |
| - "=> use (devtools.core/install! features) to install custom features"))) |
105 |
| - |
106 |
| -(defn single-feature-available? [_feature] |
107 |
| - (.warn (context/get-console) (str "devtools.core/single-feature-available? was removed " |
108 |
| - "and has no effect in " (make-lib-info) " " |
109 |
| - "=> use devtools.core/is-feature-available? instead"))) |
110 |
| - |
111 |
| -(defn feature-available? [& _features] |
112 |
| - (.warn (context/get-console) (str "devtools.core/feature-available? was removed " |
113 |
| - "and has no effect in " (make-lib-info) " " |
114 |
| - "=> use devtools.core/is-feature-available? instead"))) |
0 commit comments