Coder Social home page Coder Social logo

js-css-minify-compress's People

Contributors

jgauravgupta avatar

Watchers

 avatar

js-css-minify-compress's Issues

Unnecessary 1st blank line in minified file

What steps will reproduce the problem?
1. The minified file (JS/CSS) has a blank line and then minified code on 2nd 
line

What is the expected output? What do you see instead?
No blank line required. 

What version of the product are you using? On what operating system?
Version: 2.2.1 Source: 1431507901_org-netbeans-minify.nbm


Please provide any additional information below.
I am not directly using the code, but its plugin for netbeans.

Original issue reported on code.google.com by [email protected] on 7 Aug 2015 at 7:20

JS minification removes "use strict";

What steps will reproduce the problem?
1. Create a JavaScript file like the following:

(function () {
   'use strict';

    var something = 1;

}());

2. Use this plugin to minify the JS file.
3. See that the minified JS file lacks 'use strict'.

What is the expected output? What do you see instead?

I would expect the minified file to still contain the 'use strict'; directive, 
rather than removing it (since it affects the functioning of the code).

What version of the product are you using? On what operating system?

I'm using version 2.2.1 of the "JS CSS Minify Compress" NetBeans plugin, with 
NetBeans version 8.0.2 on Windows 7.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Jul 2015 at 6:09

Bad conversion of ANSI files

What steps will reproduce the problem?
1. Create project with Windows-1252 encoding
2. Write on a js file a string constant with special characters 
3. Minify it

What is the expected output? What do you see instead?
The resulting file is encoded on UTF8 and the special characters converted to 
garbage.

What version of the product are you using? On what operating system?
2.0 on Netbeans 8.0.2. Windows 7 64 bits

Please provide any additional information below.
Looks like the plugin disregards the project encoding and treats everything as 
UTF8 files

Original issue reported on code.google.com by [email protected] on 30 Dec 2014 at 6:01

Minified file not sync to remote server

What steps will reproduce the problem?

   1.create style.css 
   2.minify it in separate file (it's immediately sync with remote server)
   3.change style.css, minify it again
   4.minified files changed byt not synchronized to remote server


What is the expected output? What do you see instead?

   Minified file must cause sync of itself

What version of the product are you using? On what operating system?

   Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
   Обновления: Среда NetBeans IDE обновлена до версии NetBeans 8.0.2 Patch 1
   Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
   Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18

Please provide any additional information below.

A attach a video demonstration

Original issue reported on code.google.com by [email protected] on 16 May 2015 at 1:13

Attachments:

.jSON

your plugins is top but,
he don't know the .json extension.
thanks at all



Original issue reported on code.google.com by [email protected] on 3 Jan 2014 at 10:49

org.mozilla.javascript.EvaluatorException: Compilation produced 18 syntax errors.

This issue was originally reported against NetBeans, for details please see [1] 
and [2]


org.mozilla.javascript.EvaluatorException: Compilation produced 18 syntax 
errors.
   at org.netbeans.util.source.minify.MinifyUtil$CompressorErrorReporter.runtimeError(MinifyUtil.java:366)
   at org.mozilla.javascript.Parser.parse(Parser.java:392)
   at org.mozilla.javascript.Parser.parse(Parser.java:337)
   at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:312)
   at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)
   at org.netbeans.util.source.minify.MinifyUtil.compressJavaScript(MinifyUtil.java:161)
   at org.netbeans.util.source.minify.JSMinify.jsMinify(JSMinify.java:91)
   at org.netbeans.util.source.minify.JSMinify$1.run(JSMinify.java:61)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



[1] https://netbeans.org/bugzilla/show_bug.cgi?id=243608
[2] http://statistics.netbeans.org/exceptions/detail.do?id=205000

Original issue reported on code.google.com by [email protected] on 6 Jun 2014 at 8:23

Automate minify

