Comments (6)
src/common/config.js
1 |"use strict";
^ Use the function form of "use strict".
3 | angular.module('rest_config', [])
^ 'angular' is not defined.
from grunt-ng-constant.
Which tool produces this error?
from grunt-ng-constant.
@mlegenhausen Running "jshint:src" (jshint) task
from grunt-ng-constant.
Do you use a custom template?
from grunt-ng-constant.
@mlegenhausen nope, just this:
options: {
space: ' ',
wrap: '"use strict";\n\n {%= __ngModule %}',
name: 'rest_config'
}
from grunt-ng-constant.
Why do you not remove the "use strict"
string from the wrap
option?
from grunt-ng-constant.
Related Issues (20)
- Unable to write "undefined" file HOT 4
- Add space option for backwards compability HOT 1
- Set value for a constant file with differents targets HOT 1
- Release 0.5.0 HOT 4
- Constant works only with string values, no support for functions HOT 3
- support function type HOT 8
- Release 1.0.0 HOT 3
- Objects and Function as constatnt. HOT 1
- DOCS: The example doesn't work well for generated constant value files HOT 3
- Pull Constants from .json File? HOT 1
- Usage in index.html HOT 3
- Is it possible to write a constant to an already existing module and not create a new one? HOT 1
- Dynamic constants HOT 1
- possible to add multiple ngconstants to a task? HOT 3
- options.deps in false by default HOT 1
- Update lodash please
- will the config file be built in main js file or will be inserted in index.html file? HOT 5
- Issue with no-shadow-restricted-names ESLint rule HOT 1
- Git vulnerability - Required updated version of merge plugin to ^1.2.1 HOT 1
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 grunt-ng-constant.