Commit graph

18 commits

Author SHA1 Message Date
Evan Czaplicki
ae513a7f6e Remove dead code 2014-03-01 22:07:17 -08:00
Evan Czaplicki
61aab6292f Properly refer to the new Color.toCss function 2014-03-01 21:04:10 -08:00
Evan Czaplicki
9df2eac7c1 Expose toTypefaces and toLine for use within the core libraries 2014-03-01 20:23:08 -08:00
Evan Czaplicki
7e901a668f Move conversion from colors to CSS to the Color library 2014-03-01 20:08:38 -08:00
Evan Czaplicki
9723d2d41c Revamp the Text library so that there is an explicit Text.Style record
The Style record is needed to allow formatting of text fields!
2014-03-01 17:26:19 -05:00
Evan Czaplicki
df95c68c56 Fix problem with Text alignment! 2014-01-20 20:54:16 +01:00
Evan Czaplicki
4452e4e138 Turn off markdown interpolation for now.
This will of course get turned back on! I don’t want to do it in the
very next release though.
2013-12-10 23:04:27 -08:00
Evan Czaplicki
82e9acf16e Change the internal representation of Text
Now generates significantly fewer spans and is a bit faster.
I also removed the `header` function.
2013-11-03 15:20:30 +01:00
Evan Czaplicki
ef2b38fe11 Always switch out Text elements 2013-11-02 23:17:29 +01:00
Evan Czaplicki
56ecbbc70a Implement markdown interpolation 2013-10-25 17:36:30 +02:00
Evan Czaplicki
2c080b6b0d Mark Char and Text values to distinguish them from Strings
Also get rid of the unwords and unlines functions which are confusing
and can more easily be reproduced with (join " ") and (join "\n")
2013-10-10 13:57:33 -07:00
Evan Czaplicki
f7ef0d8dc2 Get rid of comments from when emacs could not figure out syntax highlighting 2013-10-04 11:41:11 -07:00
Evan Czaplicki
b40f2958d4 New convention for storing module values, fixes bug
Before it was not possible to add values to anything except leafs of
the namespace structure.
2013-09-30 01:32:27 -07:00
Evan Czaplicki
dcbe2fc245 Change the format of module instantiation
Currently, it's only possible to create modules at the leafs of the
namespace structure. This CL lifts that restriction.

Get rid of "use strict" in many cases.
2013-09-30 00:44:31 -07:00
Evan Czaplicki
3fe9e2470c Fix indent 2013-09-01 22:20:07 -07:00
Evan Czaplicki
6512bf944b Indent properly 2013-09-01 22:20:07 -07:00
Evan Czaplicki
340c2e7efa Switch to using px to set text height instead of em. 2013-06-23 04:48:32 -07:00
evancz
d114746957 Rename some of the Graphics libraries 2013-04-28 05:21:46 -07:00
Renamed from libraries/Native/Graphics/Text.js (Browse further)