Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a standalone, static build? #59

Open
haferje opened this issue Feb 27, 2017 · 7 comments
Open

Create a standalone, static build? #59

haferje opened this issue Feb 27, 2017 · 7 comments

Comments

@haferje
Copy link

haferje commented Feb 27, 2017

Is it possible to create a standalone build for use as a vanilla .js script include in the browser?
I want to create a mockup for my current project, but don't want to fuss with Node - I just want to be able to include it in a .html page and go...

@Klowner
Copy link

Klowner commented Mar 1, 2017

You can use https://github.com/Klowner/casual-browserify
It's just casual with no runtime require()s

@haferje
Copy link
Author

haferje commented Mar 4, 2017

Still not what I meant. I don't want to deal with Node or other third-party build tool. I'm looking for a client-side include for a straight HTML page (remember those? 😃). Something like what you would see in a project's build or dist directory. It should be something I can use when all I have is a basic text editor and browser.

For example:
<script src="scripts/casual.min.js">

@Klowner
Copy link

Klowner commented Mar 7, 2017

@haferje
Copy link
Author

haferje commented Mar 7, 2017

yes, exactly! thank you.

however, i can't seem to get any data from en_US locale (ie. casual.en_US.month_name gives me "settembre")

@Klowner
Copy link

Klowner commented Mar 7, 2017

weeeell, that means I've got a problem.

@Klowner
Copy link

Klowner commented Mar 7, 2017

hrm, looks like an issue related to moment's locale settings. Are you only seeing locale problems with date related properties?

@haferje
Copy link
Author

haferje commented Mar 7, 2017

I'll try to be a little more appropriate and continue our conversation in your repository...
Klowner/casual-vanilla#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants