From 037fd96b1834ed4e9b8ffc849aec347575fe5993 Mon Sep 17 00:00:00 2001 From: Denny Mueller Date: Tue, 21 Jul 2015 23:20:03 +0200 Subject: [PATCH 1/3] add \n --- en/contributing/README.md | 2 +- ja/contributing/README.md | 3 ++- ja/deployment/README.md | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/en/contributing/README.md b/en/contributing/README.md index 147ea20..62042b8 100644 --- a/en/contributing/README.md +++ b/en/contributing/README.md @@ -1,4 +1,4 @@ # Contributing You want to contribute? Great! Thanks for being awesome! We have full docs on how to contribute here: -https://github.com/voltrb/volt/blob/master/CONTRIBUTING.md \ No newline at end of file +https://github.com/voltrb/volt/blob/master/CONTRIBUTING.md diff --git a/ja/contributing/README.md b/ja/contributing/README.md index 9a5a496..d803d43 100644 --- a/ja/contributing/README.md +++ b/ja/contributing/README.md @@ -1,4 +1,5 @@ # Volt への貢献 Volt に貢献したい?それは素晴らしい!ありがとうございます!コントリビュートの方法は以下をご覧ください。 -https://github.com/voltrb/volt/blob/master/CONTRIBUTING.md \ No newline at end of file +https://github.com/voltrb/volt/blob/master/CONTRIBUTING.md + diff --git a/ja/deployment/README.md b/ja/deployment/README.md index 54fd18e..4786182 100644 --- a/ja/deployment/README.md +++ b/ja/deployment/README.md @@ -1,3 +1,4 @@ # Volt のデプロイ この章では、ポピュラーなクラウドサービスを利用した Volt のデプロイについて記載します。 + From 41da0bf69b336a956ef29a76a178a7af41bcb148 Mon Sep 17 00:00:00 2001 From: Denny Mueller Date: Tue, 21 Jul 2015 23:22:48 +0200 Subject: [PATCH 2/3] add modified date voltrb/volt#237 --- add.rb | 12 ++++++++++++ en/README.md | 2 ++ en/SUMMARY.md | 2 ++ en/contributing/README.md | 2 ++ en/contributing/component_gems.md | 2 ++ en/deployment/README.md | 2 ++ en/deployment/cloud9.md | 2 ++ en/deployment/docker.md | 2 ++ en/deployment/heroku.md | 2 ++ en/docs/README.md | 2 ++ en/docs/arraymodel_events.md | 2 ++ en/docs/assets.md | 2 ++ en/docs/associations.md | 2 ++ en/docs/attribute_bindings.md | 2 ++ en/docs/automatic_model_conversion.md | 2 ++ en/docs/beforeafter_actions.md | 2 ++ en/docs/buffers.md | 2 ++ en/docs/callbacks_and_actions.md | 2 ++ en/docs/channel.md | 2 ++ en/docs/component_gems.md | 2 ++ en/docs/components.md | 2 ++ en/docs/content_binding.md | 2 ++ en/docs/controllers.md | 2 ++ en/docs/debugging.md | 2 ++ en/docs/dependencies.md | 2 ++ en/docs/each_binding.md | 2 ++ en/docs/environment_options.md | 2 ++ en/docs/escaping.md | 2 ++ en/docs/event_bindings.md | 2 ++ en/docs/fields.md | 2 ++ en/docs/flash_collection.md | 2 ++ en/docs/getting_view_dom_nodes.md | 2 ++ en/docs/http_controllers.md | 2 ++ en/docs/if_binding.md | 2 ++ en/docs/lib.md | 2 ++ en/docs/message_bus.md | 2 ++ en/docs/middleware.md | 2 ++ en/docs/model_classes.md | 2 ++ en/docs/model_states.md | 2 ++ en/docs/models.md | 2 ++ en/docs/nil_models.md | 2 ++ en/docs/permissions.md | 2 ++ en/docs/provided_collections.md | 2 ++ en/docs/provided_components.md | 2 ++ en/docs/reactive_accessors.md | 2 ++ en/docs/rendering.md | 2 ++ en/docs/routes.md | 2 ++ en/docs/routes_file.md | 2 ++ en/docs/store_collections.md | 2 ++ en/docs/sub_collections.md | 2 ++ en/docs/tag_attributes.md | 2 ++ en/docs/tags.md | 2 ++ en/docs/tasks.md | 2 ++ en/docs/testing.md | 2 ++ en/docs/url.md | 2 ++ en/docs/url_for_and_url_with.md | 2 ++ en/docs/users.md | 2 ++ en/docs/validations.md | 2 ++ en/docs/view_bindings.md | 2 ++ en/docs/views.md | 2 ++ en/docs/volt_command.md | 2 ++ en/docs/volt_helpers.md | 2 ++ en/docs/yield_binding.md | 2 ++ en/getting_help/README.md | 2 ++ .../can_i_use_jquery_or_other_dom_manipulating_js.md | 2 ++ en/getting_help/can_i_use_opal_gems.md | 2 ++ en/getting_help/does_volt_support_haml,_slim,_etc.md | 2 ++ en/getting_help/faq.md | 2 ++ ...rsistent_connection_open_a_performance_problem.md | 2 ++ en/getting_help/what_browsers_does_volt_support.md | 2 ++ en/getting_help/what_runs_on_the_client_vs_server.md | 2 ++ .../whats_the_difference_between_volt_and_meteor.md | 2 ++ ...use_underscore_accessors_instead_of_[property].md | 2 ++ en/introduction/README.md | 2 ++ en/tutorial/README.md | 2 ++ en/tutorial/a_sample_todo_app.md | 2 ++ en/tutorial/todo_functionality.md | 2 ++ en/why_volt/README.md | 3 ++- ja/README.md | 2 ++ ja/SUMMARY.md | 2 ++ ja/contributing/README.md | 2 ++ ja/contributing/component_gems.md | 2 ++ ja/deployment/README.md | 2 ++ ja/deployment/cloud9.md | 2 ++ ja/deployment/docker.md | 2 ++ ja/deployment/heroku.md | 2 ++ ja/docs/README.md | 2 ++ ja/docs/arraymodel_events.md | 2 ++ ja/docs/assets.md | 2 ++ ja/docs/associations.md | 2 ++ ja/docs/attribute_bindings.md | 2 ++ ja/docs/automatic_model_conversion.md | 2 ++ ja/docs/beforeafter_actions.md | 2 ++ ja/docs/buffers.md | 2 ++ ja/docs/callbacks_and_actions.md | 2 ++ ja/docs/channel.md | 2 ++ ja/docs/component_gems.md | 2 ++ ja/docs/component_generator.md | 2 ++ ja/docs/components.md | 2 ++ ja/docs/content_binding.md | 2 ++ ja/docs/control_argumentsattributes.md | 2 ++ ja/docs/controllers.md | 2 ++ ja/docs/controls.md | 2 ++ ja/docs/debugging.md | 2 ++ ja/docs/dependencies.md | 2 ++ ja/docs/each_binding.md | 2 ++ ja/docs/environment_options.md | 2 ++ ja/docs/escaping.md | 2 ++ ja/docs/event_bindings.md | 2 ++ ja/docs/fields.md | 2 ++ ja/docs/flash_collection.md | 2 ++ ja/docs/getting_view_dom_nodes.md | 2 ++ ja/docs/http_controllers.md | 2 ++ ja/docs/if_binding.md | 2 ++ ja/docs/lib.md | 2 ++ ja/docs/message_bus.md | 2 ++ ja/docs/middleware.md | 2 ++ ja/docs/model_classes.md | 2 ++ ja/docs/model_state.md | 2 ++ ja/docs/model_states.md | 2 ++ ja/docs/models.md | 2 ++ ja/docs/nil_models.md | 2 ++ ja/docs/permissions.md | 2 ++ ja/docs/provided_collections.md | 2 ++ ja/docs/provided_components.md | 2 ++ ja/docs/reactive_accessors.md | 2 ++ ja/docs/rendering.md | 2 ++ ja/docs/routes.md | 2 ++ ja/docs/routes_file.md | 2 ++ ja/docs/store_collections.md | 2 ++ ja/docs/sub_collections.md | 2 ++ ja/docs/tag_attributes.md | 2 ++ ja/docs/tags.md | 2 ++ ja/docs/tasks.md | 2 ++ ja/docs/testing.md | 2 ++ ja/docs/url.md | 2 ++ ja/docs/url_for_and_url_with.md | 2 ++ ja/docs/users.md | 2 ++ ja/docs/validations.md | 2 ++ ja/docs/view_bindings.md | 2 ++ ja/docs/views.md | 2 ++ ja/docs/volt_command.md | 2 ++ ja/docs/volt_helpers.md | 2 ++ ja/docs/yield_binding.md | 2 ++ ja/getting_help/README.md | 2 ++ .../can_i_use_jquery_or_other_dom_manipulating_js.md | 2 ++ ja/getting_help/can_i_use_opal_gems.md | 2 ++ ja/getting_help/does_volt_support_haml,_slim,_etc.md | 2 ++ ja/getting_help/faq.md | 2 ++ ...rsistent_connection_open_a_performance_problem.md | 2 ++ ja/getting_help/what_browsers_does_volt_support.md | 2 ++ ja/getting_help/what_runs_on_the_client_vs_server.md | 2 ++ .../whats_the_difference_between_volt_and_meteor.md | 2 ++ ...use_underscore_accessors_instead_of_[property].md | 2 ++ ja/introduction/README.md | 2 ++ ja/tutorial/README.md | 2 ++ ja/tutorial/a_sample_app.md | 2 ++ ja/tutorial/a_sample_todo_app.md | 2 ++ ja/tutorial/testing.md | 2 ++ ja/tutorial/todo_functionality.md | 2 ++ ja/why_volt/README.md | 3 ++- 161 files changed, 332 insertions(+), 2 deletions(-) create mode 100644 add.rb diff --git a/add.rb b/add.rb new file mode 100644 index 0000000..5e2c778 --- /dev/null +++ b/add.rb @@ -0,0 +1,12 @@ +Dir.glob('en/**/*.md') do |file| + open(file, 'a') do |f| + f << "\nModified at {{ file.mtime }}\n" + end +end + +Dir.glob('ja/**/*.md') do |file| + open(file, 'a') do |f| + f << "\nで修正されましたt {{ file.mtime }}\n" + end +end + diff --git a/en/README.md b/en/README.md index 996135a..5795aa4 100644 --- a/en/README.md +++ b/en/README.md @@ -18,3 +18,5 @@ Check out demo apps: - https://github.com/voltrb/todomvc - https://github.com/voltrb/blog5 + +Modified at {{ file.mtime }} diff --git a/en/SUMMARY.md b/en/SUMMARY.md index 6966ff5..7d55a48 100644 --- a/en/SUMMARY.md +++ b/en/SUMMARY.md @@ -74,3 +74,5 @@ * [Component Gems](contributing/component_gems.md) * [Contributing](contributing/README.md) + +Modified at {{ file.mtime }} diff --git a/en/contributing/README.md b/en/contributing/README.md index 62042b8..6f0d17c 100644 --- a/en/contributing/README.md +++ b/en/contributing/README.md @@ -2,3 +2,5 @@ You want to contribute? Great! Thanks for being awesome! We have full docs on how to contribute here: https://github.com/voltrb/volt/blob/master/CONTRIBUTING.md + +Modified at {{ file.mtime }} diff --git a/en/contributing/component_gems.md b/en/contributing/component_gems.md index 1ffd291..1989d85 100644 --- a/en/contributing/component_gems.md +++ b/en/contributing/component_gems.md @@ -5,3 +5,5 @@ NOTE: this section is a work in progress ## Component Load Order - + +Modified at {{ file.mtime }} diff --git a/en/deployment/README.md b/en/deployment/README.md index f6b76a7..a61861a 100644 --- a/en/deployment/README.md +++ b/en/deployment/README.md @@ -1,3 +1,5 @@ # Volt Deployment This chapter highlights various deployment options for Volt on popular cloud providers. + +Modified at {{ file.mtime }} diff --git a/en/deployment/cloud9.md b/en/deployment/cloud9.md index acb5cb1..0106b33 100644 --- a/en/deployment/cloud9.md +++ b/en/deployment/cloud9.md @@ -53,3 +53,5 @@ end NOTE: if anyone wants to create a custom Volt imagge for cloud9, please let @ryanstout know in the gitter room. Thanks! + +Modified at {{ file.mtime }} diff --git a/en/deployment/docker.md b/en/deployment/docker.md index 4349ad8..97283fe 100644 --- a/en/deployment/docker.md +++ b/en/deployment/docker.md @@ -19,3 +19,5 @@ docker run --name my-volt-app -p 3000:3000 -d my-volt-app ``` You can then go to http://localhost:3000 in your browser + +Modified at {{ file.mtime }} diff --git a/en/deployment/heroku.md b/en/deployment/heroku.md index 4445632..b1cbd07 100644 --- a/en/deployment/heroku.md +++ b/en/deployment/heroku.md @@ -32,3 +32,5 @@ end You can see an example application that has been deployed [here](https://murmuring-hollows-3078.herokuapp.com/about). + +Modified at {{ file.mtime }} diff --git a/en/docs/README.md b/en/docs/README.md index 23f16d2..fd5629b 100644 --- a/en/docs/README.md +++ b/en/docs/README.md @@ -2,3 +2,5 @@ The following attempts to document all of the features of Volt. While the code is always the final source of authority, we attempt to keep these docs as up-to-date as possible. + +Modified at {{ file.mtime }} diff --git a/en/docs/arraymodel_events.md b/en/docs/arraymodel_events.md index 10bb523..55d413a 100644 --- a/en/docs/arraymodel_events.md +++ b/en/docs/arraymodel_events.md @@ -13,3 +13,5 @@ page._items.delete_at(0) ``` This is used internally on each bindings, but can be used in your own code. + +Modified at {{ file.mtime }} diff --git a/en/docs/assets.md b/en/docs/assets.md index aeb1a66..bc7acfe 100644 --- a/en/docs/assets.md +++ b/en/docs/assets.md @@ -13,3 +13,5 @@ Any JS/CSS from an included component or component gem will be included as well. It is reccomended that images and other assets be put in ```app/{component}/assets/images``` (or fonts, etc..) Then the url for an image for example would be: ```/assets/{component}/assets/images/...``` **Note: asset bundling is on the TODO list** + +Modified at {{ file.mtime }} diff --git a/en/docs/associations.md b/en/docs/associations.md index 92e088b..996d68f 100644 --- a/en/docs/associations.md +++ b/en/docs/associations.md @@ -45,3 +45,5 @@ end ```belongs_to``` associations return a promise that resolves with the associated model. + +Modified at {{ file.mtime }} diff --git a/en/docs/attribute_bindings.md b/en/docs/attribute_bindings.md index f5fb76e..ff5a022 100644 --- a/en/docs/attribute_bindings.md +++ b/en/docs/attribute_bindings.md @@ -52,3 +52,5 @@ Select boxes can be bound to a value (while not technically a DOM property, this When the selected option of the select above changes, ```_rating``` is changed to match. When ```_rating``` is changed, the selected value is changed to the first option with a matching value. If no matching values are found, the select box is unselected. + +Modified at {{ file.mtime }} diff --git a/en/docs/automatic_model_conversion.md b/en/docs/automatic_model_conversion.md index 58da41c..0b41518 100644 --- a/en/docs/automatic_model_conversion.md +++ b/en/docs/automatic_model_conversion.md @@ -60,3 +60,5 @@ items.to_a ``` You can get a normal array again by calling .to_a on a Volt::ArrayModel. + +Modified at {{ file.mtime }} diff --git a/en/docs/beforeafter_actions.md b/en/docs/beforeafter_actions.md index a205261..a458843 100644 --- a/en/docs/beforeafter_actions.md +++ b/en/docs/beforeafter_actions.md @@ -41,3 +41,5 @@ You can limit which actions a filter runs on by passing ```only: :some_action``` It is common to redirect from inside of a before filter. If you no longer wish to continue with the rendering, you can call ```stop_chain``` in an action and the rendering will stop. ```stop_chain``` raises an exception that will be caught by the filter runner, so no code after ```stop_chain``` will be run. + +Modified at {{ file.mtime }} diff --git a/en/docs/buffers.md b/en/docs/buffers.md index 8ab7a72..dbb0c5f 100644 --- a/en/docs/buffers.md +++ b/en/docs/buffers.md @@ -52,3 +52,5 @@ end ``` Calling .buffer on an existing model will return a buffer for that model instance. If you call .buffer on a Volt::ArrayModel, you will get a buffer for a new item in that collection. Calling .save! will then add the item to that sub-collection as if you had done ```<<``` or ```create``` to push the item into the collection. + +Modified at {{ file.mtime }} diff --git a/en/docs/callbacks_and_actions.md b/en/docs/callbacks_and_actions.md index 8e76987..2ce22fa 100644 --- a/en/docs/callbacks_and_actions.md +++ b/en/docs/callbacks_and_actions.md @@ -13,3 +13,5 @@ When a view binding or tag renders a view, it first loads a controller. There a Most of the time all you will need is the action method to setup the controller, model, etc... + +Modified at {{ file.mtime }} diff --git a/en/docs/channel.md b/en/docs/channel.md index bfaa843..89d523f 100644 --- a/en/docs/channel.md +++ b/en/docs/channel.md @@ -23,3 +23,5 @@ channel.on('disconnect') do .. disconnect .. end ``` + +Modified at {{ file.mtime }} diff --git a/en/docs/component_gems.md b/en/docs/component_gems.md index 354e5d1..55fdcf8 100644 --- a/en/docs/component_gems.md +++ b/en/docs/component_gems.md @@ -15,3 +15,5 @@ rake release ``` Remove the ```path:``` option in the gemfile if you wish to use the rubygems version. + +Modified at {{ file.mtime }} diff --git a/en/docs/components.md b/en/docs/components.md index f61daa1..543ba0d 100644 --- a/en/docs/components.md +++ b/en/docs/components.md @@ -37,3 +37,5 @@ You can add a new component to an app with: When you visit a route, it loads all of the files in the component on the front end, so new pages within the component can be rendered without a new http request. If a URL is visited that routes to a different component, the request will be loaded as a normal page load and all of that component's files will be loaded. You can think of components as the "reload boundary" between sections of your app. [Note: currently only the "main" component is supported for initial page load, expect "reload boundry" support soon] + +Modified at {{ file.mtime }} diff --git a/en/docs/content_binding.md b/en/docs/content_binding.md index b289ae5..edaddd8 100644 --- a/en/docs/content_binding.md +++ b/en/docs/content_binding.md @@ -8,3 +8,5 @@ The most basic binding is a content binding: The content binding runs the Ruby code between ```{{``` and ```}}```, then renders the return value. Any time the data a content binding relies on changes, the binding will run again and update the text. Text in content bindings is html escaped by default. + +Modified at {{ file.mtime }} diff --git a/en/docs/controllers.md b/en/docs/controllers.md index df3fa29..a7d37c1 100644 --- a/en/docs/controllers.md +++ b/en/docs/controllers.md @@ -36,3 +36,5 @@ You can also provide your own object to be a model. In the example above, any methods not defined on the TodosController will fall through to the provided model. All views in the ```views/{controller_name}``` folder will have this controller as the target for any Ruby run in their bindings. This means that calls on ```self``` (implicit or with ```self```.) will have the model as their target (after calling through the controller). This lets you add methods to the controller to control how the model is handled, or provide extra methods to the views. Volt is more similar to an MVVM architecture than an MVC architecture. Instead of the controllers passing data off to the views, the controllers are the context for the views. When using a ```Volt::ModelController```, the controller automatically forwards all methods it does not handle to the model. This is convenient since you can set a model in the controller and then access its properties directly with methods in bindings. This lets you do something like ```{{ _name }}``` instead of something like ```{{ model._name }}``` + +Modified at {{ file.mtime }} diff --git a/en/docs/debugging.md b/en/docs/debugging.md index a0ac0fc..a5a7cd7 100644 --- a/en/docs/debugging.md +++ b/en/docs/debugging.md @@ -5,3 +5,5 @@ An in-browser REPL (like irb) is in the works. We also have source maps support MAPS=true volt s This feature is disabled by default because (due to the volume of pages rendered) it slows down page rendering. We're working with the opal and sprockets teams to make it so everything is still served in one big source map file (which would show the files as they originated on disk). + +Modified at {{ file.mtime }} diff --git a/en/docs/dependencies.md b/en/docs/dependencies.md index 13ad0f6..ac4e035 100644 --- a/en/docs/dependencies.md +++ b/en/docs/dependencies.md @@ -18,3 +18,5 @@ css_file '//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css' ``` Note, however, that jquery and bootstrap are currently both included by default. Dependencies included with ```javascript_file``` and ```css_file``` will be mixed in with your component assets at the correct locations according to the order that they occur in the dependencies.rb files. + +Modified at {{ file.mtime }} diff --git a/en/docs/each_binding.md b/en/docs/each_binding.md index 7b1211e..47e892b 100644 --- a/en/docs/each_binding.md +++ b/en/docs/each_binding.md @@ -27,3 +27,5 @@ For the array: ```['one', 'two', 'three']``` this would print: You can do ```{{ index + 1 }}``` to correct the zero offset. When items are removed or added to the array, the ```each``` binding automatically and intelligently adds or removes the items from/to the DOM. + +Modified at {{ file.mtime }} diff --git a/en/docs/environment_options.md b/en/docs/environment_options.md index 29e2d6b..e5e5a3d 100644 --- a/en/docs/environment_options.md +++ b/en/docs/environment_options.md @@ -17,3 +17,5 @@ In addition to the options in config/app.rb, some instance specific options in V | DB_DRIVER | Same as Volt.config.db_driver | | DB_URI | Same as Volt.config.db_uri | + +Modified at {{ file.mtime }} diff --git a/en/docs/escaping.md b/en/docs/escaping.md index d3cd78a..4846039 100644 --- a/en/docs/escaping.md +++ b/en/docs/escaping.md @@ -5,3 +5,5 @@ When you need to use {{ and }} outside of bindings, anything in a triple mustach ```html {{{ bindings look like: {{this}} }}} ``` + +Modified at {{ file.mtime }} diff --git a/en/docs/event_bindings.md b/en/docs/event_bindings.md index e627396..1662104 100644 --- a/en/docs/event_bindings.md +++ b/en/docs/event_bindings.md @@ -51,3 +51,5 @@ Calls preventDefault() on the jQuery event. ### .target Returns the target DOM node. + +Modified at {{ file.mtime }} diff --git a/en/docs/fields.md b/en/docs/fields.md index cb06804..6986bf7 100644 --- a/en/docs/fields.md +++ b/en/docs/fields.md @@ -1 +1,3 @@ # Fields + +Modified at {{ file.mtime }} diff --git a/en/docs/flash_collection.md b/en/docs/flash_collection.md index eb9e234..7232976 100644 --- a/en/docs/flash_collection.md +++ b/en/docs/flash_collection.md @@ -34,3 +34,5 @@ cookies.delete(:user_id) Values in the cookie collection are converted to strings. Adding expiration and other options are still on our todo list. Right now cookies default to a 1 year expiration. + +Modified at {{ file.mtime }} diff --git a/en/docs/getting_view_dom_nodes.md b/en/docs/getting_view_dom_nodes.md index 753c4ff..c999b62 100644 --- a/en/docs/getting_view_dom_nodes.md +++ b/en/docs/getting_view_dom_nodes.md @@ -42,3 +42,5 @@ In the example above with two td's however, this will return the table, which is In the above example, the section tag is a single root node for the whole view. However due to the whitespace, there are technically other nodes, so ```container``` will return the node above the section. If you know you only have one node in a view, you can use ```first_element``` to get the first element node in a view. (An element node is a tag) + +Modified at {{ file.mtime }} diff --git a/en/docs/http_controllers.md b/en/docs/http_controllers.md index 8919a2b..0eb44c0 100644 --- a/en/docs/http_controllers.md +++ b/en/docs/http_controllers.md @@ -102,3 +102,5 @@ You can add custom HTTP headers to your response. The custom headers will be tra :auth_token will be transformed to 'Auth-Token'. You can either set headers by using a ```Symbol``` or a ```String```. ```:auth_token == 'Auth-Token' == 'auth-token' == 'Auth_Token'``` + +Modified at {{ file.mtime }} diff --git a/en/docs/if_binding.md b/en/docs/if_binding.md index 359bf7f..e9e2aac 100644 --- a/en/docs/if_binding.md +++ b/en/docs/if_binding.md @@ -33,3 +33,5 @@ Unless is supported as well.

