Giter VIP home page Giter VIP logo

Comments (2)

chevdor avatar chevdor commented on June 10, 2024

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.

chevdor avatar chevdor commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.