1. #1
    Sencha User
    Join Date
    Feb 2011
    Vote Rating
    mikejthompson is on a distinguished road


    Default SASS error in _functions.scss (Line 1: Invalid CSS after "@function min( ... ))

    SASS error in _functions.scss (Line 1: Invalid CSS after "@function min( ... ))

    We're trying to integrate the Ext4 CSS into the existing SASS/COMPASS code for our project by modifying the ruby config with the lines to register the Ext4 framework as seen in the "resources/themes/compass_init.rb" config. For example, here is our config:

    # Require any additional compass plugins here.
    # Set this to the root of your project when deployed:
    http_path = "/static/"
    css_dir = "css"
    sass_dir = "sass"
    images_dir = "img"
    javascripts_dir = "js"
    # To enable relative paths to assets via compass helper functions. Uncomment:
    # relative_assets = true
    # Add SASS from ExtJS
    dir = File.join(File.dirname(__FILE__), 'ext4', 'resources', 'themes')
    require File.join(dir, 'lib', 'theme_images.rb')
    require File.join(dir, 'lib', 'utils.rb')
    Compass::Frameworks.register 'ext4', dir
    Then, in our _base.scss we try to @import "compass" and 'ext4/default/all'. However, we are presented with the following error when the scss is compiled:

    Syntax error: Invalid CSS after "@function min(": expected ")", was "$value1, $value..."
    on line 1 of [redacted]/static/ext4/resources/themes/stylesheets/ext4/default/./_functions.scss
    from line 6 of [redacted]/static/ext4/resources/themes/stylesheets/ext4/default/_all.scss
    from line 7 of [redacted]/static/sass/partials/_base.scss
    from line 6 of [redacted]/static/sass/screen.scss
    I am particularly confused because I can't find information about the "@function" directive in the SASS reference, so I don't know where that comes from.

    Any help would be greatly appreciated. Mike

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Redwood City, California
    Vote Rating
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough



    You will be required to use the very latest builds of compass and it's plugins.

    This thread should give you the information you need: http://www.sencha.com/forum/showthre...eloper-preview

Similar Threads

  1. [3.1] Errors only in IE, Line: 3988 Error: Invalid argument.
    By asyura in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 19 Feb 2010, 3:17 AM
  2. [RESOLVED][2.2.1] Calling defined function throws a "is not a function" error
    By sam_mooball in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 19 Apr 2009, 11:08 PM
  3. Combo dropdown list gives "invalid argument" error in IE7
    By HemantPagare in forum Ext 2.x: Help & Discussion
    Replies: 13
    Last Post: 10 Apr 2009, 6:12 AM

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi