Closed (fixed)
Project:
Yahoo YUI
Version:
6.x-1.1-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Nov 2008 at 13:39 UTC
Updated:
12 Dec 2008 at 20:41 UTC
I have attach a patch to the latest release of yui to bring it in line with the Drupal coding standards.
Also, this patch suggests simplified signatures for the add_css and add_js functions.
| Comment | File | Size | Author |
|---|---|---|---|
| yui.module.patch | 5.55 KB | wulff |
Comments
Comment #1
bakyildiz commentedI see that the add_css and add_js functions signutures has 2 parameters. But the other yui modules are using this signatures with 3 parameters. This will cause problem. By the way is it possible to work with the lates release or with the development snapshot?
Comment #2
wulff commentedI chose the wrong version when creating the issue. This is a patch against 6.x-1.1-beta3 (v 1.9.2.2).
The change to the _add_* signatures is mainly meant to make code using the yui.module more readable, since a currently unused and am unneeded argument can be removed or made optional. I realise that it will take some work to bring the other yui_* modules in line.
Comment #3
bakyildiz commented