|
Patch submission
|
|
31st March, 04:18
Post: #1
|
|||
|
|||
|
Patch submission
Is there an official way to submit patches?
I have added the ability to define url as a function so as to dynamically determine the url for loading content. Here's the change I made: loadContent: function(url, data) { if(typeof data !== 'object') data = null; //Added ++++ // Call url function passing in the target as the parameter if url is a function if(typeof url == 'function') { url = url.call(self, target); } // Call API method self.beforeContentLoad.call(self); // Load content using jQuery's load method self.elements.content.load(url, data, function() { // Call API method self.onContentLoad.call(self); // Recreate title if enabled if(self.options.content.title.text !== false) createTitle.call(self); // Update tooltip position self.updatePosition(); }); return self; }, |
|||
|
31st March, 20:11
Post: #2
|
|||
|
|||
|
Patch submission
Hi toyche,
At the moment there isn't any way to submit patches, but I'm working on setting up a subversion repository for the next releases. Could you explain the context your using this in? I can't see a situation where I wouldn't know the URL prior to calling the function, since it itself is a parameter? Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
7th April, 13:58
(This post was last modified: 7th April 13:58 by loucapo.)
Post: #3
|
|||
|
|||
|
Patch submission
Hi Craig,
Here's an example of how it'll be useful. Let's say I have list of links which are dynamically generated and so I would not know before hand the actually url (which is defined in the href attribute) to load the content. If I can define url as a function, I would just call the function to get the url for loading content. Please see the following code example. JS Code
craig Wrote:Hi toyche, |
|||
|
7th April, 14:10
Post: #4
|
|||
|
|||
|
Patch submission
This is achievable without using the function you defined, by using the each method:
JS Code
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
13th May, 13:31
Post: #5
|
|||
|
|||
|
Patch submission
Craig:
Now that you have the bazaar branch at launchpad (http://bazaar.launchpad.net/~craig.craig...runk/files) and bug tracker also at launchpad (http://bugs.launchpad.net/qtip/), what is the preferred way to discuss and then submit new features / patches? Thanks, ivan |
|||
|
13th May, 17:27
Post: #6
|
|||
|
|||
|
Patch submission
Hi ivan,
The best way to submit patches at the moment is to open you're own branch and manually pull updates from the main branch into yours regularly. Feature requesting should be done via the blueprints system on launchpad. Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



