Code Monkey home page Code Monkey logo

ui's People

Contributors

charkcl avatar eadilten avatar gpellis avatar jumblerg avatar leontalbot avatar onetom avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

ui's Issues

Font not found

This error:

core.cljs:187 GET http://localhost:7000/[%22MagistralC%20Bold%22] net::ERR_ABORTED

`
comes from this code:

`(def magistralc-bold (font :system ["MagistralC Bold"] :opentype "magistralc-bold.otf"))

(def font-2 {:t 18 :tf magistralc-bold :tc white})
`
but that font is in my resource folder (where everything else is found).

Could it be that UI is searching for it in the filesystem by the :system value instead of the :opentype value?

Problems with latest versions of cljs and hoplon

I know ui is very bleeding edge and very much a WIP but I really like the new changes in your transitions branch.

Unfortunately this doesn't work with the newest version of hoplon due to some protocol name changes (two line changes in hoplon.ui.elems).
And the current version of cljs issues a warning for variadic protocol signatures found in a lot of the IFn implementations in the hoplon.ui.attrs namsepace. (See
reagent-project/reagent#303 for similar issue. Also got a confirmation from dnolen on slack that "variadic protocol signatures are not allowed")

I have changes that fix these. The only questionable thing would be how you want to deal with implementing IFn without & args.
It could either

  1. Manually implement all the odd number arities to do the assoc.
  2. Alternatively it seems like it might be worth considering supporting just one arity, which would obviously be a potentially breaking change, ie
IFn
  (-invoke [this x y]
    (assoc this x y))

(With either of these options, particularly with (1), it might be worth considering abstracting out this pattern).

I have changes fixing these things in a local repo, let me know your thoughts and if you're interested in a PR and I will provide one.

Line elem doesn't work on IOS

I can focus on the form field, keyboard pops up, but no input appears in field, or shows up on "submit"

Using IOS 9.3.5
Behavior is the same in Mobile Safari and Chrome

I am running UI 0.3.0 and Hoplon 7.0.2, but this has been the case for awhile

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.