ende 0.5.12 → 0.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69671c40c9569195f1c98a3228073c2b8f6d2bf9
4
- data.tar.gz: 15c2c1a58050e435a7a4f75d4a00e918e19c47b4
3
+ metadata.gz: 5dd707eb079a897bc8dce4924684b5907d60f1ec
4
+ data.tar.gz: 8ce13f5b416dbdfa66d36fe6ea05145aaa8baf3f
5
5
  SHA512:
6
- metadata.gz: eb3f4dd813017fd91e0acfe5e8cf7b5f9e034f1ddce6d8d5f36b5f62e245bf9612ce208656da341d25467af32fed3d04f5c6e3f70ddc3113396ad8591f155824
7
- data.tar.gz: fd1d313968408439ea05104a41d23249e24d1e754e92e2983ab2a3cb08ce212935602420cf9692d35a5c79a04dae23a96c2570d5af6af096436c1b9a985e61d6
6
+ metadata.gz: 6fda8c0a308540efc30f989fcc1052e2098e21757c9a60ad8b5e53159123840531e0fd8362cce9d228b692a6cf262c54f680c18b7ba189e63a57ec7618a0d76e
7
+ data.tar.gz: 983d2dabc82fd92599312cbbfff9278ea9897ec8a7cfbf172befb436186913c8dc5be904ab24fc432b1385924063c1829c1a4d0dd90bd61f03bde6463c426697
data/component.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "ende",
3
3
  "repo": "indefinido/ende",
4
4
  "description": "Core web application functionacility",
5
- "version": "0.5.6",
5
+ "version": "0.5.13",
6
6
  "keywords": [],
7
7
  "dependencies": {
8
8
  "mikeric/rivets": "v0.5.12",
data/lib/ende/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ende
2
- VERSION = "0.5.12"
2
+ VERSION = "0.5.13"
3
3
  end
@@ -14727,7 +14727,7 @@ require.register("indefinido~observable@es6-modules/vendor/shims/accessors.js",
14727
14727
  });
14728
14728
 
