I tried using @require, but does not work, my test
twsentinela.user.js
// ==UserScript==
// @name TWSentinela
// @namespace TWSentinela
// @description TWSentinela
// @require functions.js
// ==/UserScript==
console.log(test)
functions.js
function test(x){ alert(x); }
I put function.js in the same folder that twsentinela.user.js
thank you
--
View this message in context:
http://old.nabble.com/Modularize-script-tp32153390p32160330.html
Sent from the GreaseMonkey List mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.