Skip to content

Instantly share code, notes, and snippets.

@mfikes
Created March 8, 2015 22:34
Show Gist options
  • Save mfikes/7a78f2694040972204a5 to your computer and use it in GitHub Desktop.
Save mfikes/7a78f2694040972204a5 to your computer and use it in GitHub Desktop.
goog.provide("goby.core");
goog.require("cljs.core");
goog.require("clojure.data");
goog.require("clojure.set");
goby.core.env = cljs.core.atom.call(null, cljs.core.PersistentArrayMap.EMPTY);
goby.core.table_view_scroll_positions = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null, "table-view-scroll-position-none", "table-view-scroll-position-none", -1642981970), 0, new cljs.core.Keyword(null, "table-view-scroll-position-top", "table-view-scroll-position-top", -612953771), 1, new cljs.core.Keyword(null, "table-view-scroll-position-middle", "table-view-scroll-position-middle", 915394854), 2, new cljs.core.Keyword(null, "table-view-scroll-position-bottom", "table-view-scroll-position-bottom",
1840072949), 3], null);
goby.core.table_view_scroll_positions_SINGLEQUOTE_ = clojure.set.map_invert.call(null, goby.core.table_view_scroll_positions);
goby.core.table_view_row_animations = new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null, "table-view-row-animation-fade", "table-view-row-animation-fade", -1248790640), 0, new cljs.core.Keyword(null, "table-view-row-animation-right", "table-view-row-animation-right", 947537901), 1, new cljs.core.Keyword(null, "table-view-row-animation-left", "table-view-row-animation-left", -1078944673), 2, new cljs.core.Keyword(null, "table-view-row-animation-top", "table-view-row-animation-top",
253576401), 3, new cljs.core.Keyword(null, "table-view-row-animation-bottom", "table-view-row-animation-bottom", -1509874614), 4, new cljs.core.Keyword(null, "table-view-row-animation-none", "table-view-row-animation-none", -54268830), 5, new cljs.core.Keyword(null, "table-view-row-animation-middle", "table-view-row-animation-middle", -785887631), 6, new cljs.core.Keyword(null, "table-view-row-animation-automatic", "table-view-row-animation-automatic", -1382759613), 100], null);
goby.core.table_view_row_animations_SINGLEQUOTE_ = clojure.set.map_invert.call(null, goby.core.table_view_row_animations);
goby.core.table_view_cell_accessory_types = new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null, "table-view-cell-accessory-none", "table-view-cell-accessory-none", -890859927), 0, new cljs.core.Keyword(null, "table-view-cell-accessory-disclosure-indicator", "table-view-cell-accessory-disclosure-indicator", 1325067086), 1, new cljs.core.Keyword(null, "table-view-cell-accessory-detail-disclosure-button", "table-view-cell-accessory-detail-disclosure-button", -1383412134), 2, new cljs.core.Keyword(null,
"table-view-cell-accessory-checkmark", "table-view-cell-accessory-checkmark", -814411755), 3, new cljs.core.Keyword(null, "table-view-cell-accessory-detail-button", "table-view-cell-accessory-detail-button", -1557077628), 4], null);
goby.core.table_view_cell_accessory_types_SINGLEQUOTE_ = clojure.set.map_invert.call(null, goby.core.table_view_cell_accessory_types);
goby.core.table_view_cell_editing_styles = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null, "table-view-cell-editing-style-none", "table-view-cell-editing-style-none", -1744008135), 0, new cljs.core.Keyword(null, "table-view-cell-editing-style-delete", "table-view-cell-editing-style-delete", 463420268), 1, new cljs.core.Keyword(null, "table-view-cell-editing-style-insert", "table-view-cell-editing-style-insert", -966066330), 2], null);
goby.core.table_view_cell_editing_styles_SINGLEQUOTE_ = clojure.set.map_invert.call(null, goby.core.table_view_cell_editing_styles);
goby.core.device_orientations = new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null, "device-orientation-unknown", "device-orientation-unknown", -988418978), 0, new cljs.core.Keyword(null, "device-orientation-portrait", "device-orientation-portrait", 862666240), 1, new cljs.core.Keyword(null, "device-orientation-portrait-upside-down", "device-orientation-portrait-upside-down", 1347570652), 2, new cljs.core.Keyword(null, "device-orientation-landscape-left", "device-orientation-landscape-left",
1905607639), 3, new cljs.core.Keyword(null, "device-orientation-landscape-right", "device-orientation-landscape-right", -867475354), 4, new cljs.core.Keyword(null, "device-orientation-face-up", "device-orientation-face-up", -78137607), 5, new cljs.core.Keyword(null, "device-orientation-face-down", "device-orientation-face-down", -1464577201), 6], null);
goby.core.device_orientations_SINGLEQUOTE_ = clojure.set.map_invert.call(null, goby.core.device_orientations);
goby.core.interface_orientations = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null, "interface-orientation-portrait", "interface-orientation-portrait", 1734401582), (new cljs.core.Keyword(null, "device-orientation-portrait", "device-orientation-portrait", 862666240)).cljs$core$IFn$_invoke$arity$1(goby.core.device_orientations), new cljs.core.Keyword(null, "interface-orientation-portrait-upside-down", "interface-orientation-portrait-upside-down", -1712994715), (new cljs.core.Keyword(null,
"device-orientation-portrait-upside-down", "device-orientation-portrait-upside-down", 1347570652)).cljs$core$IFn$_invoke$arity$1(goby.core.device_orientations), new cljs.core.Keyword(null, "interface-orientation-landscape-left", "interface-orientation-landscape-left", -1950290788), (new cljs.core.Keyword(null, "device-orientation-landscape-left", "device-orientation-landscape-left", 1905607639)).cljs$core$IFn$_invoke$arity$1(goby.core.device_orientations), new cljs.core.Keyword(null, "interface-orientation-landscape-right",
"interface-orientation-landscape-right", -1526757763), (new cljs.core.Keyword(null, "device-orientation-landscape-right", "device-orientation-landscape-right", -867475354)).cljs$core$IFn$_invoke$arity$1(goby.core.device_orientations)], null);
goby.core.interface_orientations_SINGLEQUOTE_ = clojure.set.map_invert.call(null, goby.core.interface_orientations);
goby.core.ui_control_events = cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null, "touch-drag-enter", "touch-drag-enter", 236658304), new cljs.core.Keyword(null, "touch-down-repeat", "touch-down-repeat", -1534506460), new cljs.core.Keyword(null, "editing-did-end", "editing-did-end", -2047168603), new cljs.core.Keyword(null, "touch-up-inside", "touch-up-inside", 1460406502), new cljs.core.Keyword(null, "editing-changed", "editing-changed", 1673458857), new cljs.core.Keyword(null, "touch-cancel",
"touch-cancel", 1616873900), new cljs.core.Keyword(null, "editing-did-begin", "editing-did-begin", -797785838), new cljs.core.Keyword(null, "editing-did-end-on-exit", "editing-did-end-on-exit", -774854443), new cljs.core.Keyword(null, "value-changed", "value-changed", -2126453769), new cljs.core.Keyword(null, "touch-drag-outside", "touch-drag-outside", 298384568), new cljs.core.Keyword(null, "touch-up-outside", "touch-up-outside", -101658408), new cljs.core.Keyword(null, "touch-down", "touch-down",
1746788891), new cljs.core.Keyword(null, "touch-drag-exit", "touch-drag-exit", -977538052), new cljs.core.Keyword(null, "touch-drag-inside", "touch-drag-inside", -251510179)], [1 << 4, 1 << 1, 1 << 18, 1 << 6, 1 << 17, 1 << 8, 1 << 16, 1 << 19, 1 << 12, 1 << 3, 1 << 7, 1 << 0, 1 << 5, 1 << 2]);
goby.core.inverted_ui_control_events = clojure.set.map_invert.call(null, goby.core.ui_control_events);
goby.core.attributes = new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null, "not-applicable", "not-applicable", 1341934534), 0, new cljs.core.Keyword(null, "enabled", "enabled", 1195909756), 1, new cljs.core.Keyword(null, "text", "text", -1790561697), 2, new cljs.core.Keyword(null, "selected", "selected", 574897764), 3, new cljs.core.Keyword(null, "highlighted", "highlighted", 1723498733), 4, new cljs.core.Keyword(null, "hidden", "hidden", -312506092), 5], null);
goby.core.inverted_attributes = clojure.set.map_invert.call(null, goby.core.attributes);
goby.core.form_events_mask = function form_events_mask(ui_control_events_set) {
return cljs.core.reduce.call(null, cljs.core.bit_or, 0, cljs.core.map.call(null, goby.core.ui_control_events, ui_control_events_set));
};
goby.core.fetched_results_change_type = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null, "fetched-results-change-insert", "fetched-results-change-insert", 1345909255), 1, new cljs.core.Keyword(null, "fetched-results-change-delete", "fetched-results-change-delete", -542371717), 2, new cljs.core.Keyword(null, "fetched-results-change-move", "fetched-results-change-move", -151942895), 3, new cljs.core.Keyword(null, "fetched-results-change-update", "fetched-results-change-update",
-389434759), 4], null);
goby.core.fetched_results_change_type_SINGLEQUOTE_ = clojure.set.map_invert.call(null, goby.core.fetched_results_change_type);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment