Comments (2)
Hello,
First of all, thx for taking the time to answer.
I appreciate any hint here :)
I put below the line 9331 but it has nothing special beside that it is css.
This is actually the first line of the css that was concatenated to my
javascript.
So I have lots of js code until line 9330, 9331 is the first line of css
(Whatever it is) and uglify complains that my css is no valid js... well I
would agree with that :)
I am not sure I understand in the first is this is valid to have the css
and the js code concatenated together, that sounds wrong to me unless there
is a trick afterwards that resplit the file.
I suspect a bad config in useMin at the moment or a mistake on my side in
the popup.html where I just realized I mixed things:
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="scripts/lib.js"></script>
<script src="scripts/brick-1.0.1.byob.min.js"></script>
*<link href="styles/brick-1.0.1.byob.min.css" rel="stylesheet">*
<script src="scripts/popup.js"></script>
<!-- endbuild -->
That could be an explanation. So thanks already for making me explain it
further and dig, you may have already helped me fix it :)
9331: x-flipbox {
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: block;
2014-05-20 6:19 GMT+02:00 Neeraj [email protected]:
It seems you have a syntax error in your popup.js at line number 9331. Can
you show us the code around that line?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/63#issuecomment-43585024
.
- [email protected] -
from generator-chrome-extension.
Issue 'fixed' and this was due to my mistake:
<head>
<!-- bower:css -->
<!-- endbower -->
<!-- build:css styles/main.css -->
***CSS ONLY IN HERE***
<link href="styles/main.css" rel="stylesheet">
<!-- endbuild -->
<!-- bower:js -->
<!-- endbower -->
<!-- build:js scripts/popup.js -->
***JS ONLY IN HERE, NO CSS***
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="scripts/lib.js"></script>
<script src="scripts/popup.js"></script>
<!-- endbuild -->
</head>
from generator-chrome-extension.
Related Issues (20)
- Problem with @babel/polyfill HOT 2
- How to update my app to use the latest generator features ? HOT 2
- How to use jQuery? HOT 1
- Release 0.7.3 HOT 1
- Upgrade generator HOT 4
- Watch / livereload not working HOT 1
- The polyfill.min.js file is too large
- ReferenceError: primordials is not defined HOT 3
- bootstrap is missing when running gulp build, but works fine in gulp babel HOT 1
- AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist HOT 1
- Regarding DSL, TDD and BDD HOT 2
- Parsing error: Cannot find module 'eslint-scope' HOT 1
- Please mark this project as template HOT 1
- Specify the version of the package
- ReferenceError: primordials is not defined HOT 1
- Align to Nodejs LTS
- Migrate from Travis to Github Actions
- Object.fromEntries is not a function HOT 3
- Is this Generator compatible with chrome manifest v3 HOT 1
- frustrated developer: crappy maintained dependencies and doc? HOT 2
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 generator-chrome-extension.