phrender 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 686e472b49ad5c5bde7c4ad9e92389b39fc82d66
4
- data.tar.gz: a731c62e503aaf39dbb5e56873e56268679d0532
3
+ metadata.gz: 14de9d7b54391c19bf6c292aa397387eb2aff722
4
+ data.tar.gz: 064ebb91d30eca80738ff0325109632e82426397
5
5
  SHA512:
6
- metadata.gz: 80f443469ab83653967c55e999d15b988cdbc0a5adf0c089da6307e9e242f66c871b4c4c64f9fc19a00ac55dd50a45b1e2e1ca31fbbca724d4d6e88fe8d5154a
7
- data.tar.gz: f156c54819c9082b093d652bc3755a3fcd0fd5cad7f1915a4e1a7eb1ac9340adff8fcb0db06c6c17383a0925636fbdf4b178b308b77cf65b271b9152ad699aaf
6
+ metadata.gz: c11a7efe05d37d81a87b55855ffb5b7ec97aa9e967ff157854004f1f1e9129f1aebbdc8836a030c5912d1585f5fea60441807545d3c5bebf5067cea1677cdf8a
7
+ data.tar.gz: 6159e798669b72e8ca1374bb0443cad233b24943d73485f6717650b5606548c6f71f8fbba5624e3298bb46a7558963d447233f562b0d343068cc4f06257bd87a
@@ -1,15 +1,10 @@
1
1
  window.__PHRENDER = true;
2
- window.__firstRender = true;
3
2
  window.__afterRender = function() {
4
3
  console.log('-- PHRENDER COMPLETE --');
5
4
  };
6
5
  Ember.Route = Ember.Route.extend({
7
6
  render: function(){
8
- if (window.__firstRender) {
9
- window.__firstRender = false;
10
- } else {
11
- Ember.run.scheduleOnce('afterRender', null, window.__afterRender);
12
- }
7
+ Ember.run.scheduleOnce('afterRender', null, window.__afterRender);
13
8
  this._super.apply(this, arguments);
14
9
  }
15
10
  });
@@ -1,3 +1,3 @@
1
1
  class Phrender
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - M Smart, theScore Inc.