rewrite console.log inserter.
This commit is contained in:
parent
b556553ab8
commit
173cf4e566
@ -1686,9 +1686,9 @@ window is active in the perspective."
|
|||||||
(setq imalison:identifier-count 0)
|
(setq imalison:identifier-count 0)
|
||||||
(defun imalison:console-log-unique ()
|
(defun imalison:console-log-unique ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(let* ((string-identifier (int-to-string imalison:identifier-count))
|
(let* ((identifier-string (int-to-string imalison:identifier-count))
|
||||||
(identifier-string (cl-loop for i from 0 to 30 concat string-identifier)))
|
(uuid (imalison:uuid)))
|
||||||
(insert (format "console.log('//////////%s//////////');" identifier-string))
|
(insert (format "console.log('%s//////////%s//////////');" identifier-string uuid))
|
||||||
(setq imalison:identifier-count (+ imalison:identifier-count 1))))
|
(setq imalison:identifier-count (+ imalison:identifier-count 1))))
|
||||||
(setq js2-bounce-indent-p nil
|
(setq js2-bounce-indent-p nil
|
||||||
js2-basic-offset 4
|
js2-basic-offset 4
|
||||||
|
Loading…
Reference in New Issue
Block a user