This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ========================================================================== | |
// Project: MiTabla3 - | |
// Copyright: Michelin | |
// ========================================================================== | |
/*globals MiTabla3 */ | |
/** @namespace | |
My cool new app. Describe your application. | |
@extends SC.Object | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ========================================================================== | |
// Project: MiTabla3 - | |
// Copyright: Michelin | |
// ========================================================================== | |
/*globals MiTabla3 */ | |
/** @namespace | |
My cool new app. Describe your application. | |
@extends SC.Object | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sc_require('models/visit_model'); | |
Sites.visitsController = SC.ArrayController.create( | |
/** @scope Sites.visitsController.prototype */ | |
{ | |
content: null, | |
siteIdBinding: 'Sites.siteController.id', | |
siteIdDidChange: function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In the view Sites.GeneralDescriptionView : | |
txtVisits: SC.TextFieldView.design({ | |
layout: Sites.LAYOUT_TXT, | |
valueBinding: 'Sites.visitsController.content', | |
// MCM | |
txtVisitsHasChanged: function() { | |
var q = Sites.SITES_QUERY; | |
var s = Sites.store.find(q); | |
var id, sKey, sTatus; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is my first gist with just a comment line |