CSS is working but JS is not

Nov 29, 2010 at 9:50 PM
Edited Nov 29, 2010 at 9:55 PM

I just downloaded and installed the most recent version of Chirpy [Nude Chirpy v1.0.0.5.3]

I created a "mash.less.chirp.config" file in my CSS directory, and it's compressing/minifying very spectacularly!!!

 

 

<root>
    <FileGroup Name="site.css">
        <File Path="elements.css" />
        <File Path="jquery-ui-1.8.4.custom.css" />
        <File Path="site.less" />
        <File Path="wmd.css" />
    </FileGroup>
</root>

 

I also created a "mash.chirp.config" file in my Script directory, unfortunately it's not doing anything at all.

 

<root>
    <FileGroup Name="site.js">
        <File path="jquery-ui-1.8.4.custom.min.js" Minify="false" />
        <File path="un-master.js" />
        <File path="jquery-ui-timepicker-addon.min.js" Minify="false" />
        <File path="jquery-nmcFormHelper.js" />
        <File path="jquery.textarearesizer.min.js" Minify="false" />
        <File path="jquery-openid.js" />
        <File path="jquery.timeago.js" />
    </FileGroup>
</root>

any help/direction on this will be greatly appreciated.

[ADDED INFO]

Visual Studio 2010 Professional
ASP.NET MVC3 Project

Folder Structure...
    ROOT/Assets/Scripts/mash.chirp.config
    ROOT/Assets/Scripts/*.js

 

Nov 29, 2010 at 10:12 PM

Link to same question on StackOverflow

How to get Chirpy working with JS and mash.config

Nov 29, 2010 at 10:59 PM

ANSWER

I changed my config to the following, and it appears to be working now.  Ten Thumbs Up for CHIRPY!!!

<?xml version="1.0" encoding="utf-8" ?>
<root xmlns="urn:ChirpyConfig"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="urn:ChirpyConfig http://www.weirdlover.com/chirpy/chirp.xsd">
    <FileGroup Name="site.js">
        <File Path="jquery-ui-1.8.4.custom.min.js" Minify="false" />
        <File Path="un-master.js" />
        <File Path="jquery-ui-timepicker-addon.min.js" Minify="false" />
        <File Path="jquery-nmcFormHelper.js" />
        <File Path="jquery.textarearesizer.min.js" Minify="false" />
        <File Path="jquery-openid.js" />
        <File Path="jquery.timeago.js" />
    </FileGroup>
</root>

Coordinator
Dec 2, 2010 at 6:37 AM

Thanks for updating this, @rockinthesix.

Answers to your other post are coming...

Dec 3, 2010 at 8:57 PM
Edited Dec 3, 2010 at 8:58 PM

I noticed something else here: When you have more than one file group in the config file you must specify Minify="true" or Minify="false" in each file group, otherwise it only creates the files for the first file group.