Comments (4)
That's an issue with string.js
. There looks to be a backlog of open issues here. If this is not one of them, you should submit this issue on that repo.
I think that's used only for inflecting labels, so you should be able to work around this issue by explicitly defining a label
for every schema field.
from meteor-simple-schema.
Unfortunately defining labels will not circumvent the behavior, as the code in question is executed always, when including string.js.
By trial and error I found out, that Firebug is involved. Somehow it seems, I accidentally activated an option to break on exceptions (i can't even find it again). But fortunately resetting firebug options to defaults solves the issue.
Having looked at the code in question, I assume it tries to gather all native string functions by calling them once on a test string. If they raise any exception, the function is not copied to the new prototype being used as string replacement. I suppose this approach is a compromise to support the panopticon of browsers out there. I guess it wouldn't benefit anyone to start a discussion based on a seldomly used (and not intended) firebug configuration.
Sorry to have bothered you with this, but I didn't know string.js before and assumed it to be part of your project.
from meteor-simple-schema.
No problem.
from meteor-simple-schema.
I was going sick of this error...
For those who didn't find it, you will find infos at https://getfirebug.com/wiki/index.php/Break_On_...
(I had the "Break On All Errors" on)
from meteor-simple-schema.
Related Issues (20)
- AutoValue Doesn't Run On Server HOT 1
- [solved] custom function validation error HOT 1
- autoValue: calling fields() and siblingFields() yields no results on insert HOT 2
- Overwriting SimpleSchema regEx messages HOT 5
- Error: Invalid definition for inMenu field HOT 1
- Match.Where being instantiated as a class, causes error on Meteor 1.6.1 boot HOT 5
- Make a field conditionally required bug HOT 1
- Explicitly indicate this repo is deprecated HOT 1
- How to define a Custom Validation Error in Autoform >= 6.0 HOT 1
- Removing old field from old users? Ignore schema when using $unset ? HOT 1
- typo in dependencies in version 3.0.0 HOT 1
- 1.6.2 Has removed Deps from Tracker package HOT 4
- Warn / strip global regEx schemas? HOT 1
- the optional: true afFieldInput have the required attribute with it HOT 1
- error in Documentation [max] > {{max}} HOT 1
- "must be an object" error even though typeof() returns Object HOT 3
- $pull not behaving as expected HOT 1
- Move this package to Community Packages to support simpl-schema >=3.x HOT 1
- Update autoValue to accept async function HOT 2
- Typescript error when importing SimpleSchema HOT 6
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 meteor-simple-schema.