Comments (4)
I may have the same problem - ng-html2js is inserting a \ufeff before every template, and I don't think $compile likes preceeding whitespace.
Most likely a bug in ng-html2js and Windows encoding rather than something here but I need to do more research...
from ng-directive-testing.
@andyrooger it's more likely you are correct, can you try updating
karma-ng-html2js-preprocessor to the latest? Because I remember we already
fixed similar issues... If not, please file an issue with
https://github.com/karma-runner/karma-ng-html2js-preprocessor/issues
On Wed, Sep 4, 2013 at 9:31 AM, andyrooger [email protected] wrote:
I may have the same problem - ng-html2js is inserting a \ufeff before
every template, and I don't think $compile likes preceeding whitespace.Most likely a bug in ng-html2js and Windows encoding rather than something
here but I need to do more research...—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-23803823
.
from ng-directive-testing.
any updates on this?
from ng-directive-testing.
You can close this.
from ng-directive-testing.
Related Issues (9)
- Update this example to use the testacular html2js preprocessor HOT 4
- Unit Test Karma Jasmine SyntaxError: Parse error on "&" Angular Directive binding
- getting error [launcher] Error: SyntaxError: Unexpected token . while running protractor test
- karma error: Uncaught SyntaxError: Unexpected token < HOT 11
- When templateUrl and actual file location are different HOT 7
- Testing directives that have a require: ^parentDirective HOT 1
- templateUrl testing HOT 6
- Using two-way binding on the directive attributes fails in testing
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 ng-directive-testing.