cdotyone / mochaui

development tree for MochaUI
http://mochaui.org/demo/
Other
290 stars 83 forks source link

Asset.css conflict with mootools standard Asset #102

Closed partikule closed 13 years ago

partikule commented 13 years ago

When using another script which use Asset.css, the extended one created in require.js generated a conflict :

properties.onload is not a function

partikule commented 13 years ago

Found a solution :

In require.js, line 160, replace : properties.onload();

by : if (typeOf(properties.onload) == 'function') properties.onload();

cdotyone commented 13 years ago

Accepting this code for now. -Chris