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

Browser support #15

Merged
merged 17 commits into from
Jan 28, 2013
Merged

Conversation

doug-martin
Copy link
Contributor

Changes for browser support addressing #5 and #6.

  • This is a big refactor and adds a lot of new features
  • Nools now supports compiling from files in node, and a string in both the browser and node
  • Support for IE8 and above, chrome, safari and firefox
  • New Features
    • New ability to force the evaluation of an expression as a single atom.
    • new operators for not like (!=~), in and not in (notIn)
    • Ability to supply functions for rule constratins through a new scope option.
      • This also applies to DSL defined rules where defined functions are now available to use in the rule constraints
    • More tests for different flows
  • New Examples
    • RequireJS, and browser examples
    • Conways game of life example
    • Validation example
  • New nools executable for compile DSLs to a browser friendly format, (You can also compile a DSL directly in the browser)

Todo

  • Update documentation
  • Publish new version
  • More examples

* Incorporating `extended` and sublibraries
* Changed extended configuration
* Added executable to parse nools source files
* Changed parse to return valid JSON
* Added new bin script to compile nools rules files javascript.
* Updated extended libraries
* Added grunt tasks to browserify nools and minify the source
*
* Fixed issues in ie.
* Added tests for compiled rules
* split out dsl rules to exclude from testling tests
* Changed findNextToken to use charAt (for IE)
* Added tests for scoped functions
doug-martin added a commit that referenced this pull request Jan 28, 2013
@doug-martin doug-martin merged commit 6b9f418 into noolsjs:browser-support Jan 28, 2013
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

Successfully merging this pull request may close these issues.

None yet

1 participant