This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>Hello World</title> | |
| <script src="lib/touch/sencha-touch.js" type="text/javascript"></script> | |
| <script type="text/javascript" src="out/goog/base.js"></script> | |
| <script src="test.js" type="text/javascript"></script> | |
| <script>goog.require('test');</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (progress | |
| [timestamp] | |
| (let [[out in] (split-with #(< (first %) timestamp) end-timestamp-sorted-map) | |
| new-sorted-map (into (sorted-map) in) | |
| new-hashed-map (reduce | |
| dissoc key-hashed-map | |
| (map first | |
| (filter #(empty? (second %)) | |
| (reduce | |
| (fn [m x] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (deftype Element [data start end] :as this | |
| clojure.lang.Associative | |
| (assoc [key value] | |
| (apply (fn [data start end] | |
| (Element. data start end)) | |
| (vals (assoc {:data (:data this) | |
| :start (:start this) | |
| :end (:end this)} | |
| key value))))) |
NewerOlder