render this when some_check? is false

{{ end }} ``` + +Modified at {{ file.mtime }} diff --git a/en/docs/lib.md b/en/docs/lib.md index d94b06f..23fea6e 100644 --- a/en/docs/lib.md +++ b/en/docs/lib.md @@ -14,3 +14,5 @@ If you really like having Gems auto-required, you can put the following at the s ```ruby Bundler.setup ``` + +Modified at {{ file.mtime }} diff --git a/en/docs/message_bus.md b/en/docs/message_bus.md index aea0ead..5c88859 100644 --- a/en/docs/message_bus.md +++ b/en/docs/message_bus.md @@ -17,3 +17,5 @@ The message bus can also be used from your app's code. The message bus provides ## Custom Message Bus You can create your own message bus implementation by implementing the ```BaseMessageBus``` class at ```lib/volt/message_bus/base_message_bus.rb``` Then you can set the ```config.message_bus.bus_name = 'name_of_class'``` where ```name_of_class``` is the underscored version of you class name. See ```base_message_bus.rb``` for details on implementing your own bus. + +Modified at {{ file.mtime }} diff --git a/en/docs/middleware.md b/en/docs/middleware.md index eb98184..7c80c2a 100644 --- a/en/docs/middleware.md +++ b/en/docs/middleware.md @@ -12,3 +12,5 @@ Volt.current_app.middleware.use(SomeMiddleware) - ```run``` (more methods to reorder middleware coming soon) + +Modified at {{ file.mtime }} diff --git a/en/docs/model_classes.md b/en/docs/model_classes.md index c3f34e2..251d4d9 100644 --- a/en/docs/model_classes.md +++ b/en/docs/model_classes.md @@ -22,3 +22,5 @@ Now when you access any sub-collection called ```_info```, it will load as an in ``` This lets you set custom methods and validations within collections. + +Modified at {{ file.mtime }} diff --git a/en/docs/model_states.md b/en/docs/model_states.md index 6feb0c2..17a23c4 100644 --- a/en/docs/model_states.md +++ b/en/docs/model_states.md @@ -22,3 +22,5 @@ On any store model (or buffer) you can call .saved_state and will get back one o | dirty | The data was loaded at one point, but is no longer being synced with the server. This will happen if no bindings are reactively listening on the data or anything produced from the data | + +Modified at {{ file.mtime }} diff --git a/en/docs/models.md b/en/docs/models.md index 2e7beb2..9a828f8 100644 --- a/en/docs/models.md +++ b/en/docs/models.md @@ -120,3 +120,5 @@ page._items.size page._items[0] # => "997e8a28c9675452ebcd5fa7", :name=>"Item 1"}> ``` + +Modified at {{ file.mtime }} diff --git a/en/docs/nil_models.md b/en/docs/nil_models.md index fb3401f..0236636 100644 --- a/en/docs/nil_models.md +++ b/en/docs/nil_models.md @@ -32,3 +32,5 @@ simply use: Additionally, ```#and``` works the same way as ```&&```. ```#and``` and ```#or``` let you easily deal with default values involving NilModels. -- TODO: Document .true? / .false? + +Modified at {{ file.mtime }} diff --git a/en/docs/permissions.md b/en/docs/permissions.md index 847a888..604920f 100644 --- a/en/docs/permissions.md +++ b/en/docs/permissions.md @@ -116,3 +116,5 @@ end The permissions API attempts to provide a simple way to define who can do what to your app's data. You can put any logic inside of the permissions blocks + +Modified at {{ file.mtime }} diff --git a/en/docs/provided_collections.md b/en/docs/provided_collections.md index 9d7b075..2a3a619 100644 --- a/en/docs/provided_collections.md +++ b/en/docs/provided_collections.md @@ -13,3 +13,5 @@ Above, we mentioned that Volt comes with many default collection models accessib | controller | A model for the current controller. | **More storage locations are planned.** + +Modified at {{ file.mtime }} diff --git a/en/docs/provided_components.md b/en/docs/provided_components.md index 231c0ab..13880f1 100644 --- a/en/docs/provided_components.md +++ b/en/docs/provided_components.md @@ -21,3 +21,5 @@ flash._notices << "message to flash" ``` These messages will show for 5 seconds, then disappear (both from the screen and the collection). + +Modified at {{ file.mtime }} diff --git a/en/docs/reactive_accessors.md b/en/docs/reactive_accessors.md index a9f33d2..9543c7a 100644 --- a/en/docs/reactive_accessors.md +++ b/en/docs/reactive_accessors.md @@ -11,3 +11,5 @@ end ``` Now, from the view, we can bind to ```query``` while also changing in and out the model. When ```query``` is accessed it tracks that it was accessed and will rerun any Computations when it changes. + +Modified at {{ file.mtime }} diff --git a/en/docs/rendering.md b/en/docs/rendering.md index dc36665..3a72151 100644 --- a/en/docs/rendering.md +++ b/en/docs/rendering.md @@ -79,3 +79,5 @@ As mentioned above, you will rarely use Dependencies directly, but having an und TODO: Explain Dependencies + +Modified at {{ file.mtime }} diff --git a/en/docs/routes.md b/en/docs/routes.md index d523909..1a2973c 100644 --- a/en/docs/routes.md +++ b/en/docs/routes.md @@ -11,3 +11,5 @@ This means that routes in Volt have to be able to go both from URL to params and ## Http Routes To provide data to clients that need to access it via Http (a REST api for example) + +Modified at {{ file.mtime }} diff --git a/en/docs/routes_file.md b/en/docs/routes_file.md index f50b45f..c46ff42 100644 --- a/en/docs/routes_file.md +++ b/en/docs/routes_file.md @@ -53,3 +53,5 @@ delete "/api/todos/{{ id }}", controller: 'todos', action: 'destroy', safe: true The above will make ```id```, ```controller```, ```action``` and ```safe``` availabe to the controller via the params hash. You can overwrite the actual HTTP method by providing setting "method" via the HTTP GET or POST parameters. + +Modified at {{ file.mtime }} diff --git a/en/docs/store_collections.md b/en/docs/store_collections.md index 8f4a842..f3fc6be 100644 --- a/en/docs/store_collections.md +++ b/en/docs/store_collections.md @@ -94,3 +94,5 @@ Because there is a delay when syncing data to the server, store models provide a | dirty | the data was loaded, but it is no longer being kept in sync with the server | + +Modified at {{ file.mtime }} diff --git a/en/docs/sub_collections.md b/en/docs/sub_collections.md index f67debe..a4ec1a0 100644 --- a/en/docs/sub_collections.md +++ b/en/docs/sub_collections.md @@ -37,3 +37,5 @@ montana._cities.create({name: 'Helena'}) store._states.create(montana) # => #> ``` + +Modified at {{ file.mtime }} diff --git a/en/docs/tag_attributes.md b/en/docs/tag_attributes.md index 79495be..2c11477 100644 --- a/en/docs/tag_attributes.md +++ b/en/docs/tag_attributes.md @@ -32,3 +32,5 @@ Instead of passing in individual attributes, you can also assign the controllers {{ end }} ``` + +Modified at {{ file.mtime }} diff --git a/en/docs/tags.md b/en/docs/tags.md index a098df9..24bc8b9 100644 --- a/en/docs/tags.md +++ b/en/docs/tags.md @@ -19,3 +19,5 @@ Refer to the View Binding section to see how tags lookup their associated view f A tag loads the same as a template, loading the controller, calling the action method (if one exists), and rendering the view. You can also pass in attributes to Tags. + +Modified at {{ file.mtime }} diff --git a/en/docs/tasks.md b/en/docs/tasks.md index c14f318..c2e44b9 100644 --- a/en/docs/tasks.md +++ b/en/docs/tasks.md @@ -35,3 +35,5 @@ end.fail do |error| end ``` + +Modified at {{ file.mtime }} diff --git a/en/docs/testing.md b/en/docs/testing.md index 761d1fb..6dc05da 100644 --- a/en/docs/testing.md +++ b/en/docs/testing.md @@ -35,3 +35,5 @@ The integration tests don't run by default, to run Capybara tests, you need to s 3. IE - coming soon Chrome is not supported due to [this issue](https://code.google.com/p/chromedriver/issues/detail?id=887#makechanges) with ChromeDriver. Feel free to go [here](https://code.google.com/p/chromedriver/issues/detail?id=887#makechanges) and pester the chromedriver team to fix it. + +Modified at {{ file.mtime }} diff --git a/en/docs/url.md b/en/docs/url.md index 72fa6b9..7c4f9d5 100644 --- a/en/docs/url.md +++ b/en/docs/url.md @@ -10,3 +10,5 @@ In volt you can access information about the url via the ```url``` method, which - fragment Each method will reactively update when the url changes. + +Modified at {{ file.mtime }} diff --git a/en/docs/url_for_and_url_with.md b/en/docs/url_for_and_url_with.md index b28816d..12e6c1e 100644 --- a/en/docs/url_for_and_url_with.md +++ b/en/docs/url_for_and_url_with.md @@ -33,3 +33,5 @@ Because ```url_with``` is a controller method, it can also be accessed in views: ```html page 5 ``` + +Modified at {{ file.mtime }} diff --git a/en/docs/users.md b/en/docs/users.md index 58a95a8..28ea0d8 100644 --- a/en/docs/users.md +++ b/en/docs/users.md @@ -104,3 +104,5 @@ module Main end ``` + +Modified at {{ file.mtime }} diff --git a/en/docs/validations.md b/en/docs/validations.md index 8cddcdc..30b3b93 100644 --- a/en/docs/validations.md +++ b/en/docs/validations.md @@ -97,3 +97,5 @@ end ## Custom Validators TODO: Document custom validator classes + +Modified at {{ file.mtime }} diff --git a/en/docs/view_bindings.md b/en/docs/view_bindings.md index 938f4a5..500c302 100644 --- a/en/docs/view_bindings.md +++ b/en/docs/view_bindings.md @@ -60,3 +60,5 @@ The above would search the following: | :body | index.html | comments | gems/blog | Once the file for the tag or view is found, Volt will look for a matching controller. If the view file does not have an associated controller, a new ```ModelController``` will be used. Once a controller is found and loaded, a corresponding "action" method will be called on it if it exists. Action methods default to the name of the view file (without .html) + +Modified at {{ file.mtime }} diff --git a/en/docs/views.md b/en/docs/views.md index c5979d6..e117bfd 100644 --- a/en/docs/views.md +++ b/en/docs/views.md @@ -21,3 +21,5 @@ While Volt is more of a Model View ViewModel (MVVM) framework than a MVC framewo Any method call or instance variable lookup in a view runs in the context of such a controller. If you have a view at ```app/main/views/index/index.html``` it will load the controller at ```app/main/controller/index_controller.rb```. + +Modified at {{ file.mtime }} diff --git a/en/docs/volt_command.md b/en/docs/volt_command.md index b5115f6..d74b8bf 100644 --- a/en/docs/volt_command.md +++ b/en/docs/volt_command.md @@ -87,3 +87,5 @@ Runner is an easy way to run code inside of the volt environment. Runner takes ## drop_collection TODO:... + +Modified at {{ file.mtime }} diff --git a/en/docs/volt_helpers.md b/en/docs/volt_helpers.md index 089fe6d..ac713ae 100644 --- a/en/docs/volt_helpers.md +++ b/en/docs/volt_helpers.md @@ -30,3 +30,5 @@ Volt does its best to start with useful defaults. You can configure things, lik | db_host | 'localhost' | The hostname for the mongo database. | | db_port | 27017 | The port for the mongo database. | | compress_deflate | false | If true, will run deflate in the app server. It's better to let something like nginx do this, though. | + +Modified at {{ file.mtime }} diff --git a/en/docs/yield_binding.md b/en/docs/yield_binding.md index 0f599ea..94813ec 100644 --- a/en/docs/yield_binding.md +++ b/en/docs/yield_binding.md @@ -18,3 +18,5 @@ In the example above, "About" can be rendered elsewhere using ```{{ yield }}```. Any content or other bindings can be passed into the ```tag```. You can also pass content to component tags and yield inside of their views. Lastly if you just want to get the html content as a string, you can call ```yield_html``` in the controller. This will return a string that you can ```.watch!``` on if needed and it will re-render when the content changes. + +Modified at {{ file.mtime }} diff --git a/en/getting_help/README.md b/en/getting_help/README.md index 9beeadb..f61501b 100644 --- a/en/getting_help/README.md +++ b/en/getting_help/README.md @@ -6,3 +6,5 @@ Volt is still a work in progress, but early feedback is very much appreciated. - **If you found a bug**: post on [github issues](https://github.com/voltrb/volt/issues) - **If you have an idea or need a feature**: post on [github issues](https://github.com/voltrb/volt/issues) - **If you want to discuss Volt**: [chat on gitter](https://gitter.im/voltrb/volt), someone from the volt team is usually online and happy to help with anything. + +Modified at {{ file.mtime }} diff --git a/en/getting_help/can_i_use_jquery_or_other_dom_manipulating_js.md b/en/getting_help/can_i_use_jquery_or_other_dom_manipulating_js.md index 9c9429a..e1ad9da 100644 --- a/en/getting_help/can_i_use_jquery_or_other_dom_manipulating_js.md +++ b/en/getting_help/can_i_use_jquery_or_other_dom_manipulating_js.md @@ -86,3 +86,5 @@ end ``` In opal, local variables compile down to JS local variables, so we can assign ```post``` and then call ```#container```. Inside of our JS we have access to the ```post``` variable. We can pass the container node to jQuery and call our method on it. + +Modified at {{ file.mtime }} diff --git a/en/getting_help/can_i_use_opal_gems.md b/en/getting_help/can_i_use_opal_gems.md index dbeb8d2..aeb8279 100644 --- a/en/getting_help/can_i_use_opal_gems.md +++ b/en/getting_help/can_i_use_opal_gems.md @@ -15,3 +15,5 @@ if RUBY_PLATFORM == 'opal' require 'browser' end ``` + +Modified at {{ file.mtime }} diff --git a/en/getting_help/does_volt_support_haml,_slim,_etc.md b/en/getting_help/does_volt_support_haml,_slim,_etc.md index 68fb0b6..562eb8e 100644 --- a/en/getting_help/does_volt_support_haml,_slim,_etc.md +++ b/en/getting_help/does_volt_support_haml,_slim,_etc.md @@ -14,3 +14,5 @@ When rendering to the actual dom, Volt tracks the locations of the rendered DOM Its not too bad, but out of the box gems like haml and slim aren't designed for what Volt needs. Any template language that can compile to Volt's compiled template format can be used. The compiled template format is ruby code (that gets compiled to the client via Opal). It consists of html and bindings. The html has placeholders (currently special html comments) that show where the binding should be rendered. The bindings are ruby Procs that setup instance of the bindings. (Volt::EachBinding, Volt::ContentBinding, Volt::AttributeBinding, Volt::IfBinding, and Volt::EventBinding) To make haml or slim compile, someone will need to modify slim or haml to produce the Volt compiled template format (instead of pre-rendered html) It shouldn't be that hard, but its not trivial. If you are intereted, hit up @ryanstout on our [gitter](https://gitter.im/voltrb/volt). + +Modified at {{ file.mtime }} diff --git a/en/getting_help/faq.md b/en/getting_help/faq.md index 7908e38..c382669 100644 --- a/en/getting_help/faq.md +++ b/en/getting_help/faq.md @@ -2,3 +2,5 @@ * [What runs on the Client vs Server?](what_runs_on_the_client_vs_server.md) * [Can I use jQuery? (or other DOM manipulating JS)](can_i_use_jquery_or_other_dom_manipulating_js.md) + +Modified at {{ file.mtime }} diff --git a/en/getting_help/is_keeping_a_persistent_connection_open_a_performance_problem.md b/en/getting_help/is_keeping_a_persistent_connection_open_a_performance_problem.md index 5511df1..abcf89b 100644 --- a/en/getting_help/is_keeping_a_persistent_connection_open_a_performance_problem.md +++ b/en/getting_help/is_keeping_a_persistent_connection_open_a_performance_problem.md @@ -4,3 +4,5 @@ So I used to do social gaming years ago and we kept a socket connection (via fla Hopefully that answers some questions. There are a lot of difficult problems for Volt to solve, but I don't believe that handling the persistent connections is one of them. For the most part that's a solved problem thanks to epoll and the O(1) linux scheduler. - Ryan + +Modified at {{ file.mtime }} diff --git a/en/getting_help/what_browsers_does_volt_support.md b/en/getting_help/what_browsers_does_volt_support.md index d4dcf7f..630bb1e 100644 --- a/en/getting_help/what_browsers_does_volt_support.md +++ b/en/getting_help/what_browsers_does_volt_support.md @@ -8,3 +8,5 @@ There are a few features of Volt that only work on certain browsers. 1) Binding on hidden fields. To bind on hidden fields, the browser needs mutation observer events. These are only supported in >=IE11. There is a polyfill that can be used to support IE8-10, which we will be bundling into a gem. Check back here soon. + +Modified at {{ file.mtime }} diff --git a/en/getting_help/what_runs_on_the_client_vs_server.md b/en/getting_help/what_runs_on_the_client_vs_server.md index 9301bdb..acfc740 100644 --- a/en/getting_help/what_runs_on_the_client_vs_server.md +++ b/en/getting_help/what_runs_on_the_client_vs_server.md @@ -50,3 +50,5 @@ Tasks are similar to controllers in backend frameworks, except they work at the 1) Make sure model permissions are in place and match how you want data read and manuipulated. 2) validate any data coming in as arguments to Tasks. For example if you are requesting a remote API from a task, don't pass the whole URL in from the client side. This would allow any url to be hit. If you do pass the whole URL, check to make sure the domain/etc.. matches the url you want to hit. + +Modified at {{ file.mtime }} diff --git a/en/getting_help/whats_the_difference_between_volt_and_meteor.md b/en/getting_help/whats_the_difference_between_volt_and_meteor.md index 9597c3c..ac3ad52 100644 --- a/en/getting_help/whats_the_difference_between_volt_and_meteor.md +++ b/en/getting_help/whats_the_difference_between_volt_and_meteor.md @@ -23,3 +23,5 @@ This is just a quick over-view of the differences. Just a few more small differ - Volt hasn't raise $11MM in venture capital :-) There's lots more differences, but those are the ones that come to mind right now. + +Modified at {{ file.mtime }} diff --git a/en/getting_help/why_use_underscore_accessors_instead_of_[property].md b/en/getting_help/why_use_underscore_accessors_instead_of_[property].md index 72d6291..53b9996 100644 --- a/en/getting_help/why_use_underscore_accessors_instead_of_[property].md +++ b/en/getting_help/why_use_underscore_accessors_instead_of_[property].md @@ -37,3 +37,5 @@ While that works really well in controller code, in Volt when using a ModelContr While this works, we feel that it doesn't read as easy and is something that can be a source of confusion. While the _property syntax is not common in ruby, its easy to get used to and once you do it saves a lot of typing/reading. If the above hasn't convinced you its the best solution, keep in mind you can always just use [fields](/docs/models.md). + +Modified at {{ file.mtime }} diff --git a/en/introduction/README.md b/en/introduction/README.md index fe0663e..84548c1 100644 --- a/en/introduction/README.md +++ b/en/introduction/README.md @@ -21,3 +21,5 @@ Many of the core Volt features are implemented. We still have a bit to go befor 3. Migrations to add database indexes from Volt 4. Mailers 5. Server Side HTML Prerendering - the plan is to allow the server to render the html for a page first, then tie in the compiled client side ruby once the code is loaded. + +Modified at {{ file.mtime }} diff --git a/en/tutorial/README.md b/en/tutorial/README.md index 298b2f2..315cdb6 100644 --- a/en/tutorial/README.md +++ b/en/tutorial/README.md @@ -22,3 +22,5 @@ Lastly, we can access the Volt console with: bundle exec volt console + +Modified at {{ file.mtime }} diff --git a/en/tutorial/a_sample_todo_app.md b/en/tutorial/a_sample_todo_app.md index ee1a4d8..f1985cb 100644 --- a/en/tutorial/a_sample_todo_app.md +++ b/en/tutorial/a_sample_todo_app.md @@ -112,3 +112,5 @@ To be able to see the `page._todos` collection, we'll add a table to our page: Now, once everything is saved and reloads, any time you submit by hitting enter, it will add to the list and clear out the form. Volt is reactive and intelligent, so any time the list is updated, only the new elements will be drawn; it won't redraw the entire list. + +Modified at {{ file.mtime }} diff --git a/en/tutorial/todo_functionality.md b/en/tutorial/todo_functionality.md index b063cdb..bacd7ca 100644 --- a/en/tutorial/todo_functionality.md +++ b/en/tutorial/todo_functionality.md @@ -200,3 +200,5 @@ Now we can add a button that checks all items at once and a progress bar which w ``` As you can see, Volt makes it possible to do interactive things like this without writing a lot of code, and the syncing properties make it really natural to create realtime web apps. + +Modified at {{ file.mtime }} diff --git a/en/why_volt/README.md b/en/why_volt/README.md index 463aac3..64c1ddd 100644 --- a/en/why_volt/README.md +++ b/en/why_volt/README.md @@ -24,4 +24,5 @@ Since most apps are built with different tools on the client and server, data is ### Full Stack Components -The Achilles heel of most web stacks is the lack of a standard between the client and server. Volt helps to standardize this, again running the same code on both the client and server. \ No newline at end of file +The Achilles heel of most web stacks is the lack of a standard between the client and server. Volt helps to standardize this, again running the same code on both the client and server. +Modified at {{ file.mtime }} diff --git a/ja/README.md b/ja/README.md index 8350b9e..6d37cfa 100644 --- a/ja/README.md +++ b/ja/README.md @@ -18,3 +18,5 @@ Volt では、HTTP を介してクライアントとサーバー間のデータ - https://github.com/voltrb/todomvc - https://github.com/voltrb/blog5 + +で修正されましたt {{ file.mtime }} diff --git a/ja/SUMMARY.md b/ja/SUMMARY.md index 0ceb9e1..14f216a 100644 --- a/ja/SUMMARY.md +++ b/ja/SUMMARY.md @@ -74,3 +74,5 @@ * [コンポーネント Gem](contributing/component_gems.md) * [Volt への貢献](contributing/README.md) + +で修正されましたt {{ file.mtime }} diff --git a/ja/contributing/README.md b/ja/contributing/README.md index d803d43..ed4a53f 100644 --- a/ja/contributing/README.md +++ b/ja/contributing/README.md @@ -3,3 +3,5 @@ Volt に貢献したい?それは素晴らしい!ありがとうございます!コントリビュートの方法は以下をご覧ください。 https://github.com/voltrb/volt/blob/master/CONTRIBUTING.md + +で修正されましたt {{ file.mtime }} diff --git a/ja/contributing/component_gems.md b/ja/contributing/component_gems.md index 46fc4ee..b15de30 100644 --- a/ja/contributing/component_gems.md +++ b/ja/contributing/component_gems.md @@ -5,3 +5,5 @@ ## コンポーネントがロードされる順序 - + +で修正されましたt {{ file.mtime }} diff --git a/ja/deployment/README.md b/ja/deployment/README.md index 4786182..e98fc5c 100644 --- a/ja/deployment/README.md +++ b/ja/deployment/README.md @@ -2,3 +2,5 @@ この章では、ポピュラーなクラウドサービスを利用した Volt のデプロイについて記載します。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/deployment/cloud9.md b/ja/deployment/cloud9.md index d80abf4..e6b15f6 100644 --- a/ja/deployment/cloud9.md +++ b/ja/deployment/cloud9.md @@ -53,3 +53,5 @@ end ※もし Cloud9 にカスタム Volt イメージを構築したい人がいたら、Gitter で @ryanstout にお知らせください。どうもありがとうございます! + +で修正されましたt {{ file.mtime }} diff --git a/ja/deployment/docker.md b/ja/deployment/docker.md index 3ceebf1..e1210d6 100644 --- a/ja/deployment/docker.md +++ b/ja/deployment/docker.md @@ -19,3 +19,5 @@ docker run --name my-volt-app -p 3000:3000 -d my-volt-app ``` Web ブラウザーで http://localhost:3000 にアクセスできます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/deployment/heroku.md b/ja/deployment/heroku.md index ddf5e46..7dfeef0 100644 --- a/ja/deployment/heroku.md +++ b/ja/deployment/heroku.md @@ -33,3 +33,5 @@ end [ここ](https://murmuring-hollows-3078.herokuapp.com/about) でサンプルアプリケーションを確認することができます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/README.md b/ja/docs/README.md index f60b9e9..5c98e83 100644 --- a/ja/docs/README.md +++ b/ja/docs/README.md @@ -2,3 +2,5 @@ ここでは、Volt のすべての機能をドキュメント化するつもりです。最終的に機能を決定するのはプログラムのコード自体ですが、可能な限りドキュメントを最新の状態に保つようにします。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/arraymodel_events.md b/ja/docs/arraymodel_events.md index 2dfe594..277f3f2 100644 --- a/ja/docs/arraymodel_events.md +++ b/ja/docs/arraymodel_events.md @@ -13,3 +13,5 @@ page._items.delete_at(0) ``` イベントはバインディングにおいて内部的に利用されるものですが、自分のコードで使うことも可能です。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/assets.md b/ja/docs/assets.md index 8a6de1d..8ed9d5f 100644 --- a/ja/docs/assets.md +++ b/ja/docs/assets.md @@ -13,3 +13,5 @@ Volt では、JavaScript や CSS (または sass) といったアセットは、 It is reccomended that images and other assets be put in ```app/{component}/assets/images``` (or fonts, etc..) Then the url for an image for example would be: ```/assets/{component}/assets/images/...``` **メモ: アセットバンドルについては検討中です** + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/associations.md b/ja/docs/associations.md index a4b5cc6..942514a 100644 --- a/ja/docs/associations.md +++ b/ja/docs/associations.md @@ -45,3 +45,5 @@ end ```belongs_to``` アソシエーションは関連付けられたモデルで解決するpromiseオブジェクトを返します。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/attribute_bindings.md b/ja/docs/attribute_bindings.md index 63333af..b6b9bd1 100644 --- a/ja/docs/attribute_bindings.md +++ b/ja/docs/attribute_bindings.md @@ -53,3 +53,5 @@ 選択されたオプションが変更されると、それに合うように ```_rating``` が変更されます。```_rating``` が変更された場合には、それにマッチする最初のオプションが選択された状態になります。マッチするオプションが存在しなかった場合には、セレクトボックスは未選択の状態になります。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/automatic_model_conversion.md b/ja/docs/automatic_model_conversion.md index 1d24700..f8dc0a6 100644 --- a/ja/docs/automatic_model_conversion.md +++ b/ja/docs/automatic_model_conversion.md @@ -60,3 +60,5 @@ items.to_a ``` Volt::ArrayModel に対して .to_a を実行することで通常の配列を得ることができます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/beforeafter_actions.md b/ja/docs/beforeafter_actions.md index f389ac4..556f558 100644 --- a/ja/docs/beforeafter_actions.md +++ b/ja/docs/beforeafter_actions.md @@ -41,3 +41,5 @@ end beforeフィルターでリダイレクトを実行する方法はごく一般的に使われます。レンダリングを途中で停止したい場合は、アクションで```stop_chain```を呼び出せば、そこでレンダリングは停止します。 ```stop_chain``` はfilter runnerによって補足される例外を発生させますので、```stop_chain```以降のコードが実行されることはありません。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/buffers.md b/ja/docs/buffers.md index 6a17142..b1c8f02 100644 --- a/ja/docs/buffers.md +++ b/ja/docs/buffers.md @@ -52,3 +52,5 @@ end ``` 既存のモデルに対して .buffer を実行した場合の戻り値は、そのモデルのインスタンスのバッファになります。また、Volt::ArrayModel に対して .buffer を実行した場合には、そのコレクションの新しい要素のバッファを取得します。save! を実行すると、```<<``` または ```create``` で要素をコレクションにプッシュするかのように、その要素をサブコレクションに追加することができます。will then add the item to that sub-collection as if you had done ```<<``` or ```create``` to push the item into the collection. + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/callbacks_and_actions.md b/ja/docs/callbacks_and_actions.md index 44319e2..be946ee 100644 --- a/ja/docs/callbacks_and_actions.md +++ b/ja/docs/callbacks_and_actions.md @@ -13,3 +13,5 @@ ほとんどの場合、これらのアクションを利用して、コントローラーやモデルなどをセットアップすることになるでしょう。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/channel.md b/ja/docs/channel.md index 4b9f71f..083fce1 100644 --- a/ja/docs/channel.md +++ b/ja/docs/channel.md @@ -23,3 +23,5 @@ channel.on('disconnect') do .. disconnect .. end ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/component_gems.md b/ja/docs/component_gems.md index 71930f1..7e56118 100644 --- a/ja/docs/component_gems.md +++ b/ja/docs/component_gems.md @@ -15,3 +15,5 @@ rake release ``` Rubygems のバージョンを利用する場合には、Gemfile の ```path:``` オプションを削除してください。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/component_generator.md b/ja/docs/component_generator.md index 8fa7081..5cb2bf5 100644 --- a/ja/docs/component_generator.md +++ b/ja/docs/component_generator.md @@ -15,3 +15,5 @@ rake release ``` Rubygems のバージョンを利用する場合には、Gemfile の ```path:``` オプションを削除してください。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/components.md b/ja/docs/components.md index b3ea962..e31ceab 100644 --- a/ja/docs/components.md +++ b/ja/docs/components.md @@ -37,3 +37,5 @@ __アプリケーションの一部分__ あるルートにアクセスしたとき、フロントエンド側でそのコンポーネントに含まれるすべてのファイルが読み込まれます。したがって、コンポーネント内の新しいページのレンダリングにおいて新規の http リクエストは発生しません。異なるコンポーネントへのルートの URL にアクセスした場合には、リクエストは通常のページ読み込みとして処理され、そのコンポーネントのすべてのファイルが読みこまれます。したがって、コンポーネントを「再読み込みの境界線 (reload boundary)」を表すものとして捉えておくとよいでしょう。[注意: 現在のところ、ページの初回読み込み時には「main」コンポーネントだけがサポートされます。近日中に「reload boundry」がサポートされる予定です。] + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/content_binding.md b/ja/docs/content_binding.md index a2448a4..fc0eae2 100644 --- a/ja/docs/content_binding.md +++ b/ja/docs/content_binding.md @@ -8,3 +8,5 @@ コンテンツバインディングとは、```{{``` と ```}}``` の間の Ruby コードを実行し、その戻り値をレンダリングするものです。バインディングされているコンテンツのデータが変更を監視されていれば、その変更に応じてテキストが更新されます。コンテンツバインディングされたテキストは、デフォルトでエスケープされます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/control_argumentsattributes.md b/ja/docs/control_argumentsattributes.md index 43dc26e..eab1e75 100644 --- a/ja/docs/control_argumentsattributes.md +++ b/ja/docs/control_argumentsattributes.md @@ -34,3 +34,5 @@ {{ end }} ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/controllers.md b/ja/docs/controllers.md index 31c14c1..fc8f96b 100644 --- a/ja/docs/controllers.md +++ b/ja/docs/controllers.md @@ -36,3 +36,5 @@ ModelController 内で `#model` を実行したときの戻り値は現在設定 上記した例において、TodosController に定義されていないメソッドは、設定されているモデルにそのまま送られます。```views/{コントローラー名}``` フォルダのすべてのビューにおいて、そのバインディングの中にある Ruby コードを実行する対象はこのコントローラーとなります。このことは、```self``` に対する呼び出しは (それが暗黙であっても、```self``` をつけて明示したものであっても)、(コントローラーを経由して) モデルを対象とすることを意味しています。このことによって、モデルの扱いに関するメソッドをコントローラーに追加したり、ビューに対して追加のメソッドを提供することが可能になっています。 Volt は MVC アーキテクチャよりも MVVM アーキテクチャに近いものです。そこでのコントローラーとは、ビューへのデータの受け渡しを行うものではなく、ビューのコンテキストを表すものだと言えます。```Volt::ModelController``` を使うと、コントローラーは自分の扱うことのできないメソッドを自動的にモデルに引き継ぎます。このことは利便性を高めてくれます。なぜなら、コントローラーにモデルをセットし、バインディングのメソッドから直接そのプロパティにアクセスすることが可能であるからです。例えば、```{{ model._name }}``` と書くのではなく、```{{ _name }}``` とすることができます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/controls.md b/ja/docs/controls.md index 9d15832..4d6461d 100644 --- a/ja/docs/controls.md +++ b/ja/docs/controls.md @@ -19,3 +19,5 @@ タグはテンプレートと同様に読み込まれて、コントローラーを読み込み、(存在すれば) アクションメソッドを実行し、ビューをレンダリングします。そして、タグには属性を設定することも可能です。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/debugging.md b/ja/docs/debugging.md index c4674cc..88ea2ac 100644 --- a/ja/docs/debugging.md +++ b/ja/docs/debugging.md @@ -5,3 +5,5 @@ MAPS=true volt s この機能を無効にしている理由は、(レンダリングされるページの量によっては) ページのレンダリングが遅くなるからです。私たちは opal と sprockets のチームと共にこの問題に対応中です。現時点では、ソースマップは巨大な1つのファイルとして扱われます。(本来であれば、ディスク上にあるものと同様のファイル群となるでしょう)。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/dependencies.md b/ja/docs/dependencies.md index d02a6cc..00c35b4 100644 --- a/ja/docs/dependencies.md +++ b/ja/docs/dependencies.md @@ -18,3 +18,5 @@ css_file '//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css' ``` 実際には、現在のところ jquery と bootstrap はデフォルトでインクルードされるようになっていますことに注意してください。```javascript_file``` と ```css_file``` でインクルードされた依存関係は、dependencies.rb ファイルに記載されている順序にしたがって、正しい場所にあるコンポーネントのアセットに mix-in されます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/each_binding.md b/ja/docs/each_binding.md index f774829..28bf27d 100644 --- a/ja/docs/each_binding.md +++ b/ja/docs/each_binding.md @@ -27,3 +27,5 @@ ゼロオフセットを修正したければ ```{{ index + 1 }}``` としてください。 配列の要素が追加または削除された場合には、```each ``` バインディングは自動的に要素を DOM に追加、もしくは DOM から削除します。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/environment_options.md b/ja/docs/environment_options.md index 7cdf047..866a327 100644 --- a/ja/docs/environment_options.md +++ b/ja/docs/environment_options.md @@ -17,3 +17,5 @@ config/app.rb で指定するオプションに加えて、Volt では、イン | DB_DRIVER | Volt.config.db_driver と同様 | | DB_URI | Volt.config.db_uri と同様 | + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/escaping.md b/ja/docs/escaping.md index 5fe5b20..8fdbd42 100644 --- a/ja/docs/escaping.md +++ b/ja/docs/escaping.md @@ -6,3 +6,5 @@ ```html {{{ bindings look like: {{this}} }}} ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/event_bindings.md b/ja/docs/event_bindings.md index fa61fd7..521c516 100644 --- a/ja/docs/event_bindings.md +++ b/ja/docs/event_bindings.md @@ -51,3 +51,5 @@ jQuery イベントに対して preventDefault() を実行します。 ### .target 対象の DOM ノードを返します。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/fields.md b/ja/docs/fields.md index 894189b..e9d8455 100644 --- a/ja/docs/fields.md +++ b/ja/docs/fields.md @@ -1 +1,3 @@ # フィールド + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/flash_collection.md b/ja/docs/flash_collection.md index 463d357..efaf3c2 100644 --- a/ja/docs/flash_collection.md +++ b/ja/docs/flash_collection.md @@ -34,3 +34,5 @@ cookies.delete(:user_id) Cookie コレクションでは、値は文字列に変換されます。説明の追加などのオプション機能については todo 項目としてあがっています。現在のところ、cookie の有効期間は1年間に設定されています。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/getting_view_dom_nodes.md b/ja/docs/getting_view_dom_nodes.md index 15b73c7..5319f32 100644 --- a/ja/docs/getting_view_dom_nodes.md +++ b/ja/docs/getting_view_dom_nodes.md @@ -42,3 +42,5 @@ Volt はクライアント上でページをレンダリングするため、jQu この例では、section タグがビュー全体の単一のルートノードです。しかし、空白文字の影響によって、厳密にはそれ以外のノードも存在します。したがって、```container``` は section の上位ノードを返します。もし、ビューに1つのノードしかないことがわかっているのなら、```first_element``` を使って、ビューの最初の要素のノードを取得できます。(要素のノードはタグです) + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/http_controllers.md b/ja/docs/http_controllers.md index 515ca03..ce8596d 100644 --- a/ja/docs/http_controllers.md +++ b/ja/docs/http_controllers.md @@ -104,3 +104,5 @@ Responseにはカスタヘッダーを追加することができます。. カ 例えば、:auth_token は 'Auth-Token' に変換されます。ヘッダーは```Symbol``` または ```String``` で設定することが可能です。 ```:auth_token == 'Auth-Token' == 'auth-token' == 'Auth_Token'``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/if_binding.md b/ja/docs/if_binding.md index fafdb0e..131bece 100644 --- a/ja/docs/if_binding.md +++ b/ja/docs/if_binding.md @@ -33,3 +33,5 @@ unless もサポートしています。

