(ns webapp.framework.client.init
  (:require
   [goog.net.cookies                         :as cookie]
   [om.core                                  :as om    :include-macros true]
   [om.dom                                   :as dom   :include-macros true]
   [webapp.framework.client.coreclient       :as c     :include-macros true]
   [cljs.core.async                          :refer [put! chan <! pub timeout]]
   [clojure.data                             :as data]
   [clojure.string                           :as string]
   [ankha.core                               :as ankha])

  (:use
    [myappshare.mainapp                                             :only   [main-view]]
    [webapp.framework.client.system-globals                         :only   [app-state]])

  (:require-macros
   [cljs.core.async.macros :refer [go]]))

(c/ns-coils 'webapp.framework.client.init)







(defn setup-properties []
  {
   :start-component
   main-view

   :setup-fn
   (fn[]
     (do
     (reset!
      app-state

      (assoc-in
       @app-state [:ui]
       {


        }))

       (reset!
         app-state

         (assoc-in
           @app-state [:editor] "text"
           ))

  ))})



(def  ^:export setup
  (setup-properties))

(ns webapp.framework.client.init
  (:require
   [goog.net.cookies                         :as cookie]
   [om.core                                  :as om    :include-macros true]
   [om.dom                                   :as dom   :include-macros true]
   [webapp.framework.client.coreclient       :as c     :include-macros true]
   [cljs.core.async                          :refer [put! chan <! pub timeout]]
   [clojure.data                             :as data]
   [clojure.string                           :as string]
   [ankha.core                               :as ankha])

  (:use
    [myappshare.mainapp                                             :only   [main-view]]
    [webapp.framework.client.system-globals                         :only   [app-state]])

  (:require-macros
   [cljs.core.async.macros :refer [go]]))

(c/ns-coils 'webapp.framework.client.init)







(defn setup-properties []
  {
   :start-component
   main-view

   :setup-fn
   (fn[]
     (do
     (reset!
      app-state

      (assoc-in
       @app-state [:ui]
       {


        }))

       (reset!
         app-state

         (assoc-in
           @app-state [:editor] "blockly"
           ))

  ))})



(def  ^:export setup
  (setup-properties))

Make Blockly the default editor
Make Blockly the default editor

this should make AppShare very easy to get started with

zubairq/yazz,zubairq/AppShare,zubairq/gosharedata,zubairq/gosharedata,zubairq/yazz,zubairq/AppShare,zubairq/AppShare,zubairq/AppShare