mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-16 00:00:03 +01:00
17 lines
328 B
JavaScript
17 lines
328 B
JavaScript
import Ember from 'ember';
|
|
import DS from 'ember-data';
|
|
|
|
export default DS.Model.extend({
|
|
type: DS.attr('string'),
|
|
properties: DS.attr(),
|
|
|
|
poll: function() {
|
|
Ember.debug("Poll");
|
|
|
|
var _this = this;
|
|
Ember.run.later(function() {
|
|
_this.reload();
|
|
_this.poll();
|
|
}, 500);
|
|
}.observes('didLoad')
|
|
});
|