This repository has been archived by the owner on May 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove references of third-party libraries on cilantro object
This is to improve clarity of the code as well as make it possible to load the individual third-party modules for use in the project or override the core libraries if existing in a project. The dropped references include: - `c.$` - `c._` - `c.Backbone` - `c.Marionette` - `c.Highcharts` These dependencies must now be included explicitly in the dependencies array for the module. In addition, the subscribe/publish hooks for Marionette.ItemView have been removed. There were only two areas this was being used and they were simply replaced with `c.mediator`.
- Loading branch information
Showing
76 changed files
with
494 additions
and
473 deletions.
There are no files selected for viewing
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
define(['cilantro'], function(c) { | ||
return c.Backbone.View; | ||
define(['backbone'], function(Backbone) { | ||
return Backbone.View; | ||
}); |
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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
define [ | ||
'../core' | ||
'underscore' | ||
'./context/nodes' | ||
'./context/model' | ||
], (c, mods...) -> | ||
], (_, mods...) -> | ||
|
||
c._.extend {}, mods... | ||
_.extend {}, mods... |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
define [ | ||
'../../core' | ||
'underscore' | ||
'./nodes/base' | ||
'./nodes/condition' | ||
'./nodes/branch' | ||
'./nodes/composite' | ||
], (c, mods...) -> | ||
], (_, mods...) -> | ||
|
||
c._.extend {}, mods... | ||
_.extend {}, mods... |
Oops, something went wrong.