Comments (5)
Sure, making uminified versions as well won't be a problem.
schema-form.min.js
is actually everything in src/
except src/directives/decorators
concatenated and minified.
bootstrap-decorator.min.js
is everything directly in src/directives/decorators/bootstrap
concatenated and minified. That includes all the html templates as well! They are compiled to js with gulp-angular-templatecache
bootstrap-datepicker.min.js
, as you might have gathered by now, is is everything directly in src/directives/decorators/bootstrap/datepicker/
, templates and all.
The idea was that scema-form.min.js
should be the base you add "decorators" to, and that we in time could have several to choose from. I have a branch with a half done "table-decorator" that just renders everything in a table, useful to view values inputed.
And the datepicker I choose to add in a extra file since it has so many third party dependencies.
I'll try to add non minified versions shortly, but in the mean time you can build them yourself using gulp. Just comment out row 30 and 67 (.pipe(uglify())) in gulpfile.js
. And then run "gulp".
If you don't have gulp, install node, do a "npm install" to install angular-schema-form dependencies, "npm install -g gulp" to get gulp and then just "gulp" to build :)
from angular-schema-form.
I see, I was wondering where all the templates disappeared to. I will install gulp.
Maybe this could be a new issue:
You mentioned something about table-decorator, I was about to ask you about something of that sort.... I have started using ngGrid as a table, at the moment it is a side demo, I wanted to have something solid before doing a pull request. It is also half-done, I am struggling to put user inputs in the response.
Should I create a branch for it or uploading somewhere for you to run through it quick? It is not solid yet, so I am not sure....
from angular-schema-form.
I managed to use the concatenated files, due to the structure of my demo, I prefer to work with separate files in src
folder.
Thanks for helping me through this.
from angular-schema-form.
No problem. Until recently the example/bootstrap-example.html just included all of the source files, the trick is to use a web server from the root of the project when viewing it so all the templates gets the correct path.
But I wanted the speed bump the concatenation gives you, doing 10 ajax requests to load small snippets of HTML isn't that great when you need them all at the same time :-)
Regarding your ng-grid demo, I'm not sure we're talking about the same thing but I love to see it when you feel comfortable, just clone the repo and put it in a branch!
from angular-schema-form.
Will do!
from angular-schema-form.
Related Issues (20)
- Conditionals for arrays inside arrays
- Maintenance status of the library
- How to show default value in type select titleMAP
- Conditional required rule HOT 1
- Add-on ngModel builder seems to not work at all HOT 3
- Add-on with ng-model="$$value$$" not binding properly in an array HOT 2
- condition is not supported for IE HOT 7
- Required validation messages
- version(0.8.14) regression in conditional array validation HOT 3
- Schema form for Android HOT 1
- Array type schemas do not render HOT 4
- Dynamic Type's from Model
- Form Update
- Form generation for part of schema HOT 1
- npm angular-schema-form uses 0.8.13 rather than 0.8.14 HOT 1
- Broadcast schemaform.error.* broken
- errors in bootstrap templates
- files endpoint option
- checkbox not styled with bootstrap
- Custom layout for specific property/ies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-schema-form.