Selaa lähdekoodia

no longer use require() when using dist/seed.js

Evan You 13 vuotta sitten
vanhempi
commit
829874eb5b
3 muutettua tiedostoa jossa 0 lisäystä ja 5 poistoa
  1. 0 2
      examples/nested_controllers.html
  2. 0 1
      examples/nested_props.html
  3. 0 2
      examples/simple.html

+ 0 - 2
examples/nested_controllers.html

@@ -29,8 +29,6 @@
     </div>
 
     <script>
-        var Seed = require('seed')
-
         Seed.controller('Grandpa', function (scope, seed) {
             scope.name = 'John'
         })

+ 0 - 1
examples/nested_props.html

@@ -13,7 +13,6 @@
         <button sd-on="click:two">two</button>
         <button sd-on="click:three">three</button>
         <script>
-            var Seed = require('seed')
             Seed.controller('test', function (scope) {
 
                 // set the data any way you want.

+ 0 - 2
examples/simple.html

@@ -12,8 +12,6 @@
         <input type="checkbox" sd-checked="checked">
         <span sd-text="hello | uppercase" sd-class="red:checked"></span>
         <script>
-            var Seed = require('seed')
-
             Seed.controller('hello', function (scope) {
                 scope.hello = {get:function () {
                     return scope.checked ? 'red!!!' : 'hello seed'