render this when some_check?is false

{{ end }} ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/lib.md b/ja/docs/lib.md index ade2ea4..1637747 100644 --- a/ja/docs/lib.md +++ b/ja/docs/lib.md @@ -14,3 +14,5 @@ Gemfileに書かれたGemが自動的にVoltにrequireされることはあり ```ruby Bundler.setup ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/message_bus.md b/ja/docs/message_bus.md index ee66dac..0b1815d 100644 --- a/ja/docs/message_bus.md +++ b/ja/docs/message_bus.md @@ -17,3 +17,5 @@ Volt は、ある Volt クラスター (同一のデータベースに接続し ## カスタムメッセージバス ```lib/volt/message_bus/base_message_bus.rb``` に ```BaseMessageBus``` クラスを実装することで、独自のメッセージバスを用意することができます。それを ```config.message_bus.bus_name = 'name_of_class'``` として設定します。```name_of_class``` はクラス名をアンダースコア表記にしたものです。独自バスの実装に関する詳細は ```base_message_bus.rb``` を参照してください。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/middleware.md b/ja/docs/middleware.md index e0d4b4e..b5659d2 100644 --- a/ja/docs/middleware.md +++ b/ja/docs/middleware.md @@ -12,3 +12,5 @@ Volt.current_app.middleware.use(SomeMiddleware) - ```run``` (※ミドルウェアの順序を設定するためのメソッドが追加される予定です) + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/model_classes.md b/ja/docs/model_classes.md index 529e653..6d941a6 100644 --- a/ja/docs/model_classes.md +++ b/ja/docs/model_classes.md @@ -22,3 +22,5 @@ ``` これによって、コレクションにカスタムメソッドやバリデーションを設定することが可能です。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/model_state.md b/ja/docs/model_state.md index 02e0000..35ee07c 100644 --- a/ja/docs/model_state.md +++ b/ja/docs/model_state.md @@ -8,3 +8,5 @@ | loading | maybe | someone either accessed the data or bound an event | | loaded | yes | data is loaded and there is an event bound | | dirty | no | data was either accessed without binding an event, or an event was bound, but later unbound. | + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/model_states.md b/ja/docs/model_states.md index 05f57a9..3a21dc7 100644 --- a/ja/docs/model_states.md +++ b/ja/docs/model_states.md @@ -22,3 +22,5 @@ | dirty | データは読み込まれていますが、サーバーと同期されていません。この状態は、バインディングがデータをリアクティブにリッスンしていない場合や、データが何も発生させない場合に発生します | + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/models.md b/ja/docs/models.md index bba7c70..52d5f65 100644 --- a/ja/docs/models.md +++ b/ja/docs/models.md @@ -120,3 +120,5 @@ page._items.size page._items[0] # => "997e8a28c9675452ebcd5fa7", :name=>"Item 1"}> ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/nil_models.md b/ja/docs/nil_models.md index 0638ba5..b2da254 100644 --- a/ja/docs/nil_models.md +++ b/ja/docs/nil_models.md @@ -32,3 +32,5 @@ One gotcha with NilModels is that they are a truthy value (since only nil and fa Additionally, ```#and``` works the same way as ```&&```. ```#and``` と ```#or``` によって、NilModel も含めて、初期値の扱いを簡単にすることができます。 -- TODO: Document .true?/ .false? + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/permissions.md b/ja/docs/permissions.md index af800d1..07725e7 100644 --- a/ja/docs/permissions.md +++ b/ja/docs/permissions.md @@ -116,3 +116,5 @@ end パーミッションAPIによって、アプリケーションのデータに対して「誰が」「何を」できるのかをシンプルな方法で設定することが可能です。また、permissionsブロック内にはどんなロジックでも書くことができます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/provided_collections.md b/ja/docs/provided_collections.md index 1c28e01..e33a13e 100644 --- a/ja/docs/provided_collections.md +++ b/ja/docs/provided_collections.md @@ -13,3 +13,5 @@ | controller | 現在のコントローラーのためのモデルです。| **上記以外のストレージについても計画中です。** + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/provided_components.md b/ja/docs/provided_components.md index f435a73..0ba81de 100644 --- a/ja/docs/provided_components.md +++ b/ja/docs/provided_components.md @@ -21,3 +21,5 @@ flash._notices << "message to flash" ``` メッセージ5秒間表示された後に (画面からもコレクションからも) 消えます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/reactive_accessors.md b/ja/docs/reactive_accessors.md index 476b8f2..221986f 100644 --- a/ja/docs/reactive_accessors.md +++ b/ja/docs/reactive_accessors.md @@ -11,3 +11,5 @@ end ``` これで、```query``` をビューからバインドすることができます。while also changing in and out the model. query へのアクセスは追跡され、変更があった際には評価が実行されます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/rendering.md b/ja/docs/rendering.md index c096a34..35a5ea4 100644 --- a/ja/docs/rendering.md +++ b/ja/docs/rendering.md @@ -82,3 +82,5 @@ page._name = 'Jo' TODO: 依存関係についての説明を書く + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/routes.md b/ja/docs/routes.md index 77a6ab2..4fece4f 100644 --- a/ja/docs/routes.md +++ b/ja/docs/routes.md @@ -11,3 +11,5 @@ Clientルートは、アプリケーションの状態をシリアライズし ## HTTPルート HTTPルートは、(REST APIなどのような) HTTPでのアクセスをクライアントに提供するために利用されます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/routes_file.md b/ja/docs/routes_file.md index f89ad04..be90f55 100644 --- a/ja/docs/routes_file.md +++ b/ja/docs/routes_file.md @@ -53,3 +53,5 @@ delete "/api/todos/{{ id }}", controller: 'todos', action: 'destroy', safe: true 上記では、```id```/```controller```/```action```/```safe```パラメーターのハッシュとしてコントローラーに渡されます。 「method」をHTTP GETまたはPOSTパラメーターとして指定すれば、実際のHTTPメソッドを上書きすることも可能です。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/store_collections.md b/ja/docs/store_collections.md index b230752..258ad9e 100644 --- a/ja/docs/store_collections.md +++ b/ja/docs/store_collections.md @@ -95,3 +95,5 @@ store._items.size.sync + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/sub_collections.md b/ja/docs/sub_collections.md index 8cfd56b..b4ea325 100644 --- a/ja/docs/sub_collections.md +++ b/ja/docs/sub_collections.md @@ -37,3 +37,5 @@ montana._cities.create({name: 'Helena'}) store._states.create(montana) # => #> ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/tag_attributes.md b/ja/docs/tag_attributes.md index 02f52e8..ce9b1a2 100644 --- a/ja/docs/tag_attributes.md +++ b/ja/docs/tag_attributes.md @@ -32,3 +32,5 @@ {{ end }} ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/tags.md b/ja/docs/tags.md index b38614c..bc4ff43 100644 --- a/ja/docs/tags.md +++ b/ja/docs/tags.md @@ -19,3 +19,5 @@ タグはテンプレートと同様に読み込まれて、コントローラーを読み込み、(存在すれば) アクションメソッドを実行し、ビューをレンダリングします。そして、タグには属性を設定することも可能です。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/tasks.md b/ja/docs/tasks.md index 65b5ed5..fbff193 100644 --- a/ja/docs/tasks.md +++ b/ja/docs/tasks.md @@ -35,3 +35,5 @@ end.fail do |error| end ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/testing.md b/ja/docs/testing.md index 3679b1c..5770a5f 100644 --- a/ja/docs/testing.md +++ b/ja/docs/testing.md @@ -35,3 +35,5 @@ end 3. IE - coming soon Chrome は、ChromeDriver に関する[この問題](https://code.google.com/p/chromedriver/issues/detail?id=887#makechanges) が存在するため、サポートしていません。[このページ](https://code.google.com/p/chromedriver/issues/detail?id=887#makechanges)から、修正してくれるように chromedriver チームにアピールをお願いします! + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/url.md b/ja/docs/url.md index b683a61..194fdf6 100644 --- a/ja/docs/url.md +++ b/ja/docs/url.md @@ -10,3 +10,5 @@ Volt では、URL 情報にアクセスしたい場合、コントローラー - fragment それぞれのメソッドは url の変更にしたがってリアクティブに更新されます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/url_for_and_url_with.md b/ja/docs/url_for_and_url_with.md index dfffc69..5fcd29a 100644 --- a/ja/docs/url_for_and_url_with.md +++ b/ja/docs/url_for_and_url_with.md @@ -34,3 +34,5 @@ url_with(page: 5) ```html page 5 ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/users.md b/ja/docs/users.md index 3906907..3a0cd7f 100644 --- a/ja/docs/users.md +++ b/ja/docs/users.md @@ -104,3 +104,5 @@ module Main end ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/validations.md b/ja/docs/validations.md index 55eac31..87e88e4 100644 --- a/ja/docs/validations.md +++ b/ja/docs/validations.md @@ -97,3 +97,5 @@ end ## カスタムバリデーター TODO: Document custom validator classes + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/view_bindings.md b/ja/docs/view_bindings.md index 2ea34a3..141b4f3 100644 --- a/ja/docs/view_bindings.md +++ b/ja/docs/view_bindings.md @@ -60,3 +60,5 @@ | :body | index.html | comments | gems/blog | タグやビューのためのファイルが見つかれば、それにマッチするコントローラーを探します。もし、ビューのファイルがコントローラーに関連付けられていなければ、新しい ```ModelController``` が使われます。コントローラーが見つかって読み込まれると、それに対応する「アクション (action)」メソッドが (存在すれば) コントローラー上で実行されます。アクションメソッドのデフォルトは、(.htmlを除いた)ビューファイルの名称と同じです。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/views.md b/ja/docs/views.md index 37809bb..de02aac 100644 --- a/ja/docs/views.md +++ b/ja/docs/views.md @@ -21,3 +21,5 @@ Volt は MVC フレームワークと言うより、モデル - ビュー - ビ ビューにおけるすべてのメソッド呼び出しやインスタンス変数の探索は、上記した「コントローラー」のコンテキストで実行されます。 もしビューが ```app/main/views/index/index.html``` であるならば、```app/main/controller/index_controller.rb``` をコントローラーとして読み込みます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/volt_command.md b/ja/docs/volt_command.md index 1f08de1..24881a2 100644 --- a/ja/docs/volt_command.md +++ b/ja/docs/volt_command.md @@ -87,3 +87,5 @@ runnerは、Voltのenvironmentでコードを実行するため使用します ## drop_collection TODO:... + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/volt_helpers.md b/ja/docs/volt_helpers.md index aa5d7cb..d28eb87 100644 --- a/ja/docs/volt_helpers.md +++ b/ja/docs/volt_helpers.md @@ -30,3 +30,5 @@ Volt には、初めからいくつかのデフォルト構成が設定されて | db_host | 'localhost' | mongo のデータベースのためのホスト名です。| | db_port | 27017 | mongo のデータベースのためのポートです。| | compress_deflate | false | true の場合、アプリケーションサーバーで圧縮を行います。(ただ、これは本来は Nginx などに任せた方が良いでしょう)| + +で修正されましたt {{ file.mtime }} diff --git a/ja/docs/yield_binding.md b/ja/docs/yield_binding.md index 85778b2..9ef2af8 100644 --- a/ja/docs/yield_binding.md +++ b/ja/docs/yield_binding.md @@ -18,3 +18,5 @@ どんなコンテンツやバインディングでも、```tag```に渡すことが可能です。また、コンテンツをコンポーネントのタグに渡して、そのビューの中でyieldすることもできます。 もし、HTMLのコンテンツを単純に文字列として取得したい場合には、コントローラーで```yield_html```を実行してください。これは、必要に応じて```.watch!```を設定することが可能な文字列を返します。そして、コンテンツの更新にしたがって再度レンダリングされます。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/getting_help/README.md b/ja/getting_help/README.md index 7516a6f..53720c2 100644 --- a/ja/getting_help/README.md +++ b/ja/getting_help/README.md @@ -7,3 +7,5 @@ Volt はまだ開発中ですが、早期のフィードバックは大歓迎で - **バグを見つけたときには**: [github issues](https://github.com/voltrb/volt/issues) に投稿してください。 - **Volt への提案がある、こんな機能が欲しい**: [github issues](https://github.com/voltrb/volt/issues) に投稿してください。 - **Volt について議論したいときには**: [gitterのチャット](https://gitter.im/voltrb/volt) 通常、Volt チームが誰かがオンラインです。喜んで助けになります。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/getting_help/can_i_use_jquery_or_other_dom_manipulating_js.md b/ja/getting_help/can_i_use_jquery_or_other_dom_manipulating_js.md index fdfbf36..30eb5df 100644 --- a/ja/getting_help/can_i_use_jquery_or_other_dom_manipulating_js.md +++ b/ja/getting_help/can_i_use_jquery_or_other_dom_manipulating_js.md @@ -86,3 +86,5 @@ end ``` Opal では、ローカル変数は JS のローカル変数にコンパイルされます。したがって、```post``` に ```#container``` を実行して代入することができます。そうすれば、JS の内部で ```post``` 変数にアクセスすることが可能です。このように、jQuery にコンテナノードを渡し、それに対してメソッドを実行することが可能です。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/getting_help/can_i_use_opal_gems.md b/ja/getting_help/can_i_use_opal_gems.md index 8b50b31..3ff062e 100644 --- a/ja/getting_help/can_i_use_opal_gems.md +++ b/ja/getting_help/can_i_use_opal_gems.md @@ -15,3 +15,5 @@ if RUBY_PLATFORM == 'opal' require 'browser' end ``` + +で修正されましたt {{ file.mtime }} diff --git a/ja/getting_help/does_volt_support_haml,_slim,_etc.md b/ja/getting_help/does_volt_support_haml,_slim,_etc.md index bcc7478..2bf46c7 100644 --- a/ja/getting_help/does_volt_support_haml,_slim,_etc.md +++ b/ja/getting_help/does_volt_support_haml,_slim,_etc.md @@ -14,3 +14,5 @@ それは実現できないほど困難、というわけではありませんが、Haml や Slim の Gem はそのままでは Volt で使えるようには設計されていません。Volt のコンパイルされたテンプレートフォーマットにコンパイル可能なテンプレート言語はであればすべて利用することができます。その、コンパイルされたテンプレートフォーマットというのは Ruby のコードです (Opal 経由でクライアントにコンパイルされます)。それは HTML と バインディングから構成されています。HTML はプレースホルダー (現在、特殊なコメントとして実装) を持っており、バインディングがレンダリングされるべき場所を示しています。バインディングは Ruby の Proc であり、バインディングのインスタンスをセットアップします。(Volt::EachBinding, Volt::ContentBinding, Volt::AttributeBinding, Volt::IfBinding, and Volt::EventBinding) Haml や Slim をコンパイルするためには、Haml や Slim が (レンダリング済みの HTML ではなく) Volt のコンパイルされたテンプレートのフォーマットを生成するように改修する必要があります。もし興味がある方がいれば、ぜひ [gitter](https://gitter.im/voltrb/volt) で @ryanstout までお知らせください。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/getting_help/faq.md b/ja/getting_help/faq.md index 9f4780a..cc85060 100644 --- a/ja/getting_help/faq.md +++ b/ja/getting_help/faq.md @@ -2,3 +2,5 @@ * [どこで何が動いている?クライアント VS サーバー](what_runs_on_the_client_vs_server.md) * [jQuery やその他の DOM 操作の JS を使うことができますか?](can_i_use_jquery_or_other_dom_manipulating_js.md) + +で修正されましたt {{ file.mtime }} diff --git a/ja/getting_help/is_keeping_a_persistent_connection_open_a_performance_problem.md b/ja/getting_help/is_keeping_a_persistent_connection_open_a_performance_problem.md index 0dfb6d3..bbaf746 100644 --- a/ja/getting_help/is_keeping_a_persistent_connection_open_a_performance_problem.md +++ b/ja/getting_help/is_keeping_a_persistent_connection_open_a_performance_problem.md @@ -4,3 +4,5 @@ 上記がいくつかの疑問点に対して回答になれば、と思います。Volt が解決しなければならない困難な問題は多くありますが、コネクションの永続化は問題とはならないと考えています。これは、epoll と O(1) linux scheduler のおかげだと言えます。 - Ryan + +で修正されましたt {{ file.mtime }} diff --git a/ja/getting_help/what_browsers_does_volt_support.md b/ja/getting_help/what_browsers_does_volt_support.md index 26422c2..56a3ee2 100644 --- a/ja/getting_help/what_browsers_does_volt_support.md +++ b/ja/getting_help/what_browsers_does_volt_support.md @@ -8,3 +8,5 @@ Volt のいくつかの機能は、特定のブラウザのみでしか動作し 1)hidden フィールドのバインディング hidden フィールドにバインドするためには、ブラウザが mutation observer イベントをサポートしている必要があります。これは IE11 以降でのみサポートされています。IE8-10 をサポートするための polyfill が存在するので、Gem にバンドルする予定です。また改めてチェックしてもらえればと思います。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/getting_help/what_runs_on_the_client_vs_server.md b/ja/getting_help/what_runs_on_the_client_vs_server.md index 1d4d4c1..edd25d0 100644 --- a/ja/getting_help/what_runs_on_the_client_vs_server.md +++ b/ja/getting_help/what_runs_on_the_client_vs_server.md @@ -50,3 +50,5 @@ end 1)モデルのパーミションが設定され、それが、そのデータの参照や操作の際に求められる動作と合致するようにしてください。 2) 引数としてタスクに渡されるデータのバリデーションを行ってください。例えば、もしタスクからリモート API をリクエストする場合、URL 全体をクライアント側に渡さないようにしましょう。もしそうしてしまうと、いかなる URL にもヒットしてしまいます。もし全ての URL を渡す場合には、ヒットさせたい URL に合致するようなドメインのチェックなどを行うようにしてください。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/getting_help/whats_the_difference_between_volt_and_meteor.md b/ja/getting_help/whats_the_difference_between_volt_and_meteor.md index ba58247..27585ea 100644 --- a/ja/getting_help/whats_the_difference_between_volt_and_meteor.md +++ b/ja/getting_help/whats_the_difference_between_volt_and_meteor.md @@ -23,3 +23,5 @@ Meteor では、データベースを直接操作します (insert, create, etc. - Volt は VC から $11MM の融資を受けていません :-) さらに多くの違いはありますが、現時点で頭に入れておいてほしいものは以上です。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/getting_help/why_use_underscore_accessors_instead_of_[property].md b/ja/getting_help/why_use_underscore_accessors_instead_of_[property].md index 043d033..256b6a2 100644 --- a/ja/getting_help/why_use_underscore_accessors_instead_of_[property].md +++ b/ja/getting_help/why_use_underscore_accessors_instead_of_[property].md @@ -37,3 +37,5 @@ item[:name] # => nil これは動作自体には問題ないですが、可読性が悪く、混乱の原因になる可能性があると考えています。 _property という記法は Ruby では一般的ではありませんが、一度慣れてしまえば、多くのコードのタイピングや読解から解放されます。もしこれがあまり良い方法ではないとお考えであれば、[フィールド](/docs/models.md) を利用することも可能だということを覚えておいてください。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/introduction/README.md b/ja/introduction/README.md index f8de37b..a30c829 100644 --- a/ja/introduction/README.md +++ b/ja/introduction/README.md @@ -21,3 +21,5 @@ Voltの核となる機能の多くはすでに実装済みです。 しかし、 3. Voltからデータベースのインデックスを追加するためのマイグレーション 4. Mailer 5. サーバーサイドのHTMLプリレンダリング - サーバー側でまずページのレンダリングを行い、それから、クライアント側でRubyコードが読み込まれたら、コンパイルされたものと結合するようにする。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/tutorial/README.md b/ja/tutorial/README.md index fb2046d..f30888a 100644 --- a/ja/tutorial/README.md +++ b/ja/tutorial/README.md @@ -22,3 +22,5 @@ Voltのコンソールには以下でアクセスすることができます: bundle exec volt console + +で修正されましたt {{ file.mtime }} diff --git a/ja/tutorial/a_sample_app.md b/ja/tutorial/a_sample_app.md index cab8b74..323526e 100644 --- a/ja/tutorial/a_sample_app.md +++ b/ja/tutorial/a_sample_app.md @@ -20,3 +20,5 @@ cd todo_example ``` You'll notice that volt created a todo_example folder and + +で修正されましたt {{ file.mtime }} diff --git a/ja/tutorial/a_sample_todo_app.md b/ja/tutorial/a_sample_todo_app.md index c64c089..06843b7 100644 --- a/ja/tutorial/a_sample_todo_app.md +++ b/ja/tutorial/a_sample_todo_app.md @@ -116,3 +116,5 @@ end ここまでの内容を保存して再読込すれば、enter キーを押すことで Todo がリストに追加され、入力した内容はフォームから消える、という機能が実装されています。Volt はリアクティブで、かつ賢く動作します。リストが更新されるときには、その新しい要素の追加のみが行われ、その際に全てのリストを再描画することはありません。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/tutorial/testing.md b/ja/tutorial/testing.md index f00b526..977253b 100644 --- a/ja/tutorial/testing.md +++ b/ja/tutorial/testing.md @@ -1 +1,3 @@ # Testing + +で修正されましたt {{ file.mtime }} diff --git a/ja/tutorial/todo_functionality.md b/ja/tutorial/todo_functionality.md index 32e403e..fd0e6df 100644 --- a/ja/tutorial/todo_functionality.md +++ b/ja/tutorial/todo_functionality.md @@ -201,3 +201,5 @@ end ``` これまで見てきたように、Volt を使うと、大量のコードを書かなくても、こうしたインタラクティブな機能を実現することができます。そして、同期の仕組みによって、リアルタイム性を持った Web アプリケーションの開発を自然に行うことが可能になります。 + +で修正されましたt {{ file.mtime }} diff --git a/ja/why_volt/README.md b/ja/why_volt/README.md index 29efc48..0d69099 100644 --- a/ja/why_volt/README.md +++ b/ja/why_volt/README.md @@ -24,4 +24,5 @@ Volt は、これと同様の方法で Web の複雑性を減らすことを試 ### フルスタックのコンポーネント -ほとんどの Web スタックのアキレス腱と言えるのは、クライアントとサーバー間の標準が存在しないことです。Volt はこれを標準化します。再度言いますが、同一のコードがクライアントとサーバーで動作するのです。 \ No newline at end of file +ほとんどの Web スタックのアキレス腱と言えるのは、クライアントとサーバー間の標準が存在しないことです。Volt はこれを標準化します。再度言いますが、同一のコードがクライアントとサーバーで動作するのです。 +で修正されましたt {{ file.mtime }} From d7f0344a9ab99e0e55a12796acb6155c4ec34f20 Mon Sep 17 00:00:00 2001 From: Denny Mueller Date: Tue, 21 Jul 2015 23:26:00 +0200 Subject: [PATCH 3/3] remove snippets --- add.rb | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 add.rb diff --git a/add.rb b/add.rb deleted file mode 100644 index 5e2c778..0000000 --- a/add.rb +++ /dev/null @@ -1,12 +0,0 @@ -Dir.glob('en/**/*.md') do |file| - open(file, 'a') do |f| - f << "\nModified at {{ file.mtime }}\n" - end -end - -Dir.glob('ja/**/*.md') do |file| - open(file, 'a') do |f| - f << "\nで修正されましたt {{ file.mtime }}\n" - end -end -