edifice 1.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile.lock +120 -1
- data/README.md +73 -0
- data/Rakefile +6 -0
- data/_site/images/logo_edifice_80x93.png +0 -0
- data/_site/images/text_img_edifice_600x180.png +0 -0
- data/_site/images/text_img_railsway_547x54.png +0 -0
- data/_site/images/text_img_really_450x26.png +0 -0
- data/_site/index.html +141 -0
- data/_site/pygments.css +62 -0
- data/_site/style.css +477 -0
- data/_site/style.scss +239 -0
- data/_site/stylesheets/css/ie.css +57 -0
- data/_site/stylesheets/css/print.css +29 -0
- data/app/assets/javascripts/edifice/framework.js +0 -146
- data/edifice.gemspec +6 -0
- data/lib/edifice.rb +3 -2
- data/lib/edifice/controller.rb +0 -1
- data/lib/edifice/version.rb +1 -1
- data/{test/rails3/lib/tasks/.gitkeep → log/test.log} +0 -0
- data/spec/edifice_controller_spec.rb +28 -0
- data/spec/javascript_event_spec.rb +25 -0
- data/spec/pjax_support_spec.rb +35 -0
- data/{test/rails3 → spec/rails3.1}/.gitignore +1 -0
- data/{test/rails3/public → spec/rails3.1/app/assets}/images/rails.png +0 -0
- data/spec/rails3.1/app/assets/javascripts/application.js +10 -0
- data/spec/rails3.1/app/assets/javascripts/test/base.js +11 -0
- data/spec/rails3.1/app/assets/javascripts/vendor/jquery-pjax.js +264 -0
- data/spec/rails3.1/app/assets/stylesheets/application.css +7 -0
- data/{test/rails3 → spec/rails3.1}/app/controllers/application_controller.rb +0 -0
- data/spec/rails3.1/app/controllers/test_controller.rb +2 -0
- data/spec/rails3.1/app/views/layouts/application.html.erb +15 -0
- data/{test/rails3/public/favicon.ico → spec/rails3.1/app/views/test/base.html.erb} +0 -0
- data/{test/rails3/public/javascripts/.gitkeep → spec/rails3.1/app/views/test/empty.html.erb} +0 -0
- data/{test/rails3 → spec/rails3.1}/config/application.rb +22 -16
- data/{test/rails3 → spec/rails3.1}/config/boot.rb +0 -0
- data/{test/rails3 → spec/rails3.1}/config/environment.rb +1 -1
- data/{test/rails3 → spec/rails3.1}/config/environments/test.rb +6 -2
- data/{test/rails3 → spec/rails3.1}/config/initializers/backtrace_silencers.rb +0 -0
- data/{test/rails3 → spec/rails3.1}/config/initializers/inflections.rb +0 -0
- data/{test/rails3 → spec/rails3.1}/config/initializers/mime_types.rb +0 -0
- data/{test/rails3 → spec/rails3.1}/config/initializers/secret_token.rb +1 -1
- data/{test/rails3 → spec/rails3.1}/config/initializers/session_store.rb +2 -2
- data/spec/rails3.1/config/initializers/wrap_parameters.rb +14 -0
- data/spec/rails3.1/config/routes.rb +4 -0
- data/{test/rails3/public/stylesheets → spec/rails3.1/log}/.gitkeep +0 -0
- data/spec/spec_helper.rb +7 -0
- metadata +141 -90
- data/README +0 -46
- data/test/rails3/Gemfile +0 -33
- data/test/rails3/Gemfile.lock +0 -75
- data/test/rails3/README +0 -256
- data/test/rails3/Rakefile +0 -7
- data/test/rails3/app/controllers/posts_controller.rb +0 -15
- data/test/rails3/app/helpers/application_helper.rb +0 -2
- data/test/rails3/app/models/post.rb +0 -10
- data/test/rails3/app/views/layouts/application.html.erb +0 -14
- data/test/rails3/app/views/posts/new.html.erb +0 -17
- data/test/rails3/config.ru +0 -4
- data/test/rails3/config/database.yml +0 -22
- data/test/rails3/config/environments/development.rb +0 -26
- data/test/rails3/config/environments/production.rb +0 -49
- data/test/rails3/config/locales/en.yml +0 -5
- data/test/rails3/config/routes.rb +0 -4
- data/test/rails3/db/seeds.rb +0 -7
- data/test/rails3/doc/README_FOR_APP +0 -2
- data/test/rails3/public/404.html +0 -26
- data/test/rails3/public/422.html +0 -26
- data/test/rails3/public/500.html +0 -26
- data/test/rails3/public/javascripts/application.js +0 -0
- data/test/rails3/public/javascripts/jquery-1.5.1.js +0 -8316
- data/test/rails3/public/robots.txt +0 -5
- data/test/rails3/public/stylesheets/form.css +0 -18
- data/test/rails3/script/rails +0 -6
- data/test/rails3/vendor/plugins/.gitkeep +0 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Rails31</title>
|
5
|
+
<%= stylesheet_link_tag "application" %>
|
6
|
+
<%= javascript_include_tag "application" %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
<%= edifice_meta_tags %>
|
9
|
+
</head>
|
10
|
+
<body class="<%= edifice_body_classes %>">
|
11
|
+
|
12
|
+
<%= yield %>
|
13
|
+
|
14
|
+
</body>
|
15
|
+
</html>
|
File without changes
|
data/{test/rails3/public/javascripts/.gitkeep → spec/rails3.1/app/views/test/empty.html.erb}
RENAMED
File without changes
|
@@ -1,19 +1,24 @@
|
|
1
1
|
require File.expand_path('../boot', __FILE__)
|
2
2
|
|
3
|
-
require
|
3
|
+
require "action_controller/railtie"
|
4
|
+
require "action_mailer/railtie"
|
5
|
+
require "sprockets/railtie"
|
4
6
|
|
5
|
-
|
6
|
-
# you've limited to :test, :development, or :production.
|
7
|
-
Bundler.require(:default, Rails.env) if defined?(Bundler)
|
7
|
+
require 'jquery-rails'
|
8
8
|
|
9
|
-
# require edifice
|
10
|
-
$: << File.expand_path('../../../../lib', __FILE__)
|
11
|
-
require 'edifice.rb'
|
12
|
-
|
13
|
-
module Rails3
|
14
|
-
class Application < Rails::Application
|
15
9
|
|
10
|
+
if defined?(Bundler)
|
11
|
+
# If you precompile assets before deploying to production, use this line
|
12
|
+
Bundler.require(*Rails.groups(:assets => %w(development test)))
|
13
|
+
# If you want your assets lazily compiled in production, use this line
|
14
|
+
# Bundler.require(:default, :assets, Rails.env)
|
15
|
+
end
|
16
16
|
|
17
|
+
module Rails31
|
18
|
+
class Application < Rails::Application
|
19
|
+
# don't know how i was supposed to set this
|
20
|
+
config.root = ENV['RAILS_ROOT']
|
21
|
+
|
17
22
|
# Settings in config/environments/* take precedence over those specified here.
|
18
23
|
# Application configuration should go into files in config/initializers
|
19
24
|
# -- all .rb files in that directory are automatically loaded.
|
@@ -36,15 +41,16 @@ module Rails3
|
|
36
41
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
37
42
|
# config.i18n.default_locale = :de
|
38
43
|
|
39
|
-
# JavaScript files you want as :defaults (application.js is always included).
|
40
|
-
config.action_view.javascript_expansions[:defaults] = %w(
|
41
|
-
jquery-1.5.1 edifice/framework edifice/edifice_form edifice/form
|
42
|
-
)
|
43
|
-
|
44
44
|
# Configure the default encoding used in templates for Ruby 1.9.
|
45
45
|
config.encoding = "utf-8"
|
46
46
|
|
47
47
|
# Configure sensitive parameters which will be filtered from the log file.
|
48
48
|
config.filter_parameters += [:password]
|
49
|
+
|
50
|
+
# Enable the asset pipeline
|
51
|
+
config.assets.enabled = true
|
52
|
+
|
53
|
+
# Version of your assets, change this if you want to expire all your assets
|
54
|
+
config.assets.version = '1.0'
|
49
55
|
end
|
50
|
-
end
|
56
|
+
end
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
Rails31::Application.configure do
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb
|
3
3
|
|
4
4
|
# The test environment is used exclusively to run your application's
|
@@ -7,7 +7,11 @@ Rails3::Application.configure do
|
|
7
7
|
# and recreated between test runs. Don't rely on the data there!
|
8
8
|
config.cache_classes = true
|
9
9
|
|
10
|
-
#
|
10
|
+
# Configure static asset server for tests with Cache-Control for performance
|
11
|
+
config.serve_static_assets = true
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
13
|
+
|
14
|
+
# Log error messages when you accidentally call methods on nil
|
11
15
|
config.whiny_nils = true
|
12
16
|
|
13
17
|
# Show full error reports and disable caching
|
File without changes
|
File without changes
|
File without changes
|
@@ -4,4 +4,4 @@
|
|
4
4
|
# If you change this key, all old signed cookies will become invalid!
|
5
5
|
# Make sure the secret is at least 30 characters and all random,
|
6
6
|
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
|
7
|
+
Rails31::Application.config.secret_token = '9c49a20f1a1927d39445006fa86e869792e085b10f0a4f0c8301cd50207d8beca37dd1f3c641522d4411528c87cbf50827cccf7f89e51529be1b4c71a7d7d7bc'
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
|
3
|
+
Rails31::Application.config.session_store :cookie_store, :key => '_rails3.1_session'
|
4
4
|
|
5
5
|
# Use the database for sessions instead of the cookie-based default,
|
6
6
|
# which shouldn't be used to store highly confidential information
|
7
7
|
# (create the session table with "rails generate session_migration")
|
8
|
-
#
|
8
|
+
# Rails31::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters :format => [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
File without changes
|
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edifice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
+
- 1
|
8
9
|
- 0
|
9
|
-
version:
|
10
|
+
version: 1.1.0
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Tom Coleman
|
@@ -16,9 +17,78 @@ autorequire:
|
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2012-01-
|
20
|
-
dependencies:
|
21
|
-
|
20
|
+
date: 2012-01-19 00:00:00 Z
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: rake
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
version: "0"
|
34
|
+
type: :development
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rails
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
48
|
+
type: :development
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: rspec-rails
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
62
|
+
type: :development
|
63
|
+
version_requirements: *id003
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: capybara
|
66
|
+
prerelease: false
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
76
|
+
type: :development
|
77
|
+
version_requirements: *id004
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: jquery-rails
|
80
|
+
prerelease: false
|
81
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 0
|
89
|
+
version: "0"
|
90
|
+
type: :development
|
91
|
+
version_requirements: *id005
|
22
92
|
description: The idea here is to communicate which view is rendering to the javascript so that we can call the correct javascript files in an automagical way.
|
23
93
|
email:
|
24
94
|
- tom@thesnail.org
|
@@ -36,8 +106,18 @@ files:
|
|
36
106
|
- Gemfile
|
37
107
|
- Gemfile.lock
|
38
108
|
- MIT-LICENSE
|
39
|
-
- README
|
109
|
+
- README.md
|
40
110
|
- Rakefile
|
111
|
+
- _site/images/logo_edifice_80x93.png
|
112
|
+
- _site/images/text_img_edifice_600x180.png
|
113
|
+
- _site/images/text_img_railsway_547x54.png
|
114
|
+
- _site/images/text_img_really_450x26.png
|
115
|
+
- _site/index.html
|
116
|
+
- _site/pygments.css
|
117
|
+
- _site/style.css
|
118
|
+
- _site/style.scss
|
119
|
+
- _site/stylesheets/css/ie.css
|
120
|
+
- _site/stylesheets/css/print.css
|
41
121
|
- app/assets/javascripts/edifice.js
|
42
122
|
- app/assets/javascripts/edifice/framework.js
|
43
123
|
- edifice.gemspec
|
@@ -49,48 +129,34 @@ files:
|
|
49
129
|
- lib/edifice/renderer.rb
|
50
130
|
- lib/edifice/version.rb
|
51
131
|
- lib/tasks/edifice.rake
|
52
|
-
- test
|
53
|
-
-
|
54
|
-
-
|
55
|
-
-
|
56
|
-
-
|
57
|
-
-
|
58
|
-
-
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
62
|
-
-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
-
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
-
|
80
|
-
- test/rails3/lib/tasks/.gitkeep
|
81
|
-
- test/rails3/public/404.html
|
82
|
-
- test/rails3/public/422.html
|
83
|
-
- test/rails3/public/500.html
|
84
|
-
- test/rails3/public/favicon.ico
|
85
|
-
- test/rails3/public/images/rails.png
|
86
|
-
- test/rails3/public/javascripts/.gitkeep
|
87
|
-
- test/rails3/public/javascripts/application.js
|
88
|
-
- test/rails3/public/javascripts/jquery-1.5.1.js
|
89
|
-
- test/rails3/public/robots.txt
|
90
|
-
- test/rails3/public/stylesheets/.gitkeep
|
91
|
-
- test/rails3/public/stylesheets/form.css
|
92
|
-
- test/rails3/script/rails
|
93
|
-
- test/rails3/vendor/plugins/.gitkeep
|
132
|
+
- log/test.log
|
133
|
+
- spec/edifice_controller_spec.rb
|
134
|
+
- spec/javascript_event_spec.rb
|
135
|
+
- spec/pjax_support_spec.rb
|
136
|
+
- spec/rails3.1/.gitignore
|
137
|
+
- spec/rails3.1/app/assets/images/rails.png
|
138
|
+
- spec/rails3.1/app/assets/javascripts/application.js
|
139
|
+
- spec/rails3.1/app/assets/javascripts/test/base.js
|
140
|
+
- spec/rails3.1/app/assets/javascripts/vendor/jquery-pjax.js
|
141
|
+
- spec/rails3.1/app/assets/stylesheets/application.css
|
142
|
+
- spec/rails3.1/app/controllers/application_controller.rb
|
143
|
+
- spec/rails3.1/app/controllers/test_controller.rb
|
144
|
+
- spec/rails3.1/app/views/layouts/application.html.erb
|
145
|
+
- spec/rails3.1/app/views/test/base.html.erb
|
146
|
+
- spec/rails3.1/app/views/test/empty.html.erb
|
147
|
+
- spec/rails3.1/config/application.rb
|
148
|
+
- spec/rails3.1/config/boot.rb
|
149
|
+
- spec/rails3.1/config/environment.rb
|
150
|
+
- spec/rails3.1/config/environments/test.rb
|
151
|
+
- spec/rails3.1/config/initializers/backtrace_silencers.rb
|
152
|
+
- spec/rails3.1/config/initializers/inflections.rb
|
153
|
+
- spec/rails3.1/config/initializers/mime_types.rb
|
154
|
+
- spec/rails3.1/config/initializers/secret_token.rb
|
155
|
+
- spec/rails3.1/config/initializers/session_store.rb
|
156
|
+
- spec/rails3.1/config/initializers/wrap_parameters.rb
|
157
|
+
- spec/rails3.1/config/routes.rb
|
158
|
+
- spec/rails3.1/log/.gitkeep
|
159
|
+
- spec/spec_helper.rb
|
94
160
|
homepage: http://github.com/tmeasday/edifice
|
95
161
|
licenses: []
|
96
162
|
|
@@ -125,46 +191,31 @@ signing_key:
|
|
125
191
|
specification_version: 3
|
126
192
|
summary: Ediface is a Javascript framework released as a rails plugin.
|
127
193
|
test_files:
|
128
|
-
-
|
129
|
-
-
|
130
|
-
-
|
131
|
-
-
|
132
|
-
-
|
133
|
-
-
|
134
|
-
-
|
135
|
-
-
|
136
|
-
-
|
137
|
-
-
|
138
|
-
-
|
139
|
-
-
|
140
|
-
-
|
141
|
-
-
|
142
|
-
-
|
143
|
-
-
|
144
|
-
-
|
145
|
-
-
|
146
|
-
-
|
147
|
-
-
|
148
|
-
-
|
149
|
-
-
|
150
|
-
-
|
151
|
-
-
|
152
|
-
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
- test/rails3/doc/README_FOR_APP
|
156
|
-
- test/rails3/lib/tasks/.gitkeep
|
157
|
-
- test/rails3/public/404.html
|
158
|
-
- test/rails3/public/422.html
|
159
|
-
- test/rails3/public/500.html
|
160
|
-
- test/rails3/public/favicon.ico
|
161
|
-
- test/rails3/public/images/rails.png
|
162
|
-
- test/rails3/public/javascripts/.gitkeep
|
163
|
-
- test/rails3/public/javascripts/application.js
|
164
|
-
- test/rails3/public/javascripts/jquery-1.5.1.js
|
165
|
-
- test/rails3/public/robots.txt
|
166
|
-
- test/rails3/public/stylesheets/.gitkeep
|
167
|
-
- test/rails3/public/stylesheets/form.css
|
168
|
-
- test/rails3/script/rails
|
169
|
-
- test/rails3/vendor/plugins/.gitkeep
|
194
|
+
- spec/edifice_controller_spec.rb
|
195
|
+
- spec/javascript_event_spec.rb
|
196
|
+
- spec/pjax_support_spec.rb
|
197
|
+
- spec/rails3.1/.gitignore
|
198
|
+
- spec/rails3.1/app/assets/images/rails.png
|
199
|
+
- spec/rails3.1/app/assets/javascripts/application.js
|
200
|
+
- spec/rails3.1/app/assets/javascripts/test/base.js
|
201
|
+
- spec/rails3.1/app/assets/javascripts/vendor/jquery-pjax.js
|
202
|
+
- spec/rails3.1/app/assets/stylesheets/application.css
|
203
|
+
- spec/rails3.1/app/controllers/application_controller.rb
|
204
|
+
- spec/rails3.1/app/controllers/test_controller.rb
|
205
|
+
- spec/rails3.1/app/views/layouts/application.html.erb
|
206
|
+
- spec/rails3.1/app/views/test/base.html.erb
|
207
|
+
- spec/rails3.1/app/views/test/empty.html.erb
|
208
|
+
- spec/rails3.1/config/application.rb
|
209
|
+
- spec/rails3.1/config/boot.rb
|
210
|
+
- spec/rails3.1/config/environment.rb
|
211
|
+
- spec/rails3.1/config/environments/test.rb
|
212
|
+
- spec/rails3.1/config/initializers/backtrace_silencers.rb
|
213
|
+
- spec/rails3.1/config/initializers/inflections.rb
|
214
|
+
- spec/rails3.1/config/initializers/mime_types.rb
|
215
|
+
- spec/rails3.1/config/initializers/secret_token.rb
|
216
|
+
- spec/rails3.1/config/initializers/session_store.rb
|
217
|
+
- spec/rails3.1/config/initializers/wrap_parameters.rb
|
218
|
+
- spec/rails3.1/config/routes.rb
|
219
|
+
- spec/rails3.1/log/.gitkeep
|
220
|
+
- spec/spec_helper.rb
|
170
221
|
has_rdoc:
|
data/README
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
Edifice
|
2
|
-
=======
|
3
|
-
|
4
|
-
Edifice is a Javascript framework released as a rails plugin.
|
5
|
-
|
6
|
-
|
7
|
-
framework.js + associated helpers
|
8
|
-
---------------------------------
|
9
|
-
|
10
|
-
The idea here is to communicate which view is rendering to the javascript so that we can call the correct javascript files in an automagical way.
|
11
|
-
|
12
|
-
All you need to do is add
|
13
|
-
<%= edifice_meta_tags %>
|
14
|
-
to your layout, in the head.
|
15
|
-
|
16
|
-
Then if you render an action, such as users/show, in the layout application, these functions[if they exist] will be fired on these js objects in the following order:
|
17
|
-
|
18
|
-
document.ready:
|
19
|
-
- usersShow.onReady
|
20
|
-
- layoutsApplication.onReady
|
21
|
-
- [widgets are loaded]
|
22
|
-
- usersShow.onWidgetReady
|
23
|
-
- layoutsApplication.onWidgetReady
|
24
|
-
|
25
|
-
document.load:
|
26
|
-
- usersShow.onLoad
|
27
|
-
- layoutsApplication.onLoad
|
28
|
-
|
29
|
-
suppose we then subsequently load users/edit via ajax, in the layout xhr. Then the following events will fire:
|
30
|
-
- usersEdit.onAjaxComplete
|
31
|
-
- layoutsXhr.onAjaxComplete
|
32
|
-
- usersShow.onAjaxComplete
|
33
|
-
- layoutsApplication.onAjaxComplete
|
34
|
-
- [widgets are loaded]
|
35
|
-
- usersEdit.onWidgetReady
|
36
|
-
- layoutsXhr.onWidgetReady
|
37
|
-
- usersShow.onWidgetReady
|
38
|
-
- layoutsApplication.onWidgetReady
|
39
|
-
|
40
|
-
widgets
|
41
|
-
-------
|
42
|
-
|
43
|
-
forms
|
44
|
-
-----
|
45
|
-
|
46
|
-
Copyright (c) 2010 iCyte, released under the MIT license
|