Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ractive

Package Overview
Dependencies
Maintainers
3
Versions
643
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ractive - npm Package Versions

1
6365

0.4.0-pre1

Diff

rich_harris
published 0.3.9 •

Changelog

Source

0.3.9

2013-12-26

  • ractive.findComponent() and ractive.findAllComponents() methods, for getting references to components
  • Expression results are wrapped if necessary (e.g. {{getJSON(url)}} wrapped by @lluchs' Promise adaptor)
  • Mustaches referring to wrapped values render the facade, not the value
  • Directive arguments are parsed more reliably
  • Components inherit adaptors from their parents
  • Adapto
  • Changes to transitions API
  • SVG support is detected and exposed as Ractive.svg
  • If subclass has data, it is used as prototype for instance data
rich_harris
published 0.3.8 •

Changelog

Source

0.3.8

2013-12-14

  • Reorganised project into AMD modules, using amdclean during build
  • Decorators - decorate elements with functionality, e.g. tooltips, jQuery UI widgets, etc
  • Moved plugins (adaptors, decorators, custom events, transitions) out of the main codebase and into separate repositories. Note: plugin APIs have changed!
  • ractive.merge() - merge items from one array into another (e.g. updating with data from a server)
  • Pattern observers - observe e.g. items[*].status
  • Contenteditable support (thanks @aphitiel and @Nijikokun)
  • ractive.insert() and ractive.detach() methods for moving a Ractive instance in and out of the DOM without destroying it
  • ractive.toHTML() replaces ractive.renderHTML()
  • ractive.findAll( selector, { live: true }) maintains a live list of elements matching any CSS selector
  • Various bugfixes
rich_harris
published 0.3.7 •

Changelog

Source

0.3.7

2013-10-06

  • Adaptors - use external libraries like Backbone seamlessly with Ractive
  • Dependency tracking within functions, by monitoring ractive.get())
  • Create live nodelists with the findAll() method
  • Observers are guaranteed to fire before DOM updates, unless {defer:true} is passed as an option to ractive.observe()
  • Triples behave correctly inside table elements etc (issue #167)
  • Delimiters ('{{' and '}}') can be overridden globally with Ractive.delimiters and Ractive.tripleDelimiters
  • Fix #130 (event handler parameters and array modification)
  • Tap event respects spacebar keypresses while a suitable element is focused
  • updateModel() method to resync two-way bindings if they are manipulated external (e.g. $(input).val(newValue))
  • Better handling of HTML entities
  • Expressions with unresolved references will still render, using undefined in place of unknown references
  • Hover event fires on the equivalent of mouseenter/mouseleave rather than mouseover/mouseout
  • Various bugfixes and stability/performance improvements
rich_harris
published 0.3.5 •

Changelog

Source

0.3.5

2013-08-11

  • Experimental support for components - see this thread for details
  • Support for component - thanks CamShaft
  • Option to use on-click style event binding (as opposed to proxy-click)
  • Bug fixes
rich_harris
published 0.3.4 •

Changelog

Source

0.3.4

2013-08-06

  • ractive.find() and ractive.findAll() convenience methods (equivalent to ractive.el.querySelector() and ractive.el.querySelectorAll())
  • Subclasses created with Ractive.extend() can now have a beforeInit method that will be called before rendering
  • Expressions no longer need to be wrapped in parentheses. Section closing mustaches for expression sections can have any content
  • Various minor bugfixes and improvements
rich_harris
published 0.3.3 •

Changelog

Source

0.3.3

2013-07-21

  • Maintenance and bugfixes
rich_harris
published 0.3.2 •

Changelog

Source

0.3.2

2013-07-16

  • IE8 support!
rich_harris
published 0.3.1 •

Changelog

Source

0.3.1

2013-07-10

  • Transitions - fine-grained control over how elements are rendered and torn down
  • Inline partials
  • ractive.observe() method
  • Smart updates when using array mutator methods, reducing the amount of DOM manipulation that happens
  • Changed proxy event and event definition API (BREAKING CHANGE!)
  • Improved Ractive.extend
  • SVG elements no longer require the xmlns='http://www.w3.org/2000/svg' attribute - it is assumed, as it is in browsers
  • ractive.animate() can accept a map of keypaths to values
  • fullscreen convenience methods
  • removed ractive.render() method
  • added ractive.renderHTML() method, for rendering template+data (in browser or server environment)
rich_harris
published 0.3.0 •

Changelog

Source

0.3.0

2013-05-27

  • Major overhaul, particularly of the parser
  • Expressions - JS-like expressions within templates, with robust tracking of multiple dependencies. These replace formatters
  • Renamed Ractive.compile -> Ractive.parse
  • Added adaptors (e.g. Backbone Model adaptors)
  • Various performance enhancements and bug fixes
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc