Skip to content

Latest commit

 

History

History
66 lines (50 loc) · 1.72 KB

CHANGELOG.md

File metadata and controls

66 lines (50 loc) · 1.72 KB

Change Log

master

This version now requires AngularJS 1.3.0-RC.0+ and Sass 3.4+.

  • fixed issue were angular application could not have a route that matched one of the the valid root directories
  • converted from dalek to protractor for end to end testing
  • replaced all .html file with .jade
  • updated bower/npm packages
  • added/updated gulp tasks for Jade.js support
  • updated gulp sass task to account for changes in Sass 3.4.x
  • added support for working with processors in the gulp static rewrite task

This is specifically added as I experiment with using Jade.js for templates. Instead of including templates like this:

$stateProvider
.state('app.home', {
  url: '/home',
  abstract: true,
  views: {
    '': {
      templateUrl: '/app/components/core/assets/templates/module-wrapper.jade'
    }
  }
});

or

div(ng-include='"/app/components/core/assets/templates/module-wrapper.jade"')

you can write this:

$stateProvider
.state('app.home', {
  url: '/home',
  abstract: true,
  views: {
    '': {
      templateUrl: '/app/components/core/assets/templates/module-wrapper.html'
    }
  }
});

or

div(ng-include='"/app/components/core/assets/templates/module-wrapper.html"')

which is more logical since angular will be working with the HTML generated from Jade anyways.

This workflow is a work in progress and might change.

  • added javascript snippet to index pages to show full errors

There is an issue (with at least Chrome) that error messages from AngularJS get cutoff and end with ... which can make debugging pretty hard. I ahve added a JavaScript snippet that will display full errors properly.

  • updated code to account for changes in AngularJS 1.3.x
  • added .editorconfig