ember-source 1.9.0.beta.1 → 1.9.0.beta.1.1

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.

Potentially problematic release.


This version of ember-source might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1a01f22dd95285d1cda550257201f420a41c000
4
- data.tar.gz: 27e8b7aa7dda99437965c82490584345828b7e95
3
+ metadata.gz: 1d636219e21cb8c79fd5655c4b83d81b3da5d637
4
+ data.tar.gz: 4ec3cda21dabf89bd2b5d37046cf6870fd61054a
5
5
  SHA512:
6
- metadata.gz: 337ad6c012a2d07ba5d2464ab1756c3b2945d56deae80fe2ab336b924068cff037337c7b3a2fa7030bfdae0e6b55515582e59664bcd575154e6aec9c0aedb9a3
7
- data.tar.gz: 2e561489ba2c016276f4f65f619f2aabfecb01d34e914f2cfea26d97c9d70df3b6cc8d2136c80a675e23277bd755010b730d68983516249e12b5b3b6103c758d
6
+ metadata.gz: 02ba9e0975a753613ab24d1d5478b86896aeb7c6ebd84645a77b6c537af6bd2bdd2eb53f7b050da32bcf229a0352ce5ceac9a8c04fa691406a3b4eed97678b58
7
+ data.tar.gz: 1f4d0848038ad79e8f2e299ccc93c9ad944622d0efbc5a6de5f5c15c175484e874e324e94f3ade372d309dd9255cebcd9a96b11f4738b76c9470c37adfa4a6fe
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0-beta.1
1
+ 1.9.0-beta.1.1
@@ -640,11 +640,10 @@ define("backburner/deferred-action-queues",
640
640
  function(__dependency1__, __dependency2__, __exports__) {
641
641
  "use strict";
642
642
  var each = __dependency1__.each;
643
- var isString = __dependency1__.isString;
644
643
  var Queue = __dependency2__["default"];
645
644
 
646
645
  function DeferredActionQueues(queueNames, options) {
647
- var queues = this.queues = {};
646
+ var queues = this.queues = Object.create(null);
648
647
  this.queueNames = queueNames = queueNames || [];
649
648
 
650
649
  this.options = options;
@@ -663,7 +662,9 @@ define("backburner/deferred-action-queues",
663
662
  var queues = this.queues;
664
663
  var queue = queues[name];
665
664
 
666
- if (!queue) { noSuchQueue(name); }
665
+ if (!queue) {
666
+ noSuchQueue(name);
667
+ }
667
668
 
668
669
  if (onceFlag) {
669
670
  return queue.pushUnique(target, method, args, stack);
@@ -672,26 +673,6 @@ define("backburner/deferred-action-queues",
672
673
  }
673
674
  },
674
675
 
675
- invoke: function(target, method, args, _, _errorRecordedForStack) {
676
- if (args && args.length > 0) {
677
- method.apply(target, args);
678
- } else {
679
- method.call(target);
680
- }
681
- },
682
-
683
- invokeWithOnError: function(target, method, args, onError, errorRecordedForStack) {
684
- try {
685
- if (args && args.length > 0) {
686
- method.apply(target, args);
687
- } else {
688
- method.call(target);
689
- }
690
- } catch(error) {
691
- onError(error, errorRecordedForStack);
692
- }
693
- },
694
-
695
676
  flush: function() {
696
677
  var queues = this.queues;
697
678
  var queueNames = this.queueNames;
@@ -699,85 +680,23 @@ define("backburner/deferred-action-queues",
699
680
  var queueNameIndex = 0;
700
681
  var numberOfQueues = queueNames.length;
701
682
  var options = this.options;
702
- var onError = options.onError || (options.onErrorTarget && options.onErrorTarget[options.onErrorMethod]);
703
- var invoke = onError ? this.invokeWithOnError : this.invoke;
704
683
 
705
684
  while (queueNameIndex < numberOfQueues) {
706
685
  queueName = queueNames[queueNameIndex];
707
686
  queue = queues[queueName];
708
- queueItems = queue._queueBeingFlushed = queue._queue.slice();
709
- queue._queue = [];
710
- queue.targetQueues = Object.create(null);
711
-
712
- var queueOptions = queue.options; // TODO: write a test for this
713
- var before = queueOptions && queueOptions.before;
714
- var after = queueOptions && queueOptions.after;
715
- var target, method, args, errorRecordedForStack;
716
- var queueIndex = 0;
717
- var numberOfQueueItems = queueItems.length;
718
-
719
- if (numberOfQueueItems && before) {
720
- before();
721
- }
722
687
 
723
- while (queueIndex < numberOfQueueItems) {
724
- target = queueItems[queueIndex];
725
- method = queueItems[queueIndex+1];
726
- args = queueItems[queueIndex+2];
727
- errorRecordedForStack = queueItems[queueIndex+3]; // Debugging assistance
688
+ var numberOfQueueItems = queue._queue.length;
728
689
 
729
- //
730
-
731
- if (isString(method)) {
732
- method = target[method];
733
- }
734
-
735
- // method could have been nullified / canceled during flush
736
- if (method) {
737
- //
738
- // ** Attention intrepid developer **
739
- //
740
- // To find out the stack of this task when it was scheduled onto
741
- // the run loop, add the following to your app.js:
742
- //
743
- // Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.
744
- //
745
- // Once that is in place, when you are at a breakpoint and navigate
746
- // here in the stack explorer, you can look at `errorRecordedForStack.stack`,
747
- // which will be the captured stack when this job was scheduled.
748
- //
749
- invoke(target, method, args, onError, errorRecordedForStack);
750
- }
751
-
752
- queueIndex += 4;
753
- }
754
-
755
- queue._queueBeingFlushed = null;
756
- if (numberOfQueueItems && after) {
757
- after();
758
- }
759
-
760
- if ((priorQueueNameIndex = indexOfPriorQueueWithActions(this, queueNameIndex)) !== -1) {
761
- queueNameIndex = priorQueueNameIndex;
762
- } else {
690
+ if (numberOfQueueItems === 0) {
763
691
  queueNameIndex++;
692
+ } else {
693
+ queue.flush(false /* async */);
694
+ queueNameIndex = 0;
764
695
  }
765
696
  }
766
697
  }
767
698
  };
768
699
 
769
- function indexOfPriorQueueWithActions(daq, currentQueueIndex) {
770
- var queueName, queue;
771
-
772
- for (var i = 0, l = currentQueueIndex; i <= l; i++) {
773
- queueName = daq.queueNames[i];
774
- queue = daq.queues[queueName];
775
- if (queue._queue.length) { return i; }
776
- }
777
-
778
- return -1;
779
- }
780
-
781
700
  __exports__["default"] = DeferredActionQueues;
782
701
  });
783
702
  define("backburner/platform",
@@ -795,9 +714,11 @@ define("backburner/platform",
795
714
  __exports__.needsIETryCatchFix = needsIETryCatchFix;
796
715
  });
797
716
  define("backburner/queue",
798
- ["exports"],
799
- function(__exports__) {
717
+ ["./utils","exports"],
718
+ function(__dependency1__, __exports__) {
800
719
  "use strict";
720
+ var isString = __dependency1__.isString;
721
+
801
722
  function Queue(name, options, globalOptions) {
802
723
  this.name = name;
803
724
  this.globalOptions = globalOptions || {};
@@ -895,56 +816,89 @@ define("backburner/queue",
895
816
  };
896
817
  },
897
818
 
898
- // TODO: remove me, only being used for Ember.run.sync
899
- flush: function() {
819
+ invoke: function(target, method, args, _, _errorRecordedForStack) {
820
+ if (args && args.length > 0) {
821
+ method.apply(target, args);
822
+ } else {
823
+ method.call(target);
824
+ }
825
+ },
826
+
827
+ invokeWithOnError: function(target, method, args, onError, errorRecordedForStack) {
828
+ try {
829
+ if (args && args.length > 0) {
830
+ method.apply(target, args);
831
+ } else {
832
+ method.call(target);
833
+ }
834
+ } catch(error) {
835
+ onError(error, errorRecordedForStack);
836
+ }
837
+ },
838
+
839
+ flush: function(sync) {
900
840
  var queue = this._queue;
841
+ var length = queue.length;
842
+
843
+ if (length === 0) {
844
+ return;
845
+ }
846
+
901
847
  var globalOptions = this.globalOptions;
902
848
  var options = this.options;
903
849
  var before = options && options.before;
904
850
  var after = options && options.after;
905
- var onError = globalOptions.onError || (globalOptions.onErrorTarget && globalOptions.onErrorTarget[globalOptions.onErrorMethod]);
906
- var target, method, args, stack, i, l = queue.length;
851
+ var onError = globalOptions.onError || (globalOptions.onErrorTarget &&
852
+ globalOptions.onErrorTarget[globalOptions.onErrorMethod]);
853
+ var target, method, args, errorRecordedForStack;
854
+ var invoke = onError ? this.invokeWithOnError : this.invoke;
907
855
 
908
856
  this.targetQueues = Object.create(null);
857
+ var queueItems = this._queueBeingFlushed = this._queue.slice();
858
+ this._queue = [];
909
859
 
910
- if (l && before) { before(); }
911
- for (i = 0; i < l; i += 4) {
912
- target = queue[i];
913
- method = queue[i+1];
914
- args = queue[i+2];
915
- stack = queue[i+3]; // Debugging assistance
860
+ if (before) {
861
+ before();
862
+ }
916
863
 
917
- // TODO: error handling
918
- if (args && args.length > 0) {
919
- if (onError) {
920
- try {
921
- method.apply(target, args);
922
- } catch (e) {
923
- onError(e);
924
- }
925
- } else {
926
- method.apply(target, args);
927
- }
928
- } else {
929
- if (onError) {
930
- try {
931
- method.call(target);
932
- } catch(e) {
933
- onError(e);
934
- }
935
- } else {
936
- method.call(target);
937
- }
864
+ for (var i = 0; i < length; i += 4) {
865
+ target = queueItems[i];
866
+ method = queueItems[i+1];
867
+ args = queueItems[i+2];
868
+ errorRecordedForStack = queueItems[i+3]; // Debugging assistance
869
+
870
+ if (isString(method)) {
871
+ method = target[method];
872
+ }
873
+
874
+ // method could have been nullified / canceled during flush
875
+ if (method) {
876
+ //
877
+ // ** Attention intrepid developer **
878
+ //
879
+ // To find out the stack of this task when it was scheduled onto
880
+ // the run loop, add the following to your app.js:
881
+ //
882
+ // Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.
883
+ //
884
+ // Once that is in place, when you are at a breakpoint and navigate
885
+ // here in the stack explorer, you can look at `errorRecordedForStack.stack`,
886
+ // which will be the captured stack when this job was scheduled.
887
+ //
888
+ invoke(target, method, args, onError, errorRecordedForStack);
938
889
  }
939
890
  }
940
- if (l && after) { after(); }
941
891
 
942
- // check if new items have been added
943
- if (queue.length > l) {
944
- this._queue = queue.slice(l);
945
- this.flush();
946
- } else {
947
- this._queue.length = 0;
892
+ if (after) {
893
+ after();
894
+ }
895
+
896
+ this._queueBeingFlushed = undefined;
897
+
898
+ if (sync !== false &&
899
+ this._queue.length > 0) {
900
+ // check if new items have been added
901
+ this.flush(true);
948
902
  }
949
903
  },
950
904
 
@@ -980,9 +934,11 @@ define("backburner/queue",
980
934
  // if not found in current queue
981
935
  // could be in the queue that is being flushed
982
936
  queue = this._queueBeingFlushed;
937
+
983
938
  if (!queue) {
984
939
  return;
985
940
  }
941
+
986
942
  for (i = 0, l = queue.length; i < l; i += 4) {
987
943
  currentTarget = queue[i];
988
944
  currentMethod = queue[i+1];
@@ -640,11 +640,10 @@ enifed("backburner/deferred-action-queues",
640
640
  function(__dependency1__, __dependency2__, __exports__) {
641
641
  "use strict";
642
642
  var each = __dependency1__.each;
643
- var isString = __dependency1__.isString;
644
643
  var Queue = __dependency2__["default"];
645
644
 
646
645
  function DeferredActionQueues(queueNames, options) {
647
- var queues = this.queues = {};
646
+ var queues = this.queues = Object.create(null);
648
647
  this.queueNames = queueNames = queueNames || [];
649
648
 
650
649
  this.options = options;
@@ -663,7 +662,9 @@ enifed("backburner/deferred-action-queues",
663
662
  var queues = this.queues;
664
663
  var queue = queues[name];
665
664
 
666
- if (!queue) { noSuchQueue(name); }
665
+ if (!queue) {
666
+ noSuchQueue(name);
667
+ }
667
668
 
668
669
  if (onceFlag) {
669
670
  return queue.pushUnique(target, method, args, stack);
@@ -672,26 +673,6 @@ enifed("backburner/deferred-action-queues",
672
673
  }
673
674
  },
674
675
 
675
- invoke: function(target, method, args, _, _errorRecordedForStack) {
676
- if (args && args.length > 0) {
677
- method.apply(target, args);
678
- } else {
679
- method.call(target);
680
- }
681
- },
682
-
683
- invokeWithOnError: function(target, method, args, onError, errorRecordedForStack) {
684
- try {
685
- if (args && args.length > 0) {
686
- method.apply(target, args);
687
- } else {
688
- method.call(target);
689
- }
690
- } catch(error) {
691
- onError(error, errorRecordedForStack);
692
- }
693
- },
694
-
695
676
  flush: function() {
696
677
  var queues = this.queues;
697
678
  var queueNames = this.queueNames;
@@ -699,85 +680,23 @@ enifed("backburner/deferred-action-queues",
699
680
  var queueNameIndex = 0;
700
681
  var numberOfQueues = queueNames.length;
701
682
  var options = this.options;
702
- var onError = options.onError || (options.onErrorTarget && options.onErrorTarget[options.onErrorMethod]);
703
- var invoke = onError ? this.invokeWithOnError : this.invoke;
704
683
 
705
684
  while (queueNameIndex < numberOfQueues) {
706
685
  queueName = queueNames[queueNameIndex];
707
686
  queue = queues[queueName];
708
- queueItems = queue._queueBeingFlushed = queue._queue.slice();
709
- queue._queue = [];
710
- queue.targetQueues = Object.create(null);
711
-
712
- var queueOptions = queue.options; // TODO: write a test for this
713
- var before = queueOptions && queueOptions.before;
714
- var after = queueOptions && queueOptions.after;
715
- var target, method, args, errorRecordedForStack;
716
- var queueIndex = 0;
717
- var numberOfQueueItems = queueItems.length;
718
-
719
- if (numberOfQueueItems && before) {
720
- before();
721
- }
722
-
723
- while (queueIndex < numberOfQueueItems) {
724
- target = queueItems[queueIndex];
725
- method = queueItems[queueIndex+1];
726
- args = queueItems[queueIndex+2];
727
- errorRecordedForStack = queueItems[queueIndex+3]; // Debugging assistance
728
-
729
- //
730
687
 
731
- if (isString(method)) {
732
- method = target[method];
733
- }
734
-
735
- // method could have been nullified / canceled during flush
736
- if (method) {
737
- //
738
- // ** Attention intrepid developer **
739
- //
740
- // To find out the stack of this task when it was scheduled onto
741
- // the run loop, add the following to your app.js:
742
- //
743
- // Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.
744
- //
745
- // Once that is in place, when you are at a breakpoint and navigate
746
- // here in the stack explorer, you can look at `errorRecordedForStack.stack`,
747
- // which will be the captured stack when this job was scheduled.
748
- //
749
- invoke(target, method, args, onError, errorRecordedForStack);
750
- }
751
-
752
- queueIndex += 4;
753
- }
754
-
755
- queue._queueBeingFlushed = null;
756
- if (numberOfQueueItems && after) {
757
- after();
758
- }
688
+ var numberOfQueueItems = queue._queue.length;
759
689
 
760
- if ((priorQueueNameIndex = indexOfPriorQueueWithActions(this, queueNameIndex)) !== -1) {
761
- queueNameIndex = priorQueueNameIndex;
762
- } else {
690
+ if (numberOfQueueItems === 0) {
763
691
  queueNameIndex++;
692
+ } else {
693
+ queue.flush(false /* async */);
694
+ queueNameIndex = 0;
764
695
  }
765
696
  }
766
697
  }
767
698
  };
768
699
 
769
- function indexOfPriorQueueWithActions(daq, currentQueueIndex) {
770
- var queueName, queue;
771
-
772
- for (var i = 0, l = currentQueueIndex; i <= l; i++) {
773
- queueName = daq.queueNames[i];
774
- queue = daq.queues[queueName];
775
- if (queue._queue.length) { return i; }
776
- }
777
-
778
- return -1;
779
- }
780
-
781
700
  __exports__["default"] = DeferredActionQueues;
782
701
  });
783
702
  enifed("backburner/platform",
@@ -795,9 +714,11 @@ enifed("backburner/platform",
795
714
  __exports__.needsIETryCatchFix = needsIETryCatchFix;
796
715
  });
797
716
  enifed("backburner/queue",
798
- ["exports"],
799
- function(__exports__) {
717
+ ["./utils","exports"],
718
+ function(__dependency1__, __exports__) {
800
719
  "use strict";
720
+ var isString = __dependency1__.isString;
721
+
801
722
  function Queue(name, options, globalOptions) {
802
723
  this.name = name;
803
724
  this.globalOptions = globalOptions || {};
@@ -895,56 +816,89 @@ enifed("backburner/queue",
895
816
  };
896
817
  },
897
818
 
898
- // TODO: remove me, only being used for Ember.run.sync
899
- flush: function() {
819
+ invoke: function(target, method, args, _, _errorRecordedForStack) {
820
+ if (args && args.length > 0) {
821
+ method.apply(target, args);
822
+ } else {
823
+ method.call(target);
824
+ }
825
+ },
826
+
827
+ invokeWithOnError: function(target, method, args, onError, errorRecordedForStack) {
828
+ try {
829
+ if (args && args.length > 0) {
830
+ method.apply(target, args);
831
+ } else {
832
+ method.call(target);
833
+ }
834
+ } catch(error) {
835
+ onError(error, errorRecordedForStack);
836
+ }
837
+ },
838
+
839
+ flush: function(sync) {
900
840
  var queue = this._queue;
841
+ var length = queue.length;
842
+
843
+ if (length === 0) {
844
+ return;
845
+ }
846
+
901
847
  var globalOptions = this.globalOptions;
902
848
  var options = this.options;
903
849
  var before = options && options.before;
904
850
  var after = options && options.after;
905
- var onError = globalOptions.onError || (globalOptions.onErrorTarget && globalOptions.onErrorTarget[globalOptions.onErrorMethod]);
906
- var target, method, args, stack, i, l = queue.length;
851
+ var onError = globalOptions.onError || (globalOptions.onErrorTarget &&
852
+ globalOptions.onErrorTarget[globalOptions.onErrorMethod]);
853
+ var target, method, args, errorRecordedForStack;
854
+ var invoke = onError ? this.invokeWithOnError : this.invoke;
907
855
 
908
856
  this.targetQueues = Object.create(null);
857
+ var queueItems = this._queueBeingFlushed = this._queue.slice();
858
+ this._queue = [];
909
859
 
910
- if (l && before) { before(); }
911
- for (i = 0; i < l; i += 4) {
912
- target = queue[i];
913
- method = queue[i+1];
914
- args = queue[i+2];
915
- stack = queue[i+3]; // Debugging assistance
860
+ if (before) {
861
+ before();
862
+ }
916
863
 
917
- // TODO: error handling
918
- if (args && args.length > 0) {
919
- if (onError) {
920
- try {
921
- method.apply(target, args);
922
- } catch (e) {
923
- onError(e);
924
- }
925
- } else {
926
- method.apply(target, args);
927
- }
928
- } else {
929
- if (onError) {
930
- try {
931
- method.call(target);
932
- } catch(e) {
933
- onError(e);
934
- }
935
- } else {
936
- method.call(target);
937
- }
864
+ for (var i = 0; i < length; i += 4) {
865
+ target = queueItems[i];
866
+ method = queueItems[i+1];
867
+ args = queueItems[i+2];
868
+ errorRecordedForStack = queueItems[i+3]; // Debugging assistance
869
+
870
+ if (isString(method)) {
871
+ method = target[method];
872
+ }
873
+
874
+ // method could have been nullified / canceled during flush
875
+ if (method) {
876
+ //
877
+ // ** Attention intrepid developer **
878
+ //
879
+ // To find out the stack of this task when it was scheduled onto
880
+ // the run loop, add the following to your app.js:
881
+ //
882
+ // Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.
883
+ //
884
+ // Once that is in place, when you are at a breakpoint and navigate
885
+ // here in the stack explorer, you can look at `errorRecordedForStack.stack`,
886
+ // which will be the captured stack when this job was scheduled.
887
+ //
888
+ invoke(target, method, args, onError, errorRecordedForStack);
938
889
  }
939
890
  }
940
- if (l && after) { after(); }
941
891
 
942
- // check if new items have been added
943
- if (queue.length > l) {
944
- this._queue = queue.slice(l);
945
- this.flush();
946
- } else {
947
- this._queue.length = 0;
892
+ if (after) {
893
+ after();
894
+ }
895
+
896
+ this._queueBeingFlushed = undefined;
897
+
898
+ if (sync !== false &&
899
+ this._queue.length > 0) {
900
+ // check if new items have been added
901
+ this.flush(true);
948
902
  }
949
903
  },
950
904
 
@@ -980,9 +934,11 @@ enifed("backburner/queue",
980
934
  // if not found in current queue
981
935
  // could be in the queue that is being flushed
982
936
  queue = this._queueBeingFlushed;
937
+
983
938
  if (!queue) {
984
939
  return;
985
940
  }
941
+
986
942
  for (i = 0, l = queue.length; i < l; i += 4) {
987
943
  currentTarget = queue[i];
988
944
  currentMethod = queue[i+1];
@@ -6036,58 +5992,42 @@ enifed("ember-handlebars/controls/select",
6036
5992
 
6037
5993
  tagName: 'select',
6038
5994
  classNames: ['ember-select'],
6039
- defaultTemplate: Ember.Handlebars.template(function (Handlebars,depth0,helpers,partials,data) {
6040
- this.compilerInfo = [4,'>= 1.0.0'];
6041
- helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
6042
- var buffer = '', stack1, escapeExpression=this.escapeExpression, self=this;
6043
-
6044
- function program1(depth0,data) {
6045
-
6046
- var buffer = '', stack1;
5995
+ defaultTemplate: Ember.Handlebars.template({"1":function(depth0,helpers,partials,data) {
5996
+ var stack1, buffer = '';
6047
5997
  data.buffer.push("<option value=\"\">");
6048
- stack1 = helpers._triageMustache.call(depth0, "view.prompt", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
6049
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
5998
+ stack1 = helpers._triageMustache.call(depth0, "view.prompt", {"name":"_triageMustache","hash":{},"hashTypes":{},"hashContexts":{},"types":["ID"],"contexts":[depth0],"data":data});
5999
+ if (stack1 != null) { data.buffer.push(stack1); }
6050
6000
  data.buffer.push("</option>");
6051
6001
  return buffer;
6052
- }
6053
-
6054
- function program3(depth0,data) {
6055
-
6002
+ },"3":function(depth0,helpers,partials,data) {
6056
6003
  var stack1;
6057
- stack1 = helpers.each.call(depth0, "view.groupedContent", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(4, program4, data),contexts:[depth0],types:["ID"],data:data});
6058
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
6004
+ stack1 = helpers.each.call(depth0, "view.groupedContent", {"name":"each","hash":{},"hashTypes":{},"hashContexts":{},"fn":this.program(4, data),"inverse":this.noop,"types":["ID"],"contexts":[depth0],"data":data});
6005
+ if (stack1 != null) { data.buffer.push(stack1); }
6059
6006
  else { data.buffer.push(''); }
6060
- }
6061
- function program4(depth0,data) {
6062
-
6063
-
6064
- data.buffer.push(escapeExpression(helpers.view.call(depth0, "view.groupView", {hash:{
6065
- 'content': ("content"),
6066
- 'label': ("label")
6067
- },hashTypes:{'content': "ID",'label': "ID"},hashContexts:{'content': depth0,'label': depth0},contexts:[depth0],types:["ID"],data:data})));
6068
- }
6069
-
6070
- function program6(depth0,data) {
6071
-
6007
+ },"4":function(depth0,helpers,partials,data) {
6008
+ var escapeExpression=this.escapeExpression;
6009
+ data.buffer.push(escapeExpression(helpers.view.call(depth0, "view.groupView", {"name":"view","hash":{
6010
+ 'label': ("label"),
6011
+ 'content': ("content")
6012
+ },"hashTypes":{'label': "ID",'content': "ID"},"hashContexts":{'label': depth0,'content': depth0},"types":["ID"],"contexts":[depth0],"data":data})));
6013
+ },"6":function(depth0,helpers,partials,data) {
6072
6014
  var stack1;
6073
- stack1 = helpers.each.call(depth0, "view.content", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(7, program7, data),contexts:[depth0],types:["ID"],data:data});
6074
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
6015
+ stack1 = helpers.each.call(depth0, "view.content", {"name":"each","hash":{},"hashTypes":{},"hashContexts":{},"fn":this.program(7, data),"inverse":this.noop,"types":["ID"],"contexts":[depth0],"data":data});
6016
+ if (stack1 != null) { data.buffer.push(stack1); }
6075
6017
  else { data.buffer.push(''); }
6076
- }
6077
- function program7(depth0,data) {
6078
-
6079
-
6080
- data.buffer.push(escapeExpression(helpers.view.call(depth0, "view.optionView", {hash:{
6018
+ },"7":function(depth0,helpers,partials,data) {
6019
+ var escapeExpression=this.escapeExpression;
6020
+ data.buffer.push(escapeExpression(helpers.view.call(depth0, "view.optionView", {"name":"view","hash":{
6081
6021
  'content': ("")
6082
- },hashTypes:{'content': "ID"},hashContexts:{'content': depth0},contexts:[depth0],types:["ID"],data:data})));
6083
- }
6084
-
6085
- stack1 = helpers['if'].call(depth0, "view.prompt", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data});
6086
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
6087
- stack1 = helpers['if'].call(depth0, "view.optionGroupPath", {hash:{},hashTypes:{},hashContexts:{},inverse:self.program(6, program6, data),fn:self.program(3, program3, data),contexts:[depth0],types:["ID"],data:data});
6088
- if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
6022
+ },"hashTypes":{'content': "ID"},"hashContexts":{'content': depth0},"types":["ID"],"contexts":[depth0],"data":data})));
6023
+ },"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
6024
+ var stack1, buffer = '';
6025
+ stack1 = helpers['if'].call(depth0, "view.prompt", {"name":"if","hash":{},"hashTypes":{},"hashContexts":{},"fn":this.program(1, data),"inverse":this.noop,"types":["ID"],"contexts":[depth0],"data":data});
6026
+ if (stack1 != null) { data.buffer.push(stack1); }
6027
+ stack1 = helpers['if'].call(depth0, "view.optionGroupPath", {"name":"if","hash":{},"hashTypes":{},"hashContexts":{},"fn":this.program(3, data),"inverse":this.program(6, data),"types":["ID"],"contexts":[depth0],"data":data});
6028
+ if (stack1 != null) { data.buffer.push(stack1); }
6089
6029
  return buffer;
6090
- }),
6030
+ },"useData":true}),
6091
6031
  attributeBindings: ['multiple', 'disabled', 'tabindex', 'name', 'required', 'autofocus',
6092
6032
  'form', 'size'],
6093
6033