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

This commit is contained in:
Evan You 2013-08-13 10:36:55 -04:00
parent 3c5464c0aa
commit 829874eb5b
3 changed files with 0 additions and 5 deletions

View File

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

View File

@ -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.

View File

@ -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'