inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 8, 2012 9:58:20 GMT -8
Not really a feature, but... Would it be possible for us to have the uncompressed version available somewhere as well? It may not be that useful for most plugin developers, but for me, while developing certain features of a plugin, I found myself looking at the proboards class quite often.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 9, 2012 22:23:57 GMT -8
If it helps, I use a jsdeminifier addon for Firefox which expands minified source while downloading , perfect if you want to step through a library to keep track of scoping and closures in firebug. It is a buggy addon but since it is easily toggled on/off it comes in handy in pinch. You could also use jsbeautifier.org to expand a local copy for reference.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 10, 2012 3:21:39 GMT -8
If it helps, I use a jsdeminifier addon for Firefox which expands minified source while downloading , perfect if you want to step through a library to keep track of scoping and closures in firebug. It is a buggy addon but since it is easily toggled on/off it comes in handy in pinch. You could also use jsbeautifier.org to expand a local copy for reference. Yeah, I know about them, and have been using jsbeautifier. It would just be nice to have an uncompressed version for us somewhere.
|
|
inherit
Graphics Ninja
3
0
Nov 19, 2012 12:17:26 GMT -8
Ryan Roos
Wordsmyth
35,133
November 2003
ryan
|
Post by Ryan Roos on Nov 14, 2012 9:51:46 GMT -8
In the near future we will supply developers with the forum.js file. We're still working on lots of things right now that are taking precedent. Don't worry though. We will get you all the tools you need.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 14, 2012 12:47:29 GMT -8
In the near future we will supply developers with the forum.js file. We're still working on lots of things right now that are taking precedent. Don't worry though. We will get you all the tools you need. Thanks
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jan 4, 2013 14:47:39 GMT -8
Ryan Roos: Any word on an update? I'm fine with an out of date version, so that we can at least try to follow the logic.
|
|
inherit
Graphics Ninja
3
0
Nov 19, 2012 12:17:26 GMT -8
Ryan Roos
Wordsmyth
35,133
November 2003
ryan
|
Post by Ryan Roos on Jan 4, 2013 14:51:07 GMT -8
V5 isn't launched and we're really busy trying to make that happen. Things like documentation are not a priority at this stage. It will be done as soon as we can do it. Hopefully prior to launch.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 4, 2013 16:33:55 GMT -8
Any word on an update? I'm fine with an out of date version, so that we can at least try to follow the logic. I can give send you an outdated version filled with liberal (and sometimes ROFL) comments if that is what you want. (2.17MB - too large to attach)
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jan 4, 2013 19:15:28 GMT -8
Any word on an update? I'm fine with an out of date version, so that we can at least try to follow the logic. I can give send you an outdated version filled with liberal (and sometimes ROFL) comments if that is what you want. (2.17MB - too large to attach) Eh. I'll wait. It's more useful if the variables aren't compressed.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 4, 2013 19:37:09 GMT -8
What I offer actually has full descriptive variable names, e.g /** * Get Variable Multi-Value * Fetches a single property out of a multi-property value */ get_variable_multivalue: function(variable, type) { // If this variable doesn't even exist, what am I fighting fooooooooooooooooooooor? if(typeof this.options.variables[variable] === 'undefined') return '';
var value = this.options.variables[variable].rule.value.value;
// If there aren't any values, bail out if (!value.length || !(value[0] instanceof less.tree.Expression)) return '';
// We need to go deeper value = value[0].value; var output = ''; // If they're looking for font family/weight/style, handle the special case // Building a parser for font-family is far more complicated than letting // the browser figure it out. // Also, weight and style share the property "normal" if (type === 'font-family' || type === 'font-weight' || type === 'font-style'){ var $builder = $('<span />'); $builder.css('font', this.options.variables[variable].value); output = $builder.css(type); // Leave no evidence! $builder.remove(); return output; }
Don't be fooled by the jquery libraries at the start which is left compressed
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jan 4, 2013 19:51:09 GMT -8
What I offer actually has full descriptive variable names, e.g /** * Get Variable Multi-Value * Fetches a single property out of a multi-property value */ get_variable_multivalue: function(variable, type) { // If this variable doesn't even exist, what am I fighting fooooooooooooooooooooor? if(typeof this.options.variables[variable] === 'undefined') return '';
var value = this.options.variables[variable].rule.value.value;
// If there aren't any values, bail out if (!value.length || !(value[0] instanceof less.tree.Expression)) return '';
// We need to go deeper value = value[0].value; var output = ''; // If they're looking for font family/weight/style, handle the special case // Building a parser for font-family is far more complicated than letting // the browser figure it out. // Also, weight and style share the property "normal" if (type === 'font-family' || type === 'font-weight' || type === 'font-style'){ var $builder = $('<span />'); $builder.css('font', this.options.variables[variable].value); output = $builder.css(type); // Leave no evidence! $builder.remove(); return output; }
Don't be fooled by the jquery libraries at the start which is left compressed Yep, interested now. Share via dropbox maybe?
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jan 5, 2013 5:31:33 GMT -8
I actually have a URL to the combined uncompressed (just the PB stuff) version (which appears to get updated) given to me by Martyn. I'll PM you both the URL.
|
|
inherit
Graphics Ninja
3
0
Nov 19, 2012 12:17:26 GMT -8
Ryan Roos
Wordsmyth
35,133
November 2003
ryan
|
Post by Ryan Roos on Jan 7, 2013 6:30:11 GMT -8
I'll ask Martyn today if there's anything newer we can give you guys this week. We'll see...
|
|
inherit
Graphics Ninja
3
0
Nov 19, 2012 12:17:26 GMT -8
Ryan Roos
Wordsmyth
35,133
November 2003
ryan
|
Post by Ryan Roos on Jan 11, 2013 16:41:21 GMT -8
Alright, here you go. The dev team wishes you luck. combined.zip (545.5 KB) DISCLAIMER: This is not the final version of this file.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 11, 2013 20:41:14 GMT -8
Please, sir, I want some more. Thanks Ryan!
|
|