lib/popcorn: import pop_json when needed
authorAlexandre Terrasa <alexandre@moz-code.org>
Fri, 2 Jun 2017 14:32:55 +0000 (10:32 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Fri, 2 Jun 2017 14:32:55 +0000 (10:32 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

contrib/shibuqam/examples/shibuqamoauth.nit
lib/popcorn/examples/angular/example_angular.nit
lib/popcorn/pop_auth.nit
lib/popcorn/pop_repos.nit
lib/popcorn/pop_templates.nit
lib/popcorn/pop_tracker.nit
lib/popcorn/pop_validation.nit
src/web/web_base.nit

index 1aa33f9..326f0bf 100644 (file)
 module shibuqamoauth
 
 import popcorn
+import popcorn::pop_json
 import shibuqam
 import json
 
index 9212a8e..e229a8c 100644 (file)
@@ -15,6 +15,7 @@
 # limitations under the License.
 
 import popcorn
+import popcorn::pop_json
 
 class CounterAPI
        super Handler
index 8039ba9..2f84be7 100644 (file)
@@ -77,6 +77,7 @@
 # ~~~
 module pop_auth
 
+import pop_json
 import pop_sessions
 import github
 
index 3bdf2b0..2040c83 100644 (file)
@@ -37,6 +37,7 @@
 #
 # import popcorn
 # import popcorn::pop_repos
+# import popcorn::pop_json
 #
 # # Serializable book representation.
 # class Book
@@ -254,6 +255,7 @@ end
 # ~~~
 # import popcorn
 # import popcorn::pop_repos
+# import popcorn::pop_json
 #
 # # First, let's create a User abstraction:
 #
index f76c1e5..4aea76d 100644 (file)
@@ -83,6 +83,7 @@
 module pop_templates
 
 import popcorn::pop_handlers
+import popcorn::pop_json
 import template::macro
 
 redef class HttpResponse
index 048509e..9ecf5b7 100644 (file)
@@ -47,6 +47,7 @@ module pop_tracker
 import popcorn
 import popcorn::pop_config
 import popcorn::pop_logging
+import popcorn::pop_json
 import popcorn::pop_repos
 
 redef class AppConfig
index e95e517..ab92185 100644 (file)
@@ -24,6 +24,7 @@
 #
 # ~~~
 # import popcorn
+# import popcorn::pop_json
 # import serialization
 #
 # # Serializable book representation.
index 8062768..265cadf 100644 (file)
@@ -21,6 +21,7 @@ import doc_down
 import popcorn
 import popcorn::pop_config
 import popcorn::pop_repos
+import popcorn::pop_json
 
 # Nitweb config file.
 class NitwebConfig