小编Thi*_*Dev的帖子

尝试将所有scss文件编译成一个css文件

我有一个grunt文件,但我在编译时遇到问题.当我观看它似乎运行正常但不产生任何文件.

我错过了什么?

module.exports = function(grunt) {
    grunt.initConfig({
        pngmin: {
            compile: {
                options: {
                    ext: '.png',
                    force: true,
                    speed: 3,
                    colors: 200
                },
                files: [{
                    expand: true, // required option
                    src: ['**/*.png'],
                    cwd: 'public/images/src/', // required option
                    dest: 'public/images/dist/'
                }]
            }
        },
        sass: {
            dist: {
                files: [
                    {
                        expand: true,
                        cwd: "public/sass",
                        src: ["**/*.sass"],
                        dest: "public/stylesheets",
                        ext: ".css"
                    }
                ]
            }
        },
        watch: {
            css: {
                files: '**/*.scss',
                tasks: ['sass']
            }
        }
    });


    grunt.loadNpmTasks('grunt-contrib-sass');
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-pngmin');
    grunt.registerTask('default', ['pngmin', 'watch', 'sass']); …
Run Code Online (Sandbox Code Playgroud)

css sass gruntjs

6
推荐指数
1
解决办法
890
查看次数

如何在magento 1.4中添加客户电子邮件到订单网格

我在网上找到了几种方法,但似乎都没有.有谁知道如何将客户电子邮件添加到网格中以获取Magento 1.4中的订单

magento magento-1.4

2
推荐指数
1
解决办法
3495
查看次数

相邻NavigatorContent中组的空引用

我在MXML中有一个带NavigatorContent的TabNavigator.在第一个NavigatorContent里面我有一个带有一个id="canvas"; 我在这里加载一个SWFLoader.在下一个NavigatorContent里面,我有另一个组id="sheetcanvas"; 我想在这里加载一个SWFLoader.问题是,当我这样做时,我在sheetcanvasid 上得到错误#1009 null引用.

如果我把同一个组放在其他任何地方它没有空引用!

当动态加载到存在于Accordion的第二个NavigatorContent中的第二个组时,也会发生相同的错误.我做错了什么或有错误吗?

<mx:TabNavigator id="tabs" width="650" height="100%">
        <s:NavigatorContent width="100%" height="100%" label="Tab 1">
            <mx:DividedBox top="3" bottom="3" right="3" left="3" direction="vertical" width="100%" height="100%">

                <s:BorderContainer x="28" y="10" width="100%" height="100%">
                    <s:TextArea y="6" width="120" height="24" borderVisible="false"
                                text="{selectedNode.@label}"/>
                    <s:CheckBox y="6" right="10" label="Show Grid" selected="true"/>
                    <s:Scroller x="8" y="30" width="99%" height="90%" horizontalCenter="0">
                        <s:Group>
                            <s:Group id="canvas"/>

                        </s:Group>
                    </s:Scroller>
                </s:BorderContainer>
                <flexmd:FileEditor id="edit" width="100%" height="100%"
                                   enablePrint="true" enableSyntaxColoring="true" savePhp="/FileEditor/php/save.php"
                                   staticDemo="false"
                                   chromeColor="0xDCDCDC"
                                   />

            </mx:DividedBox>    
        </s:NavigatorContent>
        <s:NavigatorContent width="100%" height="100%" label="Tab 2">
            <mx:DividedBox top="3" bottom="3" right="3" …
Run Code Online (Sandbox Code Playgroud)

apache-flex flash actionscript-3

1
推荐指数
1
解决办法
358
查看次数

标签 统计

actionscript-3 ×1

apache-flex ×1

css ×1

flash ×1

gruntjs ×1

magento ×1

magento-1.4 ×1

sass ×1