Permalink
Browse files

RSlow won't be possible for now

  • Loading branch information...
1 parent d9d8e3f commit cf3986cbc9ce2ce833a1e1b5890e7be64af6edc2 Marcel Duran committed Jun 22, 2012
Showing with 0 additions and 79 deletions.
  1. +0 −79 src/common/rulesets/rslow.js
@@ -1,79 +0,0 @@
-/**
- * Copyright (c) 2012, Yahoo! Inc. All rights reserved.
- * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
- */
-
-/*global YSLOW*/
-/*jslint white: true, onevar: true, undef: true, nomen: true, regexp: true, continue: true, plusplus: true, bitwise: true, newcap: true, type: true, unparam: true, maxerr: 50, indent: 4*/
-
-/**
- *
- * Example of a rule object:
- *
- * <pre>
- * YSLOW.registerRule({
- *
- * id: 'myrule',
- * name: 'Never say never',
- * url: 'http://never.never/never.html',
- * info: 'Short description of the rule',
- *
- * config: {
- * when: 'ever'
- * },
- *
- * lint: function(doc, components, config) {
- * return {
- * score: 100,
- * message: "Did you just say never?",
- * components: []
- * };
- * }
- * });
- </pre>
- */
-
-YSLOW.registerRule({
- id: 'rGradient',
- name: 'Replace CSS3 gradients by repeated images and vice-versa',
- info: 'TODO: long desc here',
- url: 'http://',
- category: ['css3'],
-
- config: {
- },
-
- lint: function (doc, cset, config) {
-
- return {
- score: 100,
- message: '',
- components: []
- };
- }
-});
-
-/**
- * YSLOW.registerRuleset({
- *
- * id: 'myalgo',
- * name: 'The best algo',
- * rules: {
- * myrule: {
- * ever: 2,
- * }
- * }
- *
- * });
- */
-
-YSLOW.registerRuleset({
- id: 'rslow',
- name: 'RSlow',
- rules: {
- rGradient: {}
- },
- weights: {
- rGradient: 2
- }
-});

0 comments on commit cf3986c

Please sign in to comment.