14729
14729
  require.register("indefinido~observable@es6-modules/vendor/shims/array.indexOf.js", function (exports, module) {
14730
- if (!Array.prototype.indexOf) {
14730
+ if (!Array.prototype.indexOf) {
14731
14731
  Array.prototype.indexOf = function(obj, start) {
14732
14732
  for (var i = (start || 0), j = this.length; i < j; i++) {
14733
14733
  if (this[i] === obj) { return i; }
@@ -15389,13 +15389,14 @@ associable = {
15389
15389
  owner: record
15390
15390
  };
15391
15391
  old_resource = record[resource];
15392
+ old_resource_id = record[resource + '_id'];
15392
15393
  Object.defineProperty(record, resource.toString(), {
15393
15394
  get: $.proxy(descriptors.belongs_to.resource.getter, association_proxy),
15394
15395
  set: $.proxy(descriptors.belongs_to.resource.setter, association_proxy),
15395
15396
  configurable: true
15396
15397
  });
15397
15398
  _results.push(record.after_initialize.push((function() {
15398
- return this[resource] = old_resource;
15399
+ (this[resource] = old_resource) || (this[resource + '_id'] = old_resource_id)
15399
15400
  })));
15400
15401
  }
15401
15402
  return _results;
@@ -17834,7 +17835,7 @@ var compose = function compose() {
17834
17835
  /**
17835
17836
  * Take an old-fashioned JS constructor and return a stampit stamp
17836
17837
  * that you can freely compose with other stamps.
17837
- * @param {Function} Constructor
17838
+ * @param {Function} Constructor
17838
17839
  * @return {Function} A composable stampit factory
17839
17840
  * (aka stamp).
17840
17841
  */
@@ -17888,173 +17889,173 @@ License along with OWL Pluralization. If not, see
17888
17889
  if ( typeof owl === 'undefined' ) owl = {};
17889
17890
 
17890
17891
  owl.pluralize = (function() {
17891
- var userDefined = {};
17892
+ var userDefined = {};
17892
17893
 
17893
- function capitalizeSame(word, sampleWord) {
17894
- if ( sampleWord.match(/^[A-Z]/) ) {
17895
- return word.charAt(0).toUpperCase() + word.slice(1);
17896
- } else {
17897
- return word;
17898
- }
17899
- }
17894
+ function capitalizeSame(word, sampleWord) {
17895
+ if ( sampleWord.match(/^[A-Z]/) ) {
17896
+ return word.charAt(0).toUpperCase() + word.slice(1);
17897
+ } else {
17898
+ return word;
17899
+ }
17900
+ }
17900
17901
 
17901
- // returns a plain Object having the given keys,
17902
- // all with value 1, which can be used for fast lookups.
17903
- function toKeys(keys) {
17904
- keys = keys.split(',');
17905
- var keysLength = keys.length;
17906
- var table = {};
17907
- for ( var i=0; i < keysLength; i++ ) {
17908
- table[ keys[i] ] = 1;
17909
- }
17910
- return table;
17911
- }
17902
+ // returns a plain Object having the given keys,
17903
+ // all with value 1, which can be used for fast lookups.
17904
+ function toKeys(keys) {
17905
+ keys = keys.split(',');
17906
+ var keysLength = keys.length;
17907
+ var table = {};
17908
+ for ( var i=0; i < keysLength; i++ ) {
17909
+ table[ keys[i] ] = 1;
17910
+ }
17911
+ return table;
17912
+ }
17912
17913
 
17913
- // words that are always singular, always plural, or the same in both forms.
17914
- var uninflected = toKeys("aircraft,advice,blues,corn,molasses,equipment,gold,information,cotton,jewelry,kin,legislation,luck,luggage,moose,music,offspring,rice,silver,trousers,wheat,bison,bream,breeches,britches,carp,chassis,clippers,cod,contretemps,corps,debris,diabetes,djinn,eland,elk,flounder,gallows,graffiti,headquarters,herpes,high,homework,innings,jackanapes,mackerel,measles,mews,mumps,news,pincers,pliers,proceedings,rabies,salmon,scissors,sea,series,shears,species,swine,trout,tuna,whiting,wildebeest,pike,oats,tongs,dregs,snuffers,victuals,tweezers,vespers,pinchers,bellows,cattle");
17914
+ // words that are always singular, always plural, or the same in both forms.
17915
+ var uninflected = toKeys("aircraft,advice,blues,corn,molasses,equipment,gold,information,cotton,jewelry,kin,legislation,luck,luggage,moose,music,offspring,rice,silver,trousers,wheat,bison,bream,breeches,britches,carp,chassis,clippers,cod,contretemps,corps,debris,diabetes,djinn,eland,elk,flounder,gallows,graffiti,headquarters,herpes,high,homework,innings,jackanapes,mackerel,measles,mews,mumps,news,pincers,pliers,proceedings,rabies,salmon,scissors,sea,series,shears,species,swine,trout,tuna,whiting,wildebeest,pike,oats,tongs,dregs,snuffers,victuals,tweezers,vespers,pinchers,bellows,cattle");
17915
17916
 
17916
- var irregular = {
17917
- // pronouns
17918
- I: 'we',
17919
- you: 'you',
17920
- he: 'they',
17921
- it: 'they', // or them
17922
- me: 'us',
17923
- you: 'you',
17924
- him: 'them',
17925
- them: 'them',
17926
- myself: 'ourselves',
17927
- yourself: 'yourselves',
17928
- himself: 'themselves',
17929
- herself: 'themselves',
17930
- itself: 'themselves',
17931
- themself: 'themselves',
17932
- oneself: 'oneselves',
17917
+ var irregular = {
17918
+ // pronouns
17919
+ I: 'we',
17920
+ you: 'you',
17921
+ he: 'they',
17922
+ it: 'they', // or them
17923
+ me: 'us',
17924
+ you: 'you',
17925
+ him: 'them',
17926
+ them: 'them',
17927
+ myself: 'ourselves',
17928
+ yourself: 'yourselves',
17929
+ himself: 'themselves',
17930
+ herself: 'themselves',
17931
+ itself: 'themselves',
17932
+ themself: 'themselves',
17933
+ oneself: 'oneselves',
17933
17934
 
17934
- child: 'children',
17935
- dwarf: 'dwarfs', // dwarfs are real; dwarves are fantasy.
17936
- mongoose: 'mongooses',
17937
- mythos: 'mythoi',
17938
- ox: 'oxen',
17939
- soliloquy: 'soliloquies',
17940
- trilby: 'trilbys',
17941
- person: 'people',
17942
- forum: 'forums', // fora is ok but uncommon.
17935
+ child: 'children',
17936
+ dwarf: 'dwarfs', // dwarfs are real; dwarves are fantasy.
17937
+ mongoose: 'mongooses',
17938
+ mythos: 'mythoi',
17939
+ ox: 'oxen',
17940
+ soliloquy: 'soliloquies',
17941
+ trilby: 'trilbys',
17942
+ person: 'people',
17943
+ forum: 'forums', // fora is ok but uncommon.
17943
17944
 
17944
- // latin plural in popular usage.
17945
- syllabus: 'syllabi',
17946
- alumnus: 'alumni',
17947
- genus: 'genera',
17948
- viscus: 'viscera',
17949
- stigma: 'stigmata'
17950
- };
17945
+ // latin plural in popular usage.
17946
+ syllabus: 'syllabi',
17947
+ alumnus: 'alumni',
17948
+ genus: 'genera',
17949
+ viscus: 'viscera',
17950
+ stigma: 'stigmata'
17951
+ };
17951
17952
 
17952
- var suffixRules = [
17953
- // common suffixes
17954
- [ /man$/i, 'men' ],
17955
- [ /([lm])ouse$/i, '$1ice' ],
17956
- [ /tooth$/i, 'teeth' ],
17957
- [ /goose$/i, 'geese' ],
17958
- [ /foot$/i, 'feet' ],
17959
- [ /zoon$/i, 'zoa' ],
17960
- [ /([tcsx])is$/i, '$1es' ],
17953
+ var suffixRules = [
17954
+ // common suffixes
17955
+ [ /man$/i, 'men' ],
17956
+ [ /([lm])ouse$/i, '$1ice' ],
17957
+ [ /tooth$/i, 'teeth' ],
17958
+ [ /goose$/i, 'geese' ],
17959
+ [ /foot$/i, 'feet' ],
17960
+ [ /zoon$/i, 'zoa' ],
17961
+ [ /([tcsx])is$/i, '$1es' ],
17961
17962
 
17962
- // fully assimilated suffixes
17963
- [ /ix$/i, 'ices' ],
17964
- [ /^(cod|mur|sil|vert)ex$/i, '$1ices' ],
17965
- [ /^(agend|addend|memorand|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi)um$/i, '$1a' ],
17966
- [ /^(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|\w+hedr)on$/i, '$1a' ],
17967
- [ /^(alumn|alg|vertebr)a$/i, '$1ae' ],
17968
-
17969
- // churches, classes, boxes, etc.
17970
- [ /([cs]h|ss|x)$/i, '$1es' ],
17963
+ // fully assimilated suffixes
17964
+ [ /ix$/i, 'ices' ],
17965
+ [ /^(cod|mur|sil|vert)ex$/i, '$1ices' ],
17966
+ [ /^(agend|addend|memorand|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi)um$/i, '$1a' ],
17967
+ [ /^(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|\w+hedr)on$/i, '$1a' ],
17968
+ [ /^(alumn|alg|vertebr)a$/i, '$1ae' ],
17969
+
17970
+ // churches, classes, boxes, etc.
17971
+ [ /([cs]h|ss|x)$/i, '$1es' ],
17971
17972
 
17972
- // words with -ves plural form
17973
- [ /([aeo]l|[^d]ea|ar)f$/i, '$1ves' ],
17974
- [ /([nlw]i)fe$/i, '$1ves' ],
17973
+ // words with -ves plural form
17974
+ [ /([aeo]l|[^d]ea|ar)f$/i, '$1ves' ],
17975
+ [ /([nlw]i)fe$/i, '$1ves' ],
17975
17976
 
17976
- // -y
17977
- [ /([aeiou])y$/i, '$1ys' ],
17978
- [ /(^[A-Z][a-z]*)y$/, '$1ys' ], // case sensitive!
17979
- [ /y$/i, 'ies' ],
17977
+ // -y
17978
+ [ /([aeiou])y$/i, '$1ys' ],
17979
+ [ /(^[A-Z][a-z]*)y$/, '$1ys' ], // case sensitive!
17980
+ [ /y$/i, 'ies' ],
17980
17981
 
17981
- // -o
17982
- [ /([aeiou])o$/i, '$1os' ],
17983
- [ /^(pian|portic|albin|generalissim|manifest|archipelag|ghett|medic|armadill|guan|octav|command|infern|phot|ditt|jumb|pr|dynam|ling|quart|embry|lumbag|rhin|fiasc|magnet|styl|alt|contralt|sopran|bass|crescend|temp|cant|sol|kimon)o$/i, '$1os' ],
17984
- [ /o$/i, 'oes' ],
17982
+ // -o
17983
+ [ /([aeiou])o$/i, '$1os' ],
17984
+ [ /^(pian|portic|albin|generalissim|manifest|archipelag|ghett|medic|armadill|guan|octav|command|infern|phot|ditt|jumb|pr|dynam|ling|quart|embry|lumbag|rhin|fiasc|magnet|styl|alt|contralt|sopran|bass|crescend|temp|cant|sol|kimon)o$/i, '$1os' ],
17985
+ [ /o$/i, 'oes' ],
17985
17986
 
17986
- // words ending in s...
17987
- [ /s$/i, 'ses' ]
17988
- ];
17987
+ // words ending in s...
17988
+ [ /s$/i, 'ses' ]
17989
+ ];
17989
17990
 
17990
- // pluralizes the given singular noun. There are three ways to call it:
17991
- // pluralize(noun) -> pluralNoun
17992
- // Returns the plural of the given noun.
17993
- // Example:
17994
- // pluralize("person") -> "people"
17995
- // pluralize("me") -> "us"
17996
- //
17997
- // pluralize(noun, count) -> plural or singular noun
17998
- // Inflect the noun according to the count, returning the singular noun
17999
- // if the count is 1.
18000
- // Examples:
18001
- // pluralize("person", 3) -> "people"
18002
- // pluralize("person", 1) -> "person"
18003
- // pluralize("person", 0) -> "people"
18004
- //
18005
- // pluralize(noun, count, plural) -> plural or singular noun
18006
- // you can provide an irregular plural yourself as the 3rd argument.
18007
- // Example:
18008
- // pluralize("château", 2 "châteaux") -> "châteaux"
18009
- function pluralize(word, count, plural) {
18010
- // handle the empty string reasonably.
18011
- if ( word === '' ) return '';
17991
+ // pluralizes the given singular noun. There are three ways to call it:
17992
+ // pluralize(noun) -> pluralNoun
17993
+ // Returns the plural of the given noun.
17994
+ // Example:
17995
+ // pluralize("person") -> "people"
17996
+ // pluralize("me") -> "us"
17997
+ //
17998
+ // pluralize(noun, count) -> plural or singular noun
17999
+ // Inflect the noun according to the count, returning the singular noun
18000
+ // if the count is 1.
18001
+ // Examples:
18002
+ // pluralize("person", 3) -> "people"
18003
+ // pluralize("person", 1) -> "person"
18004
+ // pluralize("person", 0) -> "people"
18005
+ //
18006
+ // pluralize(noun, count, plural) -> plural or singular noun
18007
+ // you can provide an irregular plural yourself as the 3rd argument.
18008
+ // Example:
18009
+ // pluralize("château", 2 "châteaux") -> "châteaux"
18010
+ function pluralize(word, count, plural) {
18011
+ // handle the empty string reasonably.
18012
+ if ( word === '' ) return '';
18012
18013
 
18013
- // singular case.
18014
- if ( count === 1 ) return word;
18014
+ // singular case.
18015
+ if ( count === 1 ) return word;
18015
18016
 
18016
- // life is very easy if an explicit plural was provided.
18017
- if ( typeof plural === 'string' ) return plural;
18017
+ // life is very easy if an explicit plural was provided.
18018
+ if ( typeof plural === 'string' ) return plural;
18018
18019
 
18019
- var lowerWord = word.toLowerCase();
18020
+ var lowerWord = word.toLowerCase();
18020
18021
 
18021
- // user defined rules have the highest priority.
18022
- if ( lowerWord in userDefined ) {
18023
- return capitalizeSame(userDefined[lowerWord], word);
18024
- }
18022
+ // user defined rules have the highest priority.
18023
+ if ( lowerWord in userDefined ) {
18024
+ return capitalizeSame(userDefined[lowerWord], word);
18025
+ }
18025
18026
 
18026
- // single letters are pluralized with 's, "I got five A's on
18027
- // my report card."
18028
- if ( word.match(/^[A-Z]$/) ) return word + "'s";
18027
+ // single letters are pluralized with 's, "I got five A's on
18028
+ // my report card."
18029
+ if ( word.match(/^[A-Z]$/) ) return word + "'s";
18029
18030
 
18030
- // some word don't change form when plural.
18031
- if ( word.match(/fish$|ois$|sheep$|deer$|pox$|itis$/i) ) return word;
18032
- if ( word.match(/^[A-Z][a-z]*ese$/) ) return word; // Nationalities.
18033
- if ( lowerWord in uninflected ) return word;
18031
+ // some word don't change form when plural.
18032
+ if ( word.match(/fish$|ois$|sheep$|deer$|pox$|itis$/i) ) return word;
18033
+ if ( word.match(/^[A-Z][a-z]*ese$/) ) return word; // Nationalities.
18034
+ if ( lowerWord in uninflected ) return word;
18034
18035
 
18035
- // there's a known set of words with irregular plural forms.
18036
- if ( lowerWord in irregular ) {
18037
- return capitalizeSame(irregular[lowerWord], word);
18038
- }
18039
-
18040
- // try to pluralize the word depending on its suffix.
18041
- var suffixRulesLength = suffixRules.length;
18042
- for ( var i=0; i < suffixRulesLength; i++ ) {
18043
- var rule = suffixRules[i];
18044
- if ( word.match(rule[0]) ) {
18045
- return word.replace(rule[0], rule[1]);
18046
- }
18047
- }
18036
+ // there's a known set of words with irregular plural forms.
18037
+ if ( lowerWord in irregular ) {
18038
+ return capitalizeSame(irregular[lowerWord], word);
18039
+ }
18040
+
18041
+ // try to pluralize the word depending on its suffix.
18042
+ var suffixRulesLength = suffixRules.length;
18043
+ for ( var i=0; i < suffixRulesLength; i++ ) {
18044
+ var rule = suffixRules[i];
18045
+ if ( word.match(rule[0]) ) {
18046
+ return word.replace(rule[0], rule[1]);
18047
+ }
18048
+ }
18048
18049
 
18049
- // if all else fails, just add s.
18050
- return word + 's';
18051
- }
18050
+ // if all else fails, just add s.
18051
+ return word + 's';
18052
+ }
18052
18053
 
18053
- pluralize.define = function(word, plural) {
18054
- userDefined[word.toLowerCase()] = plural;
18055
- }
18054
+ pluralize.define = function(word, plural) {
18055
+ userDefined[word.toLowerCase()] = plural;
18056
+ }
18056
18057
 
18057
- return pluralize;
18058
+ return pluralize;
18058
18059
 
18059
18060
  })();
18060
18061
 
@@ -23564,7 +23565,7 @@ require.register("ende/vendor/assets/javascripts/jquery/inputmask.js", function
23564
23565
 
23565
23566
  (function ($) {
23566
23567
  if ($.fn.inputmask === undefined) {
23567
- //helper functions
23568
+ //helper functions
23568
23569
  function isInputEventSupported(eventName) {
23569
23570
  var el = document.createElement('input'),
23570
23571
  eventName = 'on' + eventName,
@@ -23817,7 +23818,7 @@ require.register("ende/vendor/assets/javascripts/jquery/inputmask.js", function
23817
23818
  }
23818
23819
 
23819
23820
  function isValid(pos, c, strict) { //strict true ~ no correction or autofill
23820
- strict = strict === true; //always set a value to strict to prevent possible strange behavior in the extensions
23821
+ strict = strict === true; //always set a value to strict to prevent possible strange behavior in the extensions
23821
23822
 
23822
23823
  function _isValid(position, activeMaskset, c, strict) {
23823
23824
  var testPos = determineTestPosition(position), loopend = c ? 1 : 0, chrs = '', buffer = activeMaskset["buffer"];
@@ -24265,7 +24266,7 @@ require.register("ende/vendor/assets/javascripts/jquery/inputmask.js", function
24265
24266
  }
24266
24267
  });
24267
24268
  }
24268
- if (getMaskLength() >= maxLength && maxLength > -1) { //FF sets no defined max length to -1
24269
+ if (getMaskLength() >= maxLength && maxLength > -1) { //FF sets no defined max length to -1
24269
24270
  if (maxLength < getActiveBufferTemplate().length) getActiveBufferTemplate().length = maxLength;
24270
24271
  if (getActiveMaskSet()['greedy'] == false) {
24271
24272
  getActiveMaskSet()['repeat'] = Math.round(maxLength / getActiveBufferTemplate().length);
@@ -24862,7 +24863,7 @@ require.register("ende/vendor/assets/javascripts/jquery/inputmask.js", function
24862
24863
  }
24863
24864
  }
24864
24865
  if (minimalForwardPosition > getActiveMaskSet()["p"])
24865
- getActiveMaskSet()["p"] = minimalForwardPosition; //needed for checkval strict
24866
+ getActiveMaskSet()["p"] = minimalForwardPosition; //needed for checkval strict
24866
24867
  }
24867
24868
  });
24868
24869
 
@@ -25038,7 +25039,7 @@ require.register("ende/vendor/assets/javascripts/jquery/inputmask.js", function
25038
25039
 
25039
25040
  $.fn.inputmask = function (fn, options) {
25040
25041
  var opts = $.extend(true, {}, $.inputmask.defaults, options),
25041
- masksets,
25042
+ masksets,
25042
25043
  activeMasksetIndex = 0;
25043
25044
 
25044
25045
  if (typeof fn === "string") {
@@ -25109,7 +25110,7 @@ require.register("ende/vendor/assets/javascripts/jquery/inputmask.js", function
25109
25110
  return masksets[activeMasksetIndex]['_buffer'].join('');
25110
25111
  }
25111
25112
  else return "";
25112
- case "hasMaskedValue": //check wheter the returned value is masked or not; currently only works reliable when using jquery.val fn to retrieve the value
25113
+ case "hasMaskedValue": //check wheter the returned value is masked or not; currently only works reliable when using jquery.val fn to retrieve the value
25113
25114
  return this.data('_inputmask') ? !this.data('_inputmask')['opts'].autoUnmask : false;
25114
25115
  case "isComplete":
25115
25116
  masksets = this.data('_inputmask')['masksets'];
@@ -25425,7 +25426,7 @@ require.register("ende/vendor/assets/javascripts/jquery/inview.js", function (ex
25425
25426
  visiblePartX,
25426
25427
  visiblePartY,
25427
25428
  visiblePartsMerged;
25428
-
25429
+
25429
25430
  // Don't ask me why because I haven't figured out yet:
25430
25431
  // viewportOffset and viewportSize are sometimes suddenly null in Firefox 5.
25431
25432
  // Even though it sounds weird:
@@ -25434,7 +25435,7 @@ require.register("ende/vendor/assets/javascripts/jquery/inview.js", function (ex
25434
25435
  if (!viewportOffset || !viewportSize) {
25435
25436
  return;
25436
25437
  }
25437
-
25438
+
25438
25439
  if (elementOffset.top + elementSize.height > viewportOffset.top &&
25439
25440
  elementOffset.top < viewportOffset.top + viewportSize.height &&
25440
25441
  elementOffset.left + elementSize.width > viewportOffset.left &&
@@ -25459,7 +25460,7 @@ require.register("ende/vendor/assets/javascripts/jquery/inview.js", function (ex
25459
25460
  $(w).bind("scroll resize", function() {
25460
25461
  viewportSize = viewportOffset = null;
25461
25462
  });
25462
-
25463
+
25463
25464
  // IE < 9 scrolls to focused elements without firing the "scroll" event
25464
25465
  if (!documentElement.addEventListener && documentElement.attachEvent) {
25465
25466
  documentElement.attachEvent("onfocusin", function() {
@@ -25812,11 +25813,11 @@ if (!Function.prototype.bind) {
25812
25813
  boundArgs.push("$" + i);
25813
25814
  }
25814
25815
 
25815
- // XXX Build a dynamic function with desired amount of arguments is the only
25816
- // way to set the length property of a function.
25817
- // In environments where Content Security Policies enabled (Chrome extensions,
25818
- // for ex.) all use of eval or Function costructor throws an exception.
25819
- // However in all of these environments Function.prototype.bind exists
25816
+ // XXX Build a dynamic function with desired amount of arguments is the only
25817
+ // way to set the length property of a function.
25818
+ // In environments where Content Security Policies enabled (Chrome extensions,
25819
+ // for ex.) all use of eval or Function costructor throws an exception.
25820
+ // However in all of these environments Function.prototype.bind exists
25820
25821
  // and so this code will never be executed.
25821
25822
  var bound = Function("binder", "return function(" + boundArgs.join(",") + "){return binder.apply(this,arguments)}")(binder);
25822
25823
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ende
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.12
4
+ version: 0.5.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heitor Salazar