• Robert Knight's avatar
    Use data-in, events-out pattern for <markdown> component · 6328298e
    Robert Knight authored
    This simplifies the implementation of the <markdown> component slightly,
    and makes its inputs more consistent with other recently written components.
    
     - Replace use of 'ngModel' with 'text' input property and 'onEditText'
       output event.
    
     - Add tests for preview state.
    
     - Add tests for rendering and editing annotations that have no text.
    
     - Optimize editor initialization by not creating the toolbar's DOM
       elements until the user starts editing the annotation, via using
       ng-if rather than ng-show to hide the toolbar in view mode.
    6328298e
Name
Last commit
Last update
h Loading commit data...
scripts Loading commit data...
.hound.yml Loading commit data...
.jscsrc Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...