I use LESS wich generates a new CSS file everytime I hit save. It would be nice 
if minify would automaticly generate the minified CSS. Now I have to manualy do 
it before I see the results.

Love this plug-in

Henry Hekman


Original issue reported on code.google.com by [email protected] on 30 Sep 2014 at 7:17

Keep semicolons in JS

Great tool!

Is there a way to keep the semicolons when minify-ing a Javascript file?
It would be great to have a checkbox in the "JavaScript Minify" option tab.

Thanks 

Original issue reported on code.google.com by [email protected] on 10 Jul 2014 at 9:28

The degree of compression for CSS

Could use some additional settings options for compression, for example, to 
kompresownay css file was not a single line, but each type elemnt class as a 
new line.


Original issue reported on code.google.com by [email protected] on 21 Apr 2015 at 9:12

Minify erases entire folder contents

What steps will reproduce the problem?
1. Uncheck "Create New HTML File" in HTML Minify settings
2. Minify Web Content, or individual HTML file

What is the expected output? What do you see instead?
Whether the file is in same project folder or in a new created separate build 
folder, the HTML file is empty. That sure is minified! When "Create New HTML 
File" is checked, it minifies the new file as expected.

What version of the product are you using? On what operating system?
2.2.1 on Netbeans 8.0.2, Windows 7 Professional 64-bit

Original issue reported on code.google.com by [email protected] on 23 Jun 2015 at 3:55

Unable to Launch IDE - failing to load

Installed tested then Uninstalled but now IDE is failing to load
\ext\image-compressor.jar 
\ext\code-minify.jar
\ext\html-minify.jar

Would like to get these files and put them in the folder.

Have attached the Message.log

>Log Session: Tuesday, July 15, 2014 8:02:31 AM MST
>System Info:
  Product Version         = NetBeans IDE 8.0 (Build 201403101706) (#b8e35b888b3f)
  Operating System        = Windows 8 version 6.2 running on amd64
  Java; VM; Vendor        = 1.7.0_15; Java HotSpot(TM) 64-Bit Server VM 23.7-b01; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_15-b03
  Java Home               = C:\Program Files\Java\jdk1.7.0_15\jre
  System Locale; Encoding = en_US (nb); Cp1252


Original issue reported on code.google.com by [email protected] on 15 Jul 2014 at 3:39

Attachments:

Bundle css/js Files

Hey,

many thanks to you for your tool, but i need bundling js/css files.

Is that possible to bundling minified files? eg. with an instruction comment 
like that:

+++++++++++ bundles.js ++++++++
#import ./../myJSFiles/file1.js
#import ./../myJSFiles/file2.js

function fooBar()
{
    alert("very nice");
}
+++++++++++++++++++++++++++++++

Original issue reported on code.google.com by [email protected] on 10 Apr 2014 at 3:26

javascript minify not working

What steps will reproduce the problem?
1. Preferences -> Options -> JS CSS Minify Compress -> JavaScript Minify
2. Java Script Minify Settings -> uncheck Create New JS
3. No output

What is the expected output? What do you see instead?
Empty minified java script file

What version of the product are you using? On what operating system?
version 2.2.1


Please provide any additional information below.
It works fine before upgrade to version 2.2.1


Original issue reported on code.google.com by [email protected] on 20 May 2015 at 6:46

Issue with single line comments

What steps will reproduce the problem?
1. CSS with // Comments
2. Right Click and Minimize CSS
3. Output has anything after comment commented out

What is the expected output? What do you see instead?
Expected to remove comments and leave only minimized code.
Comments are left and comment out remaining code.

What version of the product are you using? On what operating system?
 2.0 in Netbeans 8.0 on Windows 8.1

Please provide any additional information below.
I know I could simply use /* Comment */ but my CSS is heavily commented and it 
could be more efficient if it removed comments completely 

Original issue reported on code.google.com by [email protected] on 11 Aug 2014 at 5:04

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.