https://bugzilla.redhat.com/show_bug.cgi?id=1246721



--- Comment #7 from gil cattaneo <[email protected]> ---
e.g.
sed -i  's|yui-compressor $< -o $@|closure-compiler $(CLOSURE_FLAGS) --js=$<
>$@|' Makefile
%build
make %{?_smp_mflags}

output:
+ make -j4
closure-compiler  --js=jquery.flot.symbol.js >jquery.flot.symbol.min.js
closure-compiler  --js=jquery.flot.stack.js >jquery.flot.stack.min.js
closure-compiler  --js=jquery.flot.crosshair.js >jquery.flot.crosshair.min.js
closure-compiler  --js=jquery.flot.navigate.js >jquery.flot.navigate.min.js
closure-compiler  --js=jquery.flot.errorbars.js >jquery.flot.errorbars.min.js
closure-compiler  --js=jquery.flot.resize.js >jquery.flot.resize.min.js
closure-compiler  --js=jquery.flot.time.js >jquery.flot.time.min.js
closure-compiler  --js=jquery.js >jquery.min.js
closure-compiler  --js=jquery.flot.pie.js >jquery.flot.pie.min.js
closure-compiler  --js=jquery.colorhelpers.js >jquery.colorhelpers.min.js
closure-compiler  --js=jquery.flot.categories.js >jquery.flot.categories.min.js
jquery.js:2588: WARNING - Suspicious code. This code lacks side-effects. Is
there a bug?
                        if ( parent ) {
                        ^

jquery.js:2589: WARNING - Suspicious code. The result of the 'getprop' operator
is not being used.
                                parent.selectedIndex;
                                ^

jquery.js:2592: WARNING - Suspicious code. This code lacks side-effects. Is
there a bug?
                                if ( parent.parentNode ) {
                                ^

jquery.js:2593: WARNING - Suspicious code. The result of the 'getprop' operator
is not being used.
                                        parent.parentNode.selectedIndex;
                                        ^

jquery.js:3868: WARNING - Suspicious code. The result of the 'getprop' operator
is not being used.
        slice.call( docElem.childNodes, 0 )[0].nodeType;
        ^

jquery.js:4448: WARNING - Suspicious code. This code lacks side-effects. Is
there a bug?
                        if ( elem.parentNode ) {
                        ^

jquery.js:4449: WARNING - Suspicious code. The result of the 'getprop' operator
is not being used.
                                elem.parentNode.selectedIndex;
                                ^

0 error(s), 7 warning(s)
closure-compiler  --js=jquery.flot.fillbetween.js
>jquery.flot.fillbetween.min.js
closure-compiler  --js=jquery.flot.threshold.js >jquery.flot.threshold.min.js
closure-compiler  --js=jquery.flot.image.js >jquery.flot.image.min.js
closure-compiler  --js=jquery.flot.js >jquery.flot.min.js
closure-compiler  --js=jquery.flot.selection.js >jquery.flot.selection.min.js

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to