Juho Teperi
b7304d0f3f
Fix aget/aset use with objects
...
This removes the interop macros which used aget/aset and prevented
Closure naming mangling, now normal property and method access is used
where possible, and goog.object used when using variable keys. Further
testing is needed to ensure this works correctly with Closure, as there
are some properties that are used with goog.object in one place, and as
property in another.
Fixes #324
2018-04-19 17:25:37 +03:00
Juho Teperi
6e5356d8b9
Fix and optimize Cljs compiler options
...
- Enable aot-cache for all builds
- :source-map true is default, no need to set here
- Disable figwheel config validation for now
- Move prerender namespace, which uses built-in Node modules, to
separate folder to ensure this is not part of other builds.
- Use single source-path folder for Cljs to ensure less files are
compiled.
2018-04-17 20:24:41 +03:00
Juho Teperi
ad96d3cbbd
Ensure prerender code is not evaluated during tests
2018-04-16 20:50:32 +03:00
Juho Teperi
fddedf4143
Use md5 hash for demo site cache busting instead of build timestamp
2018-04-16 20:41:41 +03:00
Juho Teperi
52b0b2eba4
Fix demo site build script, stop usinn lein profile merging
2017-10-18 14:25:41 +03:00
Juho Teperi
fd93b09c96
Rework test runner and prerendering
...
Use doo for tests.
2017-09-29 01:34:06 +03:00
Juho Teperi
8ff70c7eb9
Separate prerender code using dom-server and browser JS code
...
Requiring react-dom-server with React 15.4 in browser code would increase
filesize by about 100KB. This change separates the pre-render code to
a different file which is only used by a separate Lein profile.
2017-03-11 00:37:12 +02:00
Juho Teperi
8630ab5239
Fix #278 : Replace mentions of render-component with render
2017-03-10 17:19:19 +02:00
Juho Teperi
560f99174a
Fix dom-server calls in demo and text code
2016-11-17 02:58:44 +02:00
Dan Holmsand
fe749392d7
Tweak history handling in demo
2016-05-02 12:44:02 +02:00
Dan Holmsand
e31c72670c
Use emit instead of dispatch
...
Shorter, and possibly less confusing.
2016-04-30 14:55:04 +02:00
Dan Holmsand
45b93c8145
Rename .' and .! to $ and $! respectively
...
This seems to be necessary to avoid trouble with bootstrapped cljs.
The old macros are still around, but deprecated.
2015-10-22 13:23:49 +02:00
Dan Holmsand
78fffe263e
Make next-tick more predictable, add after-render
2015-10-11 22:08:42 +02:00
Dan Holmsand
f62bf44661
Update demo to use rswap!
...
and fix old-style url in new051
2015-09-24 11:05:37 +02:00
Dan Holmsand
2558cd6708
A little cleanup
2015-09-16 17:55:45 +02:00
Dan Holmsand
38250c763b
Cleanup config handling
2015-09-15 13:36:02 +02:00
Dan Holmsand
ea75be2952
Go back to not using secretary
2015-09-15 12:27:07 +02:00
Dan Holmsand
a8c86f4f1f
Simplify history handling
2015-09-15 11:57:12 +02:00
Dan Holmsand
2cb96ca5d2
Cosmetics
2015-09-09 22:05:14 +02:00
Dan Holmsand
679d75bf5d
Wip
2015-09-09 17:39:18 +02:00
Dan Holmsand
440956c9a9
cleanup
2015-09-09 16:00:21 +02:00
Dan Holmsand
680b19a772
Cleanup
2015-09-09 12:36:04 +02:00
Dan Holmsand
27ef8a42fd
Cleanup
2015-09-09 12:13:04 +02:00
Dan Holmsand
7284460ef7
rswap! always reutrns nil
2015-09-09 11:46:41 +02:00
Dan Holmsand
47a0d80a70
Simplify
2015-09-09 10:51:37 +02:00
Dan Holmsand
007de00033
wip
2015-09-09 10:17:06 +02:00
Dan Holmsand
5be4845be1
Make rswap exception safe
2015-09-09 09:29:09 +02:00
Dan Holmsand
ee2644836d
add back register-page
2015-09-08 20:18:27 +02:00
Dan Holmsand
d728820191
Fix page history
2015-09-08 19:35:05 +02:00
Dan Holmsand
56527ed6e0
Fix config
2015-09-08 18:42:32 +02:00
Dan Holmsand
c95a9ec7ba
content to set-content
2015-09-08 18:07:29 +02:00
Dan Holmsand
b54b1b0957
More cleanup
2015-09-08 18:00:44 +02:00
Dan Holmsand
573a51bc67
Make site generation pure functional
2015-09-08 17:50:50 +02:00
Dan Holmsand
0847dcc9ed
more cleanup
2015-09-08 13:23:49 +02:00
Dan Holmsand
261166d4fe
Start cleanup
2015-09-08 13:18:21 +02:00
Dan Holmsand
745cdf326c
Fix history
2015-09-08 13:08:09 +02:00
Dan Holmsand
d7cfb82dd3
Use html5 history
2015-09-08 09:35:55 +02:00
Dan Holmsand
f5ad999593
Fix site generation
2015-09-08 08:52:10 +02:00
Dan Holmsand
0c89f3864e
wip
2015-09-08 08:38:45 +02:00
Dan Holmsand
7224dd77df
cleanup
2015-09-08 00:41:04 +02:00
Dan Holmsand
2596daaf3e
wip
2015-09-08 00:29:06 +02:00
Dan Holmsand
df464eda35
wip
2015-09-08 00:12:41 +02:00
Dan Holmsand
b520dfd6be
wip
2015-09-07 23:01:33 +02:00
Dan Holmsand
d715a9568c
wip
2015-09-07 22:22:26 +02:00
Dan Holmsand
6b9aeffadd
Make tests run in node in debug mode as well
...
And simplify site generation
2015-08-20 09:54:15 +02:00
Dan Holmsand
b2210c2bf3
atom -> r/atom everywhere else, for consistency
2015-07-31 15:13:27 +02:00
Dan Holmsand
163308a392
Make site and examples work with ClojureScript 2816
...
ClojureScript all of a sudden complains about "single segment
namespaces", which forces a rather massive reorg.
Also, cljs.test/run-tests is broken.
2015-02-10 14:35:12 